Skip to content

Commit 04383f6

Browse files
committed
fix: node kerberos cache volume name
Using the linux.krb5CacheDirectory helm option doesn't work due to an invalid volume name: spec.volumes[0].name: Invalid value: "krb5Cache-dir": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')
1 parent 6f27d54 commit 04383f6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
0 Bytes
Binary file not shown.

charts/latest/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ spec:
147147
{{- if ne .Values.linux.krb5CacheDirectory "" }}
148148
- mountPath: {{ .Values.linux.kubelet }}/kerberos/
149149
mountPropagation: Bidirectional
150-
name: krb5Cache-dir
150+
name: krb5cache-dir
151151
{{- end }}
152152
resources: {{- toYaml .Values.linux.resources.smb | nindent 12 }}
153153
volumes:
@@ -167,6 +167,6 @@ spec:
167167
- hostPath:
168168
path: {{ .Values.linux.krb5CacheDirectory }}
169169
type: DirectoryOrCreate
170-
name: krb5Cache-dir
170+
name: krb5cache-dir
171171
{{- end }}
172172
{{- end -}}
4 Bytes
Binary file not shown.

charts/v1.14.0/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ spec:
147147
{{- if ne .Values.linux.krb5CacheDirectory "" }}
148148
- mountPath: {{ .Values.linux.kubelet }}/kerberos/
149149
mountPropagation: Bidirectional
150-
name: krb5Cache-dir
150+
name: krb5cache-dir
151151
{{- end }}
152152
resources: {{- toYaml .Values.linux.resources.smb | nindent 12 }}
153153
volumes:
@@ -167,6 +167,6 @@ spec:
167167
- hostPath:
168168
path: {{ .Values.linux.krb5CacheDirectory }}
169169
type: DirectoryOrCreate
170-
name: krb5Cache-dir
170+
name: krb5cache-dir
171171
{{- end }}
172172
{{- end -}}
1 Byte
Binary file not shown.

charts/v1.15.0/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ spec:
147147
{{- if ne .Values.linux.krb5CacheDirectory "" }}
148148
- mountPath: {{ .Values.linux.kubelet }}/kerberos/
149149
mountPropagation: Bidirectional
150-
name: krb5Cache-dir
150+
name: krb5cache-dir
151151
{{- end }}
152152
resources: {{- toYaml .Values.linux.resources.smb | nindent 12 }}
153153
volumes:
@@ -167,6 +167,6 @@ spec:
167167
- hostPath:
168168
path: {{ .Values.linux.krb5CacheDirectory }}
169169
type: DirectoryOrCreate
170-
name: krb5Cache-dir
170+
name: krb5cache-dir
171171
{{- end }}
172172
{{- end -}}

0 commit comments

Comments
 (0)