mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
helm: Allow setting pod selector on etcd (#1569)
* helm: Allow setting pod selector on etcd Kubeadm uses different labels
This commit is contained in:
committed by
Giancarlo Rubio
parent
a9fbdd9fb3
commit
3f143e2da0
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Kubernetes
|
||||
name: exporter-kube-etcd
|
||||
version: 0.1.13
|
||||
version: 0.1.14
|
||||
maintainers:
|
||||
- name: Giancarlo Rubio
|
||||
email: gianrubio@gmail.com
|
||||
|
||||
@@ -18,6 +18,6 @@ spec:
|
||||
targetPort: {{ .Values.etcdPort }}
|
||||
{{- if .Values.endpoints }}{{- else }}
|
||||
selector:
|
||||
k8s-app: etcd-server
|
||||
{{ .Values.serviceSelectorLabelKey }}: {{ .Values.serviceSelectorLabelValue }}
|
||||
{{- end }}
|
||||
type: ClusterIP
|
||||
|
||||
@@ -4,6 +4,10 @@ etcdPort: 4001
|
||||
endpoints: []
|
||||
# Are we talking http or https?
|
||||
scheme: http
|
||||
# service selector label key to target kube etcd pods
|
||||
serviceSelectorLabelKey: k8s-app
|
||||
# service selector label value to target kube etcd pods
|
||||
serviceSelectorLabelValue: etcd-server
|
||||
# default rules are in templates/etcd3.rules.yaml
|
||||
# prometheusRules: {}
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ maintainers:
|
||||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.90
|
||||
version: 0.0.92
|
||||
|
||||
@@ -29,7 +29,7 @@ dependencies:
|
||||
condition: deployKubeDNS
|
||||
|
||||
- name: exporter-kube-etcd
|
||||
version: 0.1.13
|
||||
version: 0.1.14
|
||||
#e2e-repository: file://../exporter-kube-etcd
|
||||
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
|
||||
condition: deployKubeEtcd
|
||||
|
||||
Reference in New Issue
Block a user