Closed sharipalik closed 4 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:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
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:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
Describe the solution you'd like My application has ENV variables which reference to kubernetes secrets and these kubernetes secret objects have few keys like this:
secret.yaml
:deployment.yaml
:Now I'm trying to implement secret-store-csi-driver and GCP Secret Manager approach:
test-dummy-secret
in GCP Secret Manager which contains data:Now I need to create
SecretProviderClass
which creates kubernetes secret with 2 keysusername
andpassword
from single secret in GCP Secret Manager. How can I implement this?This is my
SecretProviderClass
object:Pods are deployed and secrets been created. Great!
The problem is it creates kubernetes secret with key
username
which contains all context of GCPtest-dummy-secret
But I need to be able create single kubernetes secret with several keys from single GCP secret, rather then create a separate secret for each key. It's pretty hard to maintain when for each kubernetes secret key you have a separate secret in GCP secret managerI also read this PR and couldn't understand how you defined
objectName
there. I mean how you create 2 differentobjectName
from single file nameAs I understand, to create kubernetes secret with different key values it should be like this?
Thanks!
Environment:
kubectl version
):