yivan-atl
yivan-atl
Odds are that I am looking for smth like this https://github.com/open-policy-agent/gatekeeper/issues/1134 - dynamically fetch other objects metadata in mutation.
@sozercan thanks, that's exactly what I was looking for! I have tried it though, and the annotation is indeed inserted to pod's metadata but with an empty value. Any pointers...
@sozercan yes, it's openpolicyagent/gatekeeper:v3.7.0. Basically, I want owner: myself to show up in pod's annotations.
@sozercan thanks, got it. Not exactly what I need to achieve, but the annotation is empty anyway for some reason.
I'll close this one, as there's no bug here. It isn't possible to fetch namespace annotations, just name, which does not work well for my use case. Thanks for clarifications...
Reopening even though this isn't my original use case. However, it looks like a legitimate issue though.
Just to confirm, I tried multiple namespaces too. The annotation is indeed added but with an empty string instead of a value which should be namespace name./
I keep getting: ``` t=2019-09-25T13:09:51+0000 lvl=eror msg="Unable to load TLS certificate" logger=context userId=1 orgId=1 uname=admin error="tls: private key does not match public key" ``` though I used crt and key...
Hi @caleb-devops! You suggestion does make sense. It's a perfect first issue to contribute. Would you be interested in raising a PR for this?
> @bianchi2 the way I understand it is, updating the capabilities in this way doesn't actually give the agent these capabilities, all its doing is "advertising" the fact that the...