Skip to content

Commit

Permalink
Make image registry configurable
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Stone <zach@giantswarm.io>
  • Loading branch information
stone-z committed Sep 16, 2021
1 parent 8bdb284 commit 304e163
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
automountServiceAccountToken: true
containers:
- name: "kyverno-plugin"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.securityContext }}
securityContext:
Expand Down
1 change: 1 addition & 0 deletions charts/policy-reporter/charts/kyvernoPlugin/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
image:
registry: docker.io
repository: fjogeleit/policy-reporter-kyverno-plugin
pullPolicy: IfNotPresent
tag: 0.3.2
Expand Down
2 changes: 1 addition & 1 deletion charts/policy-reporter/charts/ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
automountServiceAccountToken: true
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.securityContext }}
securityContext:
Expand Down
1 change: 1 addition & 0 deletions charts/policy-reporter/charts/ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins:
kyverno: false

image:
registry: docker.io
repository: fjogeleit/policy-reporter-ui
pullPolicy: IfNotPresent
tag: 0.14.0
Expand Down
2 changes: 1 addition & 1 deletion charts/policy-reporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
automountServiceAccountToken: true
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.securityContext }}
securityContext:
Expand Down
1 change: 1 addition & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
image:
registry: docker.io
repository: fjogeleit/policy-reporter
pullPolicy: IfNotPresent
tag: 1.8.6
Expand Down

0 comments on commit 304e163

Please sign in to comment.