Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ic-mgriehm opened this issue Feb 23, 2024 · 7 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@ic-mgriehm
Copy link

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:

  • Secrets Store CSI Driver version: (use the image tag):
    • mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v2.8.0
    • mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v1.3.4-1
    • mcr.microsoft.com/oss/kubernetes-csi/livenessprobe:v2.10.0
  • Kubernetes version: (use kubectl version): 1.28.3
@ic-mgriehm ic-mgriehm added the kind/bug Categorizes issue or PR as related to a bug. label Feb 23, 2024
@aramase
Copy link
Member

aramase commented Feb 23, 2024

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
Copy link
Author

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

@aramase
Copy link
Member

aramase commented Mar 12, 2024

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
Copy link

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

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

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 13, 2024
@k8s-triage-robot
Copy link

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

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

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 13, 2024
@aramase
Copy link
Member

aramase commented Jul 25, 2024

/close

Closing this issue due to insufficient information. Feel free to reopen with #1449 (comment).

@k8s-ci-robot
Copy link
Contributor

@aramase: Closing this issue.

In response to this:

/close

Closing this issue due to insufficient information. Feel free to reopen with #1449 (comment).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants