You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey folks!, just observed a weird behaviour
I have a pod that has one main container as the application container and one init container which grants ownership to a specific directory.
I have a kyverno policy to use only verified images:
What is happening now is somehow the kyverno is sending the same image of init and main container grant-owner for both the init and main container as a result the new pod is not using the gateway image for main application instead it's using grant-owner.
The above scenario only happens less frequently.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey folks!, just observed a weird behaviour
I have a pod that has one main container as the application container and one init container which grants ownership to a specific directory.
I have a kyverno policy to use only verified images:
Cluster Policy
Init Image =
grant-owner
Main Image =
gateway
What is happening now is somehow the kyverno is sending the same image of init and main container grant-owner for both the init and main container as a result the new pod is not using the gateway image for main application instead it's using grant-owner.
The above scenario only happens less frequently.
Sharing logs of kyverno-notation for reference
Beta Was this translation helpful? Give feedback.
All reactions