Skip to content

Commit d6a7614

Browse files
authored
Merge pull request #13 from etoensfeldt/feature/1.0.4/#317287
2 parents 3efd2f5 + 5a766ed commit d6a7614

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

charts/opc-router/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.3
18+
version: 1.0.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/opc-router/templates/deployment.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,13 @@ spec:
129129
{{- if .Values.project.projectRepo }}
130130
{{- if not .Values.project.autoUpdate.disable }}
131131
- name: kubernetes-proxy
132-
image: bitnami/kubectl:latest
132+
image: "{{ .Values.project.autoUpdate.kubectlImage.repository }}:{{ .Values.project.autoUpdate.kubectlImage.tag }}"
133+
imagePullPolicy: {{ .Values.project.autoUpdate.kubectlImage.pullPolicy }}
133134
# Script for setting ssh credentials and cloning the repository onto the volume
134135
command: ['sh', '-c', "kubectl proxy;"]
135136
- name: git-ops
136-
image: alpine/git:latest
137+
image: "{{ .Values.project.gitImage.repository }}:{{ .Values.project.gitImage.tag }}"
138+
imagePullPolicy: {{ .Values.project.gitImage.pullPolicy }}
137139
# Script for setting ssh credentials and cloning the repository onto the volume
138140
command: ["sh", "-c"]
139141
args:
@@ -152,7 +154,8 @@ spec:
152154
# Init container for pulling the project files
153155
initContainers:
154156
- name: pull-project
155-
image: alpine/git:latest
157+
image: "{{ .Values.project.gitImage.repository }}:{{ .Values.project.gitImage.tag }}"
158+
imagePullPolicy: {{ .Values.project.gitImage.pullPolicy }}
156159
# Script for setting ssh credentials and cloning the repository onto the volume
157160
command: ["sh", "-c"]
158161
args:

charts/opc-router/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,21 @@ project:
213213
projectPath:
214214
# Path to the projects configuration file. Optional. Not providing it results in no configuration file being loaded.
215215
configPath:
216+
# Settings for the used git image
217+
gitImage:
218+
repository: alpine/git
219+
pullPolicy: IfNotPresent
220+
tag: latest
216221
autoUpdate:
217222
# If false, the project will be automatically updated when it changes in the repository. Experimental.
218223
disable: true
219224
# Interval in seconds the git repository gets fetched to check for updates
220225
interval: 300
226+
# Settings for the used kubectl image
227+
kubectlImage:
228+
repository: bitnami/kubectl
229+
pullPolicy: IfNotPresent
230+
tag: latest
221231
auth:
222232
# An existing secret containing the ssh-key under the key 'ssh-privatekey'. Optional.
223233
# Must be in the same namespace as this application. Takes priority over ssh_key.

0 commit comments

Comments
 (0)