Skip to content

Commit

Permalink
Make OperatorConfiguration work (#410)
Browse files Browse the repository at this point in the history
* Fixes # 404
  • Loading branch information
jens-totemic authored and sdudoladov committed Nov 13, 2018
1 parent e39915c commit f25351c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/operator-service-account-rbac.yaml
Expand Up @@ -14,6 +14,7 @@ rules:
- acid.zalan.do
resources:
- postgresqls
- operatorconfigurations
verbs:
- "*"
- apiGroups:
Expand Down
6 changes: 5 additions & 1 deletion manifests/postgres-operator.yaml
Expand Up @@ -12,9 +12,13 @@ spec:
serviceAccountName: zalando-postgres-operator
containers:
- name: postgres-operator
image: registry.opensource.zalan.do/acid/postgres-operator:v1.0.0
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

0 comments on commit f25351c

Please sign in to comment.