You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Or use a password file like in the below supersuser password
57
+
- name: STKEEPER_PG_REPL_PASSWORD
58
+
value: "replpassword"
59
+
- name: STKEEPER_PG_SU_USERNAME
60
+
value: "stolon"
61
+
- name: STKEEPER_PG_SU_PASSWORDFILE
62
+
value: "/etc/secrets/stolon/password"
63
+
- name: STKEEPER_METRICS_LISTEN_ADDRESS
64
+
value: "0.0.0.0:8080"
65
+
# Uncomment this to enable debug logs
66
+
#- name: STKEEPER_DEBUG
67
+
# value: "true"
68
+
ports:
69
+
- containerPort: 5432
70
+
- containerPort: 8080
71
+
volumeMounts:
72
+
- mountPath: /stolon-data
73
+
name: data
74
+
- mountPath: /etc/secrets/stolon
75
+
name: stolon
72
76
volumes:
73
77
- name: stolon
74
78
secret:
75
79
secretName: stolon
76
80
# Define your own volumeClaimTemplate. This example uses dynamic PV provisioning with a storage class named "standard" (so it will works by default with minikube)
77
81
# In production you should use your own defined storage-class and configure your persistent volumes (statically or dynamically using a provisioner, see related k8s doc).
78
82
volumeClaimTemplates:
79
-
- metadata:
80
-
name: data
81
-
annotations:
82
-
volume.alpha.kubernetes.io/storage-class: standard
83
-
spec:
84
-
accessModes: ["ReadWriteOnce"]
85
-
resources:
86
-
requests:
87
-
storage: 512Mi
83
+
- metadata:
84
+
name: data
85
+
annotations:
86
+
volume.alpha.kubernetes.io/storage-class: standard
0 commit comments