File tree 2 files changed +23
-6
lines changed
2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 54
54
volumeMounts :
55
55
- mountPath : /etc/kubernetes
56
56
name : k8s
57
+ {{- with .Values.volumeMounts}}
58
+ {{- toYaml . | nindent 12 }}
59
+ {{- end}}
57
60
env :
58
61
- name : LINODE_API_TOKEN
59
62
valueFrom :
@@ -65,10 +68,13 @@ spec:
65
68
secretKeyRef :
66
69
name : {{ if .Values.secretRef }}{{ .Values.secretRef.name | default "ccm-linode" }}{{ else }}"ccm-linode"{{ end }}
67
70
key : {{ if .Values.secretRef }}{{ .Values.secretRef.regionRef | default "region" }}{{ else }}"region"{{ end }}
68
- {{if .Values.env}}
69
- {{- toYaml .Values.env | nindent 12 }}
70
- {{end}}
71
+ {{- with .Values.env}}
72
+ {{- toYaml . | nindent 12 }}
73
+ {{- end}}
71
74
volumes :
72
75
- name : k8s
73
76
hostPath :
74
77
path : /etc/kubernetes
78
+ {{- with .Values.volumes}}
79
+ {{- toYaml . | nindent 8 }}
80
+ {{- end}}
Original file line number Diff line number Diff line change @@ -58,6 +58,17 @@ tolerations:
58
58
# This section adds the ability to pass environment variables to adjust CCM defaults
59
59
# https://github.com/linode/linode-cloud-controller-manager/blob/master/cloud/linode/loadbalancers.go
60
60
# LINODE_HOSTNAME_ONLY_INGRESS type bool is supported
61
- # env:
62
- # - name: EXAMPLE_ENV_VAR
63
- # value: "true"
61
+ env :
62
+ # - name: EXAMPLE_ENV_VAR
63
+ # value: "true"
64
+
65
+ # This section adds the ability to pass volumes to the CCM DaemonSet
66
+ volumes :
67
+ # - name: test-volume
68
+ # emptyDir:
69
+ # sizeLimit: 500Mi
70
+
71
+ # this section adds the ability to pass volumeMounts to the CCM container
72
+ volumeMounts :
73
+ # - mountPath: /tmp/
74
+ # name: test-volume
You can’t perform that action at this time.
0 commit comments