ClusterSecret
ClusterSecret copied to clipboard
Immutable ClusterSecrets
Support ClusterSecrets that create immutable Secrets.
This might require extra CustomResourceDefinition support for controlling field-level mutability; I haven't checked.
This is not so far on the roadmap. But I'll leave the issue open to count upvotes. If its widely requested, we can discuss how to implement this :)
Support ClusterSecrets that create immutable Secrets.
This might require extra CustomResourceDefinition support for controlling field-level mutability; I haven't checked.
I find this to be an interesting proposal but I would like to clarify the scope of this. Some topics that may be in-scope of this proposal.
- all data fields of the ClusterSecrets can blanket set to immutable.
- all data fields of the ClusterSecrets can be individually set to immutable.
- matchNamespace and avoidNamespace fields are not immutable on ClusterSecrets with immutable data fields.
- matchNamespace and avoidNamespace fields are immutable on ClusterSecrets with immutable data fields.
- matchNamespace and avoidNamespace fields need to be explicitly set as immutable on ClusterSecrets.
- secrets created by ClusterSecrets via the operator, if changed directly by someone will be corrected/reverted.
As I said, interesting proposal, I would love to hear any thoughts about the above points.