Inject default annotation(s) #67
Unanswered
asimpleidea
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking of a default annotation(s) injection feature that would run whenever the operator identifies a new service. This could help users avoid a lot of repetitive tasks, especially on a service mesh.
This is just a stub idea, please feel free to provide comments/feedback:
1a) you annotate a namespace as this:
1b) This could even be a operator-settings level, like:
Although I would prefer to tag namespaces directly for this, because a change would be detected immediately by the operator and for just that namespace and "feels like" directly modifying the namespace this way; while with
1b)
we would need to have a controller forConfigMaps
and have to parse it again to see what changed.Lastly, I prefer to have namespace-scoped default annotations because I like that granularity, but nothing prevents us from just having a global
defaultAnnotations
to be inject on all watch-enabled namespaces.Beta Was this translation helpful? Give feedback.
All reactions