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
10 changes: 8 additions & 2 deletions charts/prometheus-openstack-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,21 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
volumeMounts:
- name: openstack-config
mountPath: /etc/openstack
- name: openstack-config
mountPath: /etc/openstack
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 8 }}
{{- end }}
ports:
- name: metrics
containerPort: 9180
volumes:
- name: openstack-config
secret:
secretName: openstack-config
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 6 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{ toYaml . | indent 8 }}
Expand Down
15 changes: 15 additions & 0 deletions charts/prometheus-openstack-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ serviceMonitor:
#commonLabels:
# prometheus.io/monitor: "true"

# Add extra volumes mounted to openstack-exporter deployment
# Useful for mounting CA Certificates
#extraVolumes:
#- name: company-ca
# configMap:
# name: my-company-ca
# items:
# - key: ca
# path: my-company-ca
#
#extraVolumeMounts:
#- mountPath: /etc/ssl/certs/my-company-ca
# name: company-ca
# subPath: my-company-ca

# Generate a secret for clouds.yaml
# Doc: https://github.com/openstack-exporter/openstack-exporter#openstack-configuration
clouds_yaml_config: |
Expand Down