Unverified Commit 12ff4c85 authored by Jonathan S. Katz's avatar Jonathan S. Katz
Browse files

Add Kustomize based installer

parent 20a5bc3c
Loading
Loading
Loading
Loading
+3795 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
resources:
- bases/postgres-operator.crunchydata.com_postgresclusters.yaml
+14 −0
Original line number Diff line number Diff line
namespace: postgres-operator

commonLabels:
  postgres-operator.crunchydata.com/control-plane: postgres-operator

bases:
- crd
- rbac/cluster
- manager

images:
- name: postgres-operator
  newName: us.gcr.io/container-suite/postgres-operator
  newTag: ubi8-5.0.0-alpha.3-0
+2 −0
Original line number Diff line number Diff line
resources:
- manager.yaml
+23 −0
Original line number Diff line number Diff line
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: postgres-operator
spec:
  replicas: 1
  template:
    spec:
      containers:
      - name: operator
        image: postgres-operator
        env:
        - name: CRUNCHY_DEBUG
          value: "true"
        - name: PGO_DISABLE_PGCLUSTER
          value: "true"
        - name: CRUNCHY_POSTGRES_OPERATOR_NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
      serviceAccount: postgres-operator
Loading