mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/patroni] Update SCOPE value to fix patroni selector issue (#12154)
* Update SCOPE value to fix patroni selector issue Signed-off-by: Thomas Boni <thomas.boni@mines-ales.org> * chart version bump Signed-off-by: Thomas Boni <thomas.boni@pikcio.com> * use fullname everywhere Signed-off-by: Thomas Boni <thomas.boni@mines-ales.org> * update minor version instead of patch Signed-off-by: Thomas Boni <thomas.boni@pikcio.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
190473252c
commit
050e4abe3e
@@ -1,6 +1,6 @@
|
||||
name: patroni
|
||||
description: 'Highly available elephant herd: HA PostgreSQL cluster.'
|
||||
version: 0.11.1
|
||||
version: 0.12.0
|
||||
appVersion: 1.4-p16
|
||||
home: https://github.com/zalando/patroni
|
||||
sources:
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: Endpoints
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
@@ -4,7 +4,7 @@ kind: Role
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
@@ -4,7 +4,7 @@ kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: Secret
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
@@ -4,7 +4,7 @@ kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "patroni.serviceAccountName" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: StatefulSet
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
@@ -12,13 +12,13 @@ spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
template:
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
serviceAccountName: {{ template "patroni.serviceAccountName" . }}
|
||||
@@ -46,7 +46,7 @@ spec:
|
||||
- name: DCS_ENABLE_KUBERNETES_API
|
||||
value: "true"
|
||||
- name: KUBERNETES_LABELS
|
||||
value: {{ (printf "{ \"app\": \"%s\", \"release\": \"%s\" }" (include "patroni.name" .) .Release.Name) | quote }}
|
||||
value: {{ (printf "{ \"app\": \"%s\", \"release\": \"%s\" }" (include "patroni.fullname" .) .Release.Name) | quote }}
|
||||
- name: KUBERNETES_SCOPE_LABEL
|
||||
value: "app"
|
||||
{{- end }}
|
||||
@@ -167,7 +167,7 @@ spec:
|
||||
{{ toYaml .Values.persistentVolume.annotations | indent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: Service
|
||||
metadata:
|
||||
name: {{ template "patroni.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "patroni.name" . }}
|
||||
app: {{ template "patroni.fullname" . }}
|
||||
chart: {{ template "patroni.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
|
||||
Reference in New Issue
Block a user