Skip to content

Commit

Permalink
fix(base-cluster/kyverno): configure missing registry for kyverno ima…
Browse files Browse the repository at this point in the history
…ges (#811)
  • Loading branch information
cwrau authored Mar 5, 2024
1 parent 584d2c8 commit 83c44f5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions charts/base-cluster/templates/kyverno/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,26 @@ spec:
{{- if .Values.global.imageRegistry }}
global:
registry: {{ .Values.global.imageRegistry }}
{{- else }}
test:
image: &defaultImage
registry: docker.io
policyReportsCleanup:
image: *defaultImage
cleanupJobs:
admissionReports:
image: *defaultImage
clusterAdmissionReports:
image: *defaultImage
{{- end }}
installCRDs: true
networkPolicy:
enabled: false
webhooksCleanup:
enable: true
{{- if not .Values.global.imageRegistry }}
image: *defaultImage
{{- end }}
serviceMonitor:
enabled: {{ .Values.monitoring.prometheus.enabled }}
additionalLabels: {{- .Values.monitoring.labels | toYaml | nindent 8 }}
Expand Down

0 comments on commit 83c44f5

Please sign in to comment.