Open
Description
Question
Is there a way to disable the policy-controller's rewriting of top level objects' image
tags to specific digests? For instance if I have the image: docker.io/mlbiam/openuison-operator:0.0.2
in a CronJob
, the Pod
gets image: index.docker.io/mlbiam/openunison-kubernetes-operator@sha256:a4af44351bfcf7fe1cfd05a9711f560127f6522508f89fd797e64d8a296d2159
, which makes sense. The CronJob
also gets this image though. Is there a way to disable this behavior?
While I understand that goal of pinning the specific hash, it means that my GitOps controller is no longer the source of truth for my configuration (and could create a "thrashing" scenario where my controller and what is in cluster are constantly out of sync).