-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Extend secrets docs with key to path mapping and automatic updates #478
Extend secrets docs with key to path mapping and automatic updates #478
Conversation
… mounted secrets. Secret volume plugin has been refactored. Currently, AtomicWritter is used to project all keys. Allowing to automatically refresh projected secrets.
This PR depends on kubernetes/kubernetes#25285. Once #25285 gets merged, the describe functionality will be available. |
@@ -214,6 +214,52 @@ You can package many files into one secret, or use many secrets, whichever is co | |||
|
|||
See another example of creating a secret and a pod that consumes that secret in a volume [here](/docs/user-guide/secrets/). | |||
|
|||
##### Projection of secret keys to specific paths |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think level-5 headings are not really a thing on the site. :) Reduce to 4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are already level-5 headings on the site. At the same time, this part must go under "Using Secrets as Files from a Pod" which is level-4 heading already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about to change all level-5 headings into bold heading?
@ingvagabund #25285 looks like a 1.3-bound piece of functionality now; If you like, I can leave this open until such time as #25285 is merged or you can open this same PR against the release-1.3 branch and we can merge that PR right away. Upon 1.3 release time, release-1.3 will be promoted to master. |
This should be merged before before master promotion. Let's solve the level-5 heading problem first. Then, I will open the PR for release-1.3. Updated. PTAL. |
@johndmulhausen the PR in kube is merged; can we merge this? This is a significant source of questions from users. |
@johndmulhausen PR for |
@pmorie @ingvagabund -- Is this documenting release-1.3 functionality? Should it currently be considered Tech Review LGTM? |
@johndmulhausen yes it is, yes it should. |
Thanks, @ingvagabund ! |
If the install scripts rely on awk, they malfunction when run on a device with a limited environment where awk is not available. This patch replaces the use of awk with cut, which is expected to be more ubiquitous than awk (and as a bonus also more lightweight on footprint, execution time and command line length). Change-Id: I035bf20cb891402677d0a8fbd49ca6fcd099341d Signed-off-by: Joakim Roubert <joakimr@axis.com>
* docs(pt-br): add content/pt-br/devops.md
* docs(pt-br): add content/pt-br/devops.md
* Update CODEOWNERS in dev-pt to sync with main * Settings and initial contents for Portuguese localization (kubernetes#343) * docs: add configs and index to content/pt * docs: add contribute and style guide to content/pt * docs: add more translated content and update index.md * doc: add i18n/pt.toml * doc: change configs to use pt-br instead of pt * docs: add style-guide in pt-br * docs: small typos in pt-br * docs: small contribute in ptbr * docs: fix markdown at style-guide Co-authored-by: Seokho Son <shsongist@gmail.com> * docs: fix weight to pt-br config Co-authored-by: Seokho Son <shsongist@gmail.com> * docs: remove i18n/pt.toml Co-authored-by: Seokho Son <shsongist@gmail.com> * Update CODEOWNDERS for dev-pt * Add content/pt-br/application_programming_interface.md (kubernetes#437) * Add content/pt-br/application_programming_interface.md Signed-off-by: Jéssica Lins <jessicaalins@gmail.com> * Add content/pt-br/blue_green_deployment.md (kubernetes#436) * Add content/pt-br/blue_green_deployment.md Signed-off-by: Jéssica Lins <jessicaalins@gmail.com> * adding client_server_architecture localization (kubernetes#480) * Add content/pt-br/bare_metal_machine.md (kubernetes#493) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Add content/pt-br/devops.md (kubernetes#478) * docs(pt-br): add content/pt-br/devops.md * Add content/pt-br/containerization.md (kubernetes#487) * docs: add containerization.md localization to ptbr * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> Co-authored-by: Jéssica Lins <jlins@redhat.com> * Add content/pt-br/cluster.md (kubernetes#486) * docs: add cluster.md localization to ptbr * docs: add cluster.md localization to ptbr * Apply suggested reviews Co-authored-by: Jéssica Lins <jlins@redhat.com> Co-authored-by: Jéssica Lins <jlins@redhat.com> * Add content/pt-br/container.md (kubernetes#485) * docs: add container.md localization to ptbr * feat: improve some sentences * Add content/pt-br/cloud_native_apps.md (kubernetes#596) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add content/pt-br/cloud_native_apps.md * Add content/pt-br/container-image.md (kubernetes#557) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Add container-image.md * Remove bare_metal_machine.md * Change from registros do contêiner to repositório de imagens * api gateway localization (kubernetes#479) * Add content/pt-br/cloud_native_security.md (kubernetes#643) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Traduzido cloud_native_security * Add content/pt-br/canary_deployment.md (kubernetes#595) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add canary_deployment.md * Add content/pt-br/continuous_delivery.md (kubernetes#558) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add continuous_delivery.md * Add content/pt-br/contributor-ladder (kubernetes#662) * feat: start localization to contributor ladder * feat: add contributor ladder * docs: add more translation to contributor ladder * feat: add more translation to contributor ladder * feat: add more translation to contributor ladder * fix: fix small typos * Apply suggestions from code review Co-authored-by: Jéssica Lins <jlins@redhat.com> * feat: apply suggestions by code review * feat: change "." to ";" Co-authored-by: Jéssica Lins <jlins@redhat.com> * feat: change style guide to how to contribute and style guide (kubernetes#663) * Add content/pt-br/continuous_integration.md (kubernetes#594) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add continuous_integration.md * Sentence structure adjustment * [pt-BR] Add contributors names (kubernetes#671) * feat: add contributors * feat: add ptbr contributors * [pt-BR] Update config.toml (kubernetes#677) * feat: update config.toml with main * Settings and initial contents for Portuguese localization (kubernetes#343) * docs: add configs and index to content/pt * docs: add contribute and style guide to content/pt * docs: add more translated content and update index.md * doc: add i18n/pt.toml * doc: change configs to use pt-br instead of pt * docs: add style-guide in pt-br * docs: small typos in pt-br * docs: small contribute in ptbr * docs: fix markdown at style-guide Co-authored-by: Seokho Son <shsongist@gmail.com> * docs: fix weight to pt-br config Co-authored-by: Seokho Son <shsongist@gmail.com> * docs: remove i18n/pt.toml Co-authored-by: Seokho Son <shsongist@gmail.com> * Add content/pt-br/application_programming_interface.md (kubernetes#437) * Add content/pt-br/application_programming_interface.md Signed-off-by: Jéssica Lins <jessicaalins@gmail.com> * Add content/pt-br/blue_green_deployment.md (kubernetes#436) * Add content/pt-br/blue_green_deployment.md Signed-off-by: Jéssica Lins <jessicaalins@gmail.com> * adding client_server_architecture localization (kubernetes#480) * Add content/pt-br/bare_metal_machine.md (kubernetes#493) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Add content/pt-br/devops.md (kubernetes#478) * docs(pt-br): add content/pt-br/devops.md * Add content/pt-br/containerization.md (kubernetes#487) * docs: add containerization.md localization to ptbr * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> * Update content/pt-br/containerization.md Co-authored-by: Jéssica Lins <jlins@redhat.com> Co-authored-by: Jéssica Lins <jlins@redhat.com> * Add content/pt-br/cluster.md (kubernetes#486) * docs: add cluster.md localization to ptbr * docs: add cluster.md localization to ptbr * Apply suggested reviews Co-authored-by: Jéssica Lins <jlins@redhat.com> Co-authored-by: Jéssica Lins <jlins@redhat.com> * Add content/pt-br/container.md (kubernetes#485) * docs: add container.md localization to ptbr * feat: improve some sentences * Add content/pt-br/cloud_native_apps.md (kubernetes#596) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add content/pt-br/cloud_native_apps.md * Add content/pt-br/container-image.md (kubernetes#557) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Add container-image.md * Remove bare_metal_machine.md * Change from registros do contêiner to repositório de imagens * api gateway localization (kubernetes#479) * Add content/pt-br/cloud_native_security.md (kubernetes#643) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Traduzido cloud_native_security * Add content/pt-br/canary_deployment.md (kubernetes#595) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add canary_deployment.md * Add content/pt-br/continuous_delivery.md (kubernetes#558) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add continuous_delivery.md * Add content/pt-br/contributor-ladder (kubernetes#662) * feat: start localization to contributor ladder * feat: add contributor ladder * docs: add more translation to contributor ladder * feat: add more translation to contributor ladder * feat: add more translation to contributor ladder * fix: fix small typos * Apply suggestions from code review Co-authored-by: Jéssica Lins <jlins@redhat.com> * feat: apply suggestions by code review * feat: change "." to ";" Co-authored-by: Jéssica Lins <jlins@redhat.com> * feat: change style guide to how to contribute and style guide (kubernetes#663) * Add content/pt-br/continuous_integration.md (kubernetes#594) * Add content/pt-br/bare_metal_machine.md * Add content/pt-br/container-image.md * Update content/pt-br/bare_metal_machine.md * Remove container-image.md * Traduzido título * Remove bare_metal_machine.md * Add continuous_integration.md * Sentence structure adjustment * [pt-BR] Add contributors names (kubernetes#671) * feat: add contributors * feat: add ptbr contributors * [pt-BR] Update config.toml (kubernetes#677) * feat: update config.toml with main * feat: translate feedback section in ptbr Co-authored-by: Seokho Son <shsongist@gmail.com> Co-authored-by: Jéssica Lins <jlins@redhat.com> Co-authored-by: Willian dos Santos <will.santos92@gmail.com> Co-authored-by: Mr. Erlison <98214640+MrErlison@users.noreply.github.com> Co-authored-by: Marcelo Mansur <mansur.ufmg@gmail.com>
Secret volume plugin has been refactored. Currently, AtomicWritter is used to project all keys.
Allowing to automatically refresh projected secrets.
At the same time, operator can specify target file for each secret and thus override the default projection location.