File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
charts/openstack-cloud-controller-manager Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Openstack Cloud Controller Manager Helm Chart
44icon : https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
55home : https://github.com/kubernetes/cloud-provider-openstack
66name : openstack-cloud-controller-manager
7- version : 2.28.0-alpha.4
7+ version : 2.28.0-alpha.5
88maintainers :
99 - name : eumel8
1010
Original file line number Diff line number Diff line change @@ -66,10 +66,14 @@ spec:
6666 name : http
6767 protocol : TCP
6868 {{- end }}
69+ {{- if or (.Values.extraVolumeMounts) (.Values.secret.enabled) }}
6970 volumeMounts :
71+ {{- end }}
72+ {{- if .Values.secret.enabled }}
7073 - mountPath : /etc/config
7174 name : cloud-config-volume
7275 readOnly : true
76+ {{- end }}
7377 {{- if .Values.extraVolumeMounts }}
7478 {{- toYaml .Values.extraVolumeMounts | nindent 12 }}
7579 {{- end }}
@@ -97,10 +101,15 @@ spec:
97101 {{- if .Values.priorityClassName }}
98102 priorityClassName : {{ .Values.priorityClassName }}
99103 {{- end }}
104+
105+ {{- if or (.Values.extraVolumes) (.Values.secret.enabled) }}
100106 volumes :
107+ {{- end }}
108+ {{- if .Values.secret.enabled }}
101109 - name : cloud-config-volume
102110 secret :
103111 secretName : {{ .Values.secret.name }}
112+ {{- end }}
104113 {{- if .Values.extraVolumes }}
105114 {{ toYaml .Values.extraVolumes | nindent 6 }}
106115 {{- end }}
Original file line number Diff line number Diff line change 1- {{- if .Values.secret.create }}
1+ {{- if and ( .Values.secret.create) (.Values.secret.enabled) }}
22apiVersion : v1
33kind : Secret
44metadata :
Original file line number Diff line number Diff line change @@ -81,7 +81,11 @@ serviceMonitor: {}
8181# Create a secret resource cloud-config (or other name) to store credentials and settings from cloudConfig
8282# You can also provide your own secret (not created by the Helm chart), in this case set create to false
8383# and adjust the name of the secret as necessary
84+ # If you dont want to use a secret (because you are using something like an agent injector to inject the cloud config file)
85+ # you can disable the secret usage by setting enabled to false.
86+ # If you disable the secret, you have to insert the cloud config file into the path /etc/cloud/config.
8487secret :
88+ enabled : true
8589 create : true
8690 name : cloud-config
8791
You can’t perform that action at this time.
0 commit comments