Using secrets from keyvault without synchronizing with kubernetes secrets (disruption after AKS 1.20.9 upgrade) #641
-
After upgrading to AKS 1.20.9 secrets are not created anymore, it used to work before the upgrade, but now it doesn't. However, I don't mind not sync-ing to k8s secrets, I just want to reference it somehow directly. The secret is mounted successfully in my pod, if i launch the command line to pod, I can see it under /mnt/secrets-store/mysecret. Maybe like that somehow? containers:
If I am using standard form:
then the deployment fails, error: secret doesn't exist, if I create a kubernetes secret manually it is working fine. Please suggest how to reference secrets from a mounted volume without creating kubernetes secret. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
the problem was the flag in the helm chart: sssuka... |
Beta Was this translation helpful? Give feedback.
the problem was the flag in the helm chart:
syncSecret:
enabled: false
sssuka...