diff --git a/.github/trusted_registries.yaml b/.github/trusted_registries.yaml index 0a2c12aeb..69ca8b694 100644 --- a/.github/trusted_registries.yaml +++ b/.github/trusted_registries.yaml @@ -10,6 +10,8 @@ registries: cp-kafka: ALL_TAGS curlimages: curl: ALL_TAGS + emberstack: + kubernetes-reflector: ALL_TAGS fluxcd: ALL_IMAGES grafana: ALL_IMAGES hjacobs: diff --git a/charts/base-cluster/templates/global/reflector.yaml b/charts/base-cluster/templates/global/reflector.yaml index 418f0d6b7..69dab8312 100644 --- a/charts/base-cluster/templates/global/reflector.yaml +++ b/charts/base-cluster/templates/global/reflector.yaml @@ -14,10 +14,8 @@ spec: mode: enabled values: priorityClassName: cluster-components - {{- if .Values.global.imageRegistry }} image: - repository: {{ printf "%s/emberstack/kubernetes-reflector" $.Values.global.imageRegistry }} - {{- end }} + repository: {{ printf "%s/emberstack/kubernetes-reflector" ($.Values.global.imageRegistry | default (include "base-cluster.defaultRegistry" (dict))) }} securityContext: privileged: false allowPrivilegeEscalation: false