philpep / imago

Ensure kubernetes pods run on latest images builds from the docker registry
Apache License 2.0
95 stars 13 forks source link

Remove security_context after restart #47

Open elyasADK opened 1 year ago

elyasADK commented 1 year ago

imago remove security_context { seccomp_profile { type = "RuntimeDefault" } } when it restarted pods!!

philpep commented 9 months ago

Hi, you used imago with -update right ? This should not occur with -restart because in this mode imago doesn't touch the manifest.

I think the issue is probably related to an old version of kubernetes api / client used in imago 1.6, can you try if just released imago 1.7 still have this issue ? Thanks!