Kubernetes Secret is not being generate #810
-
Hi, We have installed the CSI driver and followed the steps to create the SecretProviderClass with secretObjects to create the kubernetes secret for the certificate, however, the kubernetes secret is not getting generated even after deploying the pod. The mounted path has the certificate as expected though. Attaching the various files below used in the deployment, can you please help us where we are going wrong: apiVersion: secrets-store.csi.x-k8s.io/v1 secretName: aks-ingress-tl
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello 👋🏻
To check the driver and provider logs, refer to our troubleshooting guide. If the error in driver is similar to this, then you need to enable the sync secret feature as part of the helm installation. Here is more info on the helm value required for sync secret to work: https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/configurations/sync-with-k8s-secrets/#how-to-sync-mounted-content-with-kubernetes-secret |
Beta Was this translation helpful? Give feedback.
Hello 👋🏻
secrets-store-csi-driver.syncSecret.enabled=true
?To check the driver and provider logs, refer to our troubleshooting guide. If the error in driver is similar to this, then you need to enable the sync secret feature as part of the helm installation. Here is more info on the helm value required for sync secret to work: https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/configurations/sync-with-k8s-secrets/#how-to-sync-mounted-content-with-kubernetes-secret