Skip to content

Cannot create resource "secrets" #1489

@captainjapeng

Description

@captainjapeng

Describe the bug
postgres-operator service account is unable to create secrets
Running pgo create cluster -n pgouser1 postgres after following the installation guide (kubectl apply -f operator.yml)

To Reproduce
Steps to reproduce the behavior:

  1. Follow the Install the PostgreSQL Operator guide
  2. Run pgo version -n pgouser1 (displays v4.3.0)
  3. Run pgo create cluster -n pgouser1 postgres
  4. See error

Expected behavior
Cluster should be created

Screenshots
2. image
4. image

Please tell us about your environment:

  • Operating System: Debian do-kube-1.16.6-do.2
  • Where is this running ( Local, Cloud Provider): Digital Ocean
  • Storage being used (NFS, Hostpath, Gluster, etc): Digital Ocean Block Storage
  • Container Image Tag: centos7-12.2-4.3.0
  • PostgreSQL Version: N/A
  • Platform (Docker, Kubernetes, OpenShift): Kubernetes
  • Platform Version: 1.16.6

Additional context
Add any other context about the problem here.
Only changes made to the operator is change admin password and add/change the ff:

                  - name: BACKREST_STORAGE
                    value: "digitalocean"
                  - name: BACKUP_STORAGE
                    value: "digitalocean"
                  - name: PRIMARY_STORAGE
                    value: "digitalocean"
                  - name: REPLICA_STORAGE
                    value: "digitalocean"

                  - name: STORAGE5_NAME
                    value: "digitalocean"
                  - name: STORAGE5_ACCESS_MODE
                    value: "ReadWriteOnce"
                  - name: STORAGE5_SIZE
                    value: "1Gi"
                  - name: STORAGE5_TYPE
                    value: "dynamic"
                  - name: STORAGE5_CLASS
                    value: "do-block-storage"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions