Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final case class ConfigureExecution(c: Configure, client: KubeClient, logger: Cl
c.aggregatedConfig,
currentCr,
logbackContent,
() => client.getPvcs(namespace = currentCr.spec.appId))
() => client.getPvcs(namespace = namespace))

// streamlets configurations
streamletsConfigs <- streamletsConfigs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ final case class DeployExecution(d: Deploy, client: KubeClient, logger: CliLogge
applicationCr <- updateVolumeMounts(
applicationCrReplicas,
d.volumeMounts,
() => client.getPvcs(namespace = applicationCrReplicas.spec.appId))
() => client.getPvcs(namespace = namespace))

image <- getImageReference(applicationCr)

Expand All @@ -182,7 +182,7 @@ final case class DeployExecution(d: Deploy, client: KubeClient, logger: CliLogge
d.aggregatedConfig,
applicationCr,
logbackContent,
() => client.getPvcs(namespace = applicationCr.spec.appId))
() => client.getPvcs(namespace = namespace))

// validation of the CR
_ <- applicationDescriptorValidation(applicationCr)
Expand All @@ -196,7 +196,7 @@ final case class DeployExecution(d: Deploy, client: KubeClient, logger: CliLogge
// validate the Cr against the cluster
_ <- referencedKafkaSecretExists(
applicationCr,
() => client.getKafkaClusters(namespace = Some(applicationCr.spec.appId)).map(_.keys.toList))
() => client.getKafkaClusters(namespace = Some(namespace)).map(_.keys.toList))

// streamlets configurations
streamletsConfigs <- streamletsConfigs(applicationCr, cloudflowConfig, d.microservices, () => {
Expand Down