kubernetes-sigs / secrets-store-csi-driver

Secrets Store CSI driver for Kubernetes secrets - Integrates secrets stores with Kubernetes via a CSI volume.
https://secrets-store-csi-driver.sigs.k8s.io/
Apache License 2.0
1.21k stars 280 forks source link

When trying to deploy multiple instances of SecretProviderClass to the same Namespace only one gets deployed and the Pod Deployment Fails #1449

Open ic-mgriehm opened 4 months ago

ic-mgriehm commented 4 months ago

What steps did you take and what happened: When trying to deploy multiple instances of SecretProviderClass to the same Namespace only one gets deployed and the Pod Deployment Fails

What did you expect to happen: Both SecretProviderClasses get created, mounted to Pod, and the Pod can pull in Secrets from Each KeyVault as Environment variables in the Pod.

Anything else you would like to add: The Pod tries to deploy but a Failure Event is reported that one of the SecretProviderClasses cannot be found and when we use kubectl to list the SecretProviderClasses in the Namespace only one appears, and normally it is the second one listed in the Kubernetes Manifest.

Which provider are you using: Azure Key Vault

Environment:

aramase commented 4 months ago

When trying to deploy multiple instances of SecretProviderClass to the same Namespace only one gets deployed and the Pod Deployment Fails

What does multiple instances of SecretProviderClass here mean? Are you deploying 2 instances with the same name in the namespace?

ic-mgriehm commented 4 months ago

@aramase 2 instances with different names in the same namespace.

aramase commented 4 months ago

When trying to deploy multiple instances of SecretProviderClass to the same Namespace only one gets deployed and the Pod Deployment Fails

The issue description doesn't provide clear information about the error. Please provide example manifests and repro steps.

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale