-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Incorrect example manifest for Pod with secretRef
#48644
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The 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. |
@shafiquer76
|
/retitle Incorrect example manifest for Pod with |
secretRef
Page reported in issue (based on initial title): https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/ |
It appears that the current example is functioning as intended based on #48644 (comment) /priority awaiting-more-evidence |
@shafiquer76, you should create the secret first using kubectl.
|
I tried the code form the page but it didnt work.
Please change this below for pod definition to use the secretRef like this
envFrom:
- secretRef:
name: db-secret
There is an issue on the definition file. the '- secretRef: ' to be moved one tab
The text was updated successfully, but these errors were encountered: