25 lines
837 B
YAML
25 lines
837 B
YAML
apiVersion: apps/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: postgres-operator
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: postgres-operator
|
|
spec:
|
|
serviceAccountName: zalando-postgres-operator
|
|
containers:
|
|
- name: postgres-operator
|
|
image: registry.opensource.zalan.do/acid/smoke-tested-postgres-operator:v1.0.0-21-ge39915c
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
# provided additional ENV vars can overwrite individual config map entries
|
|
- name: CONFIG_MAP_NAME
|
|
value: "postgres-operator"
|
|
# In order to use the CRD OperatorConfiguration instead, uncomment these lines and comment out the two lines above
|
|
# - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT
|
|
# value: postgresql-operator-default-configuration
|
|
|