Secret documentation references unimplemented feature #26378
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
language/en
Issues or PRs related to English language
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
This is a Bug Report
Problem: It appears as if the Secret documentation references a feature that isn't currently implemented. Specifically, it includes the following:
Prior to #26027 this was accompanied by the text:
However, PodPresets have been dropped from Kubernetes.
Accordingly, this section should reference a different mechanism to achieve the same goal if such a mechanism exists. If it doesn't it should be dropped.
From my research, it looks like no such alternate mechanism exists. In another previous revision of that section, the section read:
kubernetes/kubernetes#9902 states that PodPresets should be used for secret automounting. It does not mention other options. It also does not imply that ServiceAccounts are relevant. It seems like the ServiceAccount association was an unimplemented or reconsidered proposal back around 2015-2017.
Proposed Solution: Unless a mechanism exists which associates Secrets with ServiceAccounts for the purpose of automounting Secrets in Pods associated with a specific ServiceAccount, this section should be dropped. If such a mechanism does exist, the section should be updated to reflect its use or refer to other docs that do.
Page to Update:
https://kubernetes.io/docs/concepts/configuration/secret/#automatic-mounting-of-manually-created-secrets
The text was updated successfully, but these errors were encountered: