File tree 2 files changed +23
-2
lines changed
charts/prometheus-openstack-exporter
2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 32
32
{{- . | toYaml | nindent 8 }}
33
33
{{- end }}
34
34
volumeMounts :
35
- - name : openstack-config
36
- mountPath : /etc/openstack
35
+ - name : openstack-config
36
+ mountPath : /etc/openstack
37
+ {{- if .Values.extraVolumeMounts }}
38
+ {{- toYaml .Values.extraVolumeMounts | nindent 8 }}
39
+ {{- end }}
37
40
ports :
38
41
- name : metrics
39
42
containerPort : 9180
46
49
- name : openstack-config
47
50
secret :
48
51
secretName : openstack-config
52
+ {{- if .Values.extraVolumes }}
53
+ {{- toYaml .Values.extraVolumes | nindent 6 }}
54
+ {{- end }}
49
55
{{- with .Values.hostAliases }}
50
56
hostAliases :
51
57
{{ toYaml . | indent 8 }}
Original file line number Diff line number Diff line change @@ -50,6 +50,21 @@ multicloud:
50
50
# commonLabels:
51
51
# prometheus.io/monitor: "true"
52
52
53
+ # Add extra volumes mounted to openstack-exporter deployment
54
+ # Useful for mounting CA Certificates
55
+ # extraVolumes:
56
+ # - name: company-ca
57
+ # configMap:
58
+ # name: my-company-ca
59
+ # items:
60
+ # - key: ca
61
+ # path: my-company-ca
62
+ #
63
+ # extraVolumeMounts:
64
+ # - mountPath: /etc/ssl/certs/my-company-ca
65
+ # name: company-ca
66
+ # subPath: my-company-ca
67
+
53
68
# Generate a secret for clouds.yaml
54
69
# Doc: https://github.com/openstack-exporter/openstack-exporter#openstack-configuration
55
70
clouds_yaml_config : |
You can’t perform that action at this time.
0 commit comments