Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Oct 18, 2024
1 parent 26b5ec7 commit 264a36d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/deploy/tls/certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func (c *CertificatesReconciler) syncCheCABundleCerts(ctx *chetypes.DeployContex
mergedCABundlesCM = deploy.GetConfigMapSpec(
ctx,
CheMergedCABundleCertsCMName,
map[string]string{"ca.crt": cheCABundlesExpectedContent},
map[string]string{kubernetesCABundleCertsFile: cheCABundlesExpectedContent},
defaults.GetCheFlavor(),
)

Expand All @@ -351,7 +351,6 @@ func (c *CertificatesReconciler) syncCheCABundleCerts(ctx *chetypes.DeployContex
mergedCABundlesCM.ObjectMeta.Labels[constants.KubernetesComponentLabelKey] = constants.WorkspacesConfig

// Set desired mount location
mergedCABundlesCM.Data = map[string]string{kubernetesCABundleCertsFile: cheCABundlesExpectedContent}
mergedCABundlesCM.ObjectMeta.Annotations["controller.devfile.io/mount-as"] = "subpath"
mergedCABundlesCM.ObjectMeta.Annotations["controller.devfile.io/mount-path"] = kubernetesCABundleCertsDir
}
Expand Down

0 comments on commit 264a36d

Please sign in to comment.