Skip to content

Commit

Permalink
fix(base-cluster/reflector): pin image to registry and add image to t…
Browse files Browse the repository at this point in the history
…rusted_registries (#1090)
  • Loading branch information
cwrau authored Aug 12, 2024
1 parent 1269af1 commit 754c8b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/trusted_registries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions charts/base-cluster/templates/global/reflector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 754c8b8

Please sign in to comment.