Closed khteh closed 2 years ago
apiVersion: kubegres.reactive-tech.io/v1 kind: Kubegres metadata: name: postgresql namespace: default spec: replicas: 2 image: postgres:latest database: size: 200Mi env: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: name: postgresql-secret key: superUserPassword - name: POSTGRES_REPLICATION_PASSWORD valueFrom: secretKeyRef: name: postgresql-secret key: replicationUserPassword
$ kubectl apply -f postgresql.yml kubegres.kubegres.reactive-tech.io/postgresql unchanged
I suspect this happens because you are using Kubernetes 1.25.
Kubegres 1.16 is compatible with Kubernetes 1.25: https://github.com/reactive-tech/kubegres/releases/tag/v1.16