Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deploy/charts/csi-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,14 @@ Optional additional annotations to add to the csi-driver pods.
> ```

Optional additional labels to add to the csi-driver pods.
#### **automountServiceAccountToken** ~ `bool`
> Default value:
> ```yaml
> true
> ```

Automounting API credentials for the csi-driver pod.

#### **resources** ~ `object`
> Default value:
> ```yaml
Expand Down
3 changes: 3 additions & 0 deletions deploy/charts/csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "cert-manager-csi-driver.name" . }}
{{- if hasKey .Values "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
8 changes: 8 additions & 0 deletions deploy/charts/csi-driver/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"app": {
"$ref": "#/$defs/helm-values.app"
},
"automountServiceAccountToken": {
"$ref": "#/$defs/helm-values.automountServiceAccountToken"
},
"commonLabels": {
"$ref": "#/$defs/helm-values.commonLabels"
},
Expand Down Expand Up @@ -176,6 +179,11 @@
"description": "Verbosity of cert-manager-csi-driver logging.",
"type": "number"
},
"helm-values.automountServiceAccountToken": {
"default": true,
"description": "Automounting API credentials for the csi-driver pod.",
"type": "boolean"
},
"helm-values.commonLabels": {
"default": {},
"description": "Labels to apply to all resources.",
Expand Down
4 changes: 4 additions & 0 deletions deploy/charts/csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ podAnnotations: {}
# Optional additional labels to add to the csi-driver pods.
podLabels: {}

# Automounting API credentials for the csi-driver pod.
# +docs:property
automountServiceAccountToken: true

# Kubernetes pod resources requests/limits for cert-manager-csi-driver.
#
# For example:
Expand Down