Fix space issue in volume mount (#17087)

Update spacing issue in deployment, fixed README, and updated values to have a better example.

Signed-off-by: James Ritter <jamesritter15@gmail.com>
This commit is contained in:
James Ritter
2019-09-11 18:58:23 -07:00
committed by Kubernetes Prow Robot
parent 4a8d788986
commit 08fc376647
4 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: elasticsearch-exporter
version: 1.10.0
version: 1.10.1
appVersion: 1.1.0
home: https://github.com/justwatchcom/elasticsearch_exporter
sources:
+1 -1
View File
@@ -73,7 +73,7 @@ Parameter | Description | Default
`es.ssl.enabled` | If true, a secure connection to Elasticsearch cluster is used | `false`
`es.ssl.useExistingSecrets` | If true, certs from secretMounts will be used | `false`
`es.ssl.ca.pem` | PEM that contains trusted CAs used for setting up secure Elasticsearch connection |
`es.ssl.ca.pemPath` | Path of ca pem file which should match a secretMount path |
`es.ssl.ca.path` | Path of ca pem file which should match a secretMount path |
`es.ssl.client.pem` | PEM that contains the client cert to connect to Elasticsearch |
`es.ssl.client.pemPath` | Path of client pem file which should match a secretMount path |
`es.ssl.client.key` | Private key for client auth when connecting to Elasticsearch |
@@ -147,6 +147,6 @@ spec:
{{- end }}
{{- range .Values.secretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
secret:
secretName: {{ .secretName }}
{{- end }}
+4 -10
View File
@@ -56,15 +56,9 @@ service:
# A list of secrets and their paths to mount inside the pod
# This is useful for mounting certificates for security
secretMounts: []
# - name: ca
# secretName: elastic-ca
# path: /ssl/ca.pem
# - name: elastic-client-pem
# secretName: elastic-client-pem
# path: /ssl/client.pem
# - name: elastic-client-key
# secretName: elastic-client-key
# path: /ssl/client.key
# - name: elastic-certs
# secretName: elastic-certs
# path: /ssl
es:
## Address (host and port) of the Elasticsearch node we should connect to.
@@ -121,7 +115,7 @@ es:
# pem:
# Path of ca pem file which should match a secretMount path
# pemPath: /ssl/ca.pem
# path: /ssl/ca.pem
client:
## PEM that contains the client cert to connect to Elasticsearch.