feat(charts): allow auto workflows to set own posixuid#1364
Conversation
7f729f9 to
4309ce9
Compare
4309ce9 to
89bb3c6
Compare
|
Could be worth adding a validating rule that rejects workflows that carry a machine-uid label unless submitted by a trusted Service account? maybe the events metacontroller? |
|
@TBThomas56 I like that idea. The fact that we create the |
Yep! That makes sense! |
|
Yes, I agree with Thomas's suggestion. Also with James plan of splitting it into small incremental PRs. 👍 |
AP-1110
I had to remove the pipe expressions from the JMESPath in the policy - they don't seem to work with the || operator. Possibly a kyverno bug, as they seem to behave as one would expect in the JMESPath tutorial/playground.
If
identity-mapperchanges related to AP-1140 are merged in before this, then that policy will need updating instead in a similar way to howworkflow-label-clusterpolicyis here e.g.