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
4
4
icon : https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
5
5
home : https://github.com/kubernetes/cloud-provider-openstack
6
6
name : openstack-cloud-controller-manager
7
- version : 2.28.0-alpha.4
7
+ version : 2.28.0-alpha.5
8
8
maintainers :
9
9
- name : eumel8
10
10
Original file line number Diff line number Diff line change @@ -66,10 +66,14 @@ spec:
66
66
name : http
67
67
protocol : TCP
68
68
{{- end }}
69
+ {{- if or (.Values.extraVolumeMounts) (.Values.secret.enabled) }}
69
70
volumeMounts :
71
+ {{- end }}
72
+ {{- if .Values.secret.enabled }}
70
73
- mountPath : /etc/config
71
74
name : cloud-config-volume
72
75
readOnly : true
76
+ {{- end }}
73
77
{{- if .Values.extraVolumeMounts }}
74
78
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
75
79
{{- end }}
@@ -97,10 +101,15 @@ spec:
97
101
{{- if .Values.priorityClassName }}
98
102
priorityClassName : {{ .Values.priorityClassName }}
99
103
{{- end }}
104
+
105
+ {{- if or (.Values.extraVolumes) (.Values.secret.enabled) }}
100
106
volumes :
107
+ {{- end }}
108
+ {{- if .Values.secret.enabled }}
101
109
- name : cloud-config-volume
102
110
secret :
103
111
secretName : {{ .Values.secret.name }}
112
+ {{- end }}
104
113
{{- if .Values.extraVolumes }}
105
114
{{ toYaml .Values.extraVolumes | nindent 6 }}
106
115
{{- 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) }}
2
2
apiVersion : v1
3
3
kind : Secret
4
4
metadata :
Original file line number Diff line number Diff line change @@ -81,7 +81,11 @@ serviceMonitor: {}
81
81
# Create a secret resource cloud-config (or other name) to store credentials and settings from cloudConfig
82
82
# You can also provide your own secret (not created by the Helm chart), in this case set create to false
83
83
# 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.
84
87
secret :
88
+ enabled : true
85
89
create : true
86
90
name : cloud-config
87
91
You can’t perform that action at this time.
0 commit comments