Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

update patroni to the latest version #104

Merged
merged 4 commits into from
Oct 14, 2016
Merged
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
2 changes: 1 addition & 1 deletion incubator/patroni/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: patroni
description: "Highly available elephant herd: HA PostgreSQL cluster."
version: 0.1.0
version: 0.1.1
home: https://github.com/zalando/patroni
sources:
- https://github.com/zalando/patroni
Expand Down
2 changes: 1 addition & 1 deletion incubator/patroni/charts/etcd/templates/etcd-petset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
"helm.sh/created": {{.Release.Time.Seconds | quote }}
spec:
serviceName: "{{ printf "%s-%s" .Release.Name .Values.Name | trunc 24 }}"
replicas: {{default 3 .Values.Replicas | quote }}
replicas: {{default 3 .Values.Replicas }}
template:
metadata:
name: "{{ printf "%s-%s" .Release.Name .Values.Name | trunc 24 }}"
Expand Down
2 changes: 1 addition & 1 deletion incubator/patroni/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ To connect to your database:
# login as superuser
kubectl run -i --tty --rm psql --image=postgres \
--env "PGPASSWORD=$PGPASSWORD_SUPERUSER" \
--command -- psql -U superuser \
--command -- psql -U postgres \
-h {{ template "fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local postgres
4 changes: 2 additions & 2 deletions incubator/patroni/templates/ps-patroni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
"helm.sh/created": {{ .Release.Time.Seconds | quote }}
spec:
serviceName: {{ template "fullname" . }}
replicas: {{default 5 .Values.Replicas | quote }}
replicas: {{default 5 .Values.Replicas }}
template:
metadata:
name: {{ template "fullname" . }}
Expand All @@ -27,7 +27,7 @@ spec:
spec:
containers:
- name: spilo
image: {{ .Values.Spilo.Image }}:{{ .Values.Spilo.Version }}
image: "{{ .Values.Spilo.Image }}:{{ .Values.Spilo.Version }}"
env:
- name: PGPASSWORD_SUPERUSER
valueFrom:
Expand Down
4 changes: 2 additions & 2 deletions incubator/patroni/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: patroni
Namespace: default # TODO: make this actually configurable
Namespace: default

Component: patroni
ImagePullPolicy: IfNotPresent
Expand All @@ -8,7 +8,7 @@ ImagePullPolicy: IfNotPresent
Spilo:
# this image was built from https://github.com/zalando/spilo/tree/master/postgres-appliance
Image: registry.opensource.zalan.do/acid/spilo-9.5
Version: 1.0-p5
Version: 1.1-p5

# How many postgres containers to spawn
Replicas: 5
Expand Down