add openshift customizations, templates, and test (#871)

- It modifies the Dockerfile and entrypoint slightly to allow for OpenShift SCCs to operate correctly
- It adds 2 template examples that can be easily modified by changing parameters

Fixes #572
This commit is contained in:
Shea Stewart
2018-11-21 18:01:39 +01:00
committed by Alexander Kukushkin
parent 8c7e1892ee
commit 6519a192b1
9 changed files with 704 additions and 71 deletions
+2
View File
@@ -36,6 +36,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: PATRONI_KUBERNETES_USE_ENDPOINTS
value: 'true'
- name: PATRONI_KUBERNETES_LABELS
value: '{application: patroni, cluster-name: patronidemo}'
- name: PATRONI_SUPERUSER_USERNAME