Skip to content

Commit 1b85d6b

Browse files
committed
parent 97a187e
author Annegies van 't Zand <ace.vtzand@gmail.com> 1595940905 +0200 committer Annegies van 't Zand <ace.vtzand@gmail.com> 1596521061 +0200 Make all images configurable in order to use private registries fix references Rename livenessProbeImage and add to configuration table Apply changes in the manifest_staging Add fields to configuration Make private registries possible Make all images configurable in order to use private registries rename register Make all images configurable in order to use private registries
1 parent 97a187e commit 1b85d6b

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

manifest_staging/charts/secrets-store-csi-driver/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ The following table lists the configurable parameters of the csi-secrets-store-p
3131
| `linux.nodeSelector` | Node Selector for the daemonset on linux nodes | `{}` |
3232
| `linux.tolerations` | Tolerations for the daemonset on linux nodes | `[]` |
3333
| `linux.metricsAddr` | The address the metric endpoint binds to | `:8080` |
34+
| `linux.registrarImage.repository` | Linux node-driver-registrar image repository | `quay.io/k8scsi/csi-node-driver-registrar` |
35+
| `linux.registrarImage.pullPolicy` | Linux node-driver-registrar image pull policy | `Always` |
36+
| `linux.registrarImage.tag` | Linux node-driver-registrar image tag | `v1.2.0` |
37+
| `linux.livenessProbeImage.repository` | Linux liveness-probe image repository | `quay.io/k8scsi/livenessprobe` |
38+
| `linux.livenessProbeImage.pullPolicy` | Linux liveness-probe image pull policy | `Always` |
39+
| `linux.livenessProbeImage.tag` | Linux liveness-probe image tag | `v2.0.0` |
3440
| `windows.image.repository` | Windows image repository | `us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver` |
3541
| `windows.image.pullPolicy` | Windows image pull policy | `IfNotPresent` |
3642
| `windows.image.tag` | Windows image tag | `v0.0.12` |
@@ -39,6 +45,12 @@ The following table lists the configurable parameters of the csi-secrets-store-p
3945
| `windows.nodeSelector` | Node Selector for the daemonset on windows nodes | `{}` |
4046
| `windows.tolerations` | Tolerations for the daemonset on windows nodes | `[]` |
4147
| `windows.metricsAddr` | The address the metric endpoint binds to | `:8080` |
48+
| `windows.registrarImage.repository` | Windows node-driver-registrar image repository | `mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar` |
49+
| `windows.registrarImage.pullPolicy` | Windows node-driver-registrar image pull policy | `Always` |
50+
| `windows.registrarImage.tag` | Windows node-driver-registrar image tag | `v1.2.1-alpha.1-windows-1809-amd64` |
51+
| `windows.livenessProbeImage.repository` | Windows liveness-probe image repository | `mcr.microsoft.com/oss/kubernetes-csi/livenessprobe` |
52+
| `windows.livenessProbeImage.pullPolicy` | Windows liveness-probe image pull policy | `Always` |
53+
| `windows.livenessProbeImage.tag` | Windows liveness-probe image tag | `v2.0.1-alpha.1-windows-1809-amd64` |
4254
| `logLevel.debug` | Enable debug logging | true |
4355
| `livenessProbe.port` | Liveness probe port | `9808` |
4456
| `livenessProbe.logLevel` | Liveness probe container logging verbosity level | `2` |

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
serviceAccountName: secrets-store-csi-driver
1717
containers:
1818
- name: node-driver-registrar
19-
image: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v1.2.1-alpha.1-windows-1809-amd64
19+
image: "{{ .Values.windows.registrarImage.repository }}:{{ .Values.windows.registrarImage.tag }}"
2020
args:
2121
- --v=5
2222
- "--csi-address=unix://C:\\csi\\csi.sock"
@@ -36,7 +36,7 @@ spec:
3636
fieldRef:
3737
apiVersion: v1
3838
fieldPath: spec.nodeName
39-
imagePullPolicy: Always
39+
imagePullPolicy: {{ .Values.windows.registrarImage.pullPolicy }}
4040
volumeMounts:
4141
- name: plugin-dir
4242
mountPath: C:\csi
@@ -88,8 +88,8 @@ spec:
8888
mountPath: C:\k\secrets-store-csi-providers
8989
{{- if semverCompare ">= v0.0.9-0" .Values.windows.image.tag }}
9090
- name: liveness-probe
91-
image: mcr.microsoft.com/oss/kubernetes-csi/livenessprobe:v2.0.1-alpha.1-windows-1809-amd64
92-
imagePullPolicy: Always
91+
image: "{{ .Values.windows.livenessProbeImage.repository }}:{{ .Values.windows.livenessProbeImage.tag }}"
92+
imagePullPolicy: {{ .Values.windows.livenessProbeImage.pullPolicy }}
9393
args:
9494
- "--csi-address=unix://C:\\csi\\csi.sock"
9595
- --probe-timeout=3s

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
dnsPolicy: ClusterFirstWithHostNet
1919
containers:
2020
- name: node-driver-registrar
21-
image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
21+
image: "{{ .Values.linux.registrarImage.repository }}:{{ .Values.linux.registrarImage.tag }}"
2222
args:
2323
- --v=5
2424
- --csi-address=/csi/csi.sock
@@ -38,7 +38,7 @@ spec:
3838
fieldRef:
3939
apiVersion: v1
4040
fieldPath: spec.nodeName
41-
imagePullPolicy: Always
41+
imagePullPolicy: {{ .Values.linux.registrarImage.pullPolicy }}
4242
volumeMounts:
4343
- name: plugin-dir
4444
mountPath: /csi
@@ -90,8 +90,8 @@ spec:
9090
mountPath: /etc/kubernetes/secrets-store-csi-providers
9191
{{- if semverCompare ">= v0.0.8-0" .Values.linux.image.tag }}
9292
- name: liveness-probe
93-
image: quay.io/k8scsi/livenessprobe:v2.0.0
94-
imagePullPolicy: Always
93+
image: "{{ .Values.linux.livenessProbeImage.repository }}:{{ .Values.linux.livenessProbeImage.tag }}"
94+
imagePullPolicy: {{ .Values.linux.livenessProbeImage.pullPolicy }}
9595
args:
9696
- --csi-address=/csi/csi.sock
9797
- --probe-timeout=3s

manifest_staging/charts/secrets-store-csi-driver/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ linux:
44
repository: us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver
55
tag: v0.0.12
66
pullPolicy: Always
7+
registrarImage:
8+
repository: quay.io/k8scsi/csi-node-driver-registrar
9+
tag: v1.2.0
10+
pullPolicy: Always
11+
livenessProbeImage:
12+
repository: quay.io/k8scsi/livenessprobe
13+
tag: v2.0.0
14+
pullPolicy: Always
715
kubeletRootDir: /var/lib/kubelet
816
nodeSelector: {}
917
tolerations: []
@@ -15,6 +23,14 @@ windows:
1523
repository: us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver
1624
tag: v0.0.12
1725
pullPolicy: IfNotPresent
26+
registrarImage:
27+
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar
28+
tag: v1.2.1-alpha.1-windows-1809-amd64
29+
pullPolicy: Always
30+
livenessProbeImage:
31+
repository: mcr.microsoft.com/oss/kubernetes-csi/livenessprobe
32+
tag: v2.0.1-alpha.1-windows-1809-amd64
33+
pullPolicy: Always
1834
kubeletRootDir: C:\var\lib\kubelet
1935
nodeSelector: {}
2036
tolerations: []

0 commit comments

Comments
 (0)