Skip to content

About pgo upgrade --no-prompt flag, any work around ? #2135

@devopsevd

Description

@devopsevd

** Which example are you working with? **
Trying to upgrade cluster from current version operator 4.3.0 / postgres 12.2 to operator 4.5.1 / postgres 12.5
using the documentation
https://access.crunchydata.com/documentation/postgres-operator/4.5.1/upgrade/automatedupgrade/
https://access.crunchydata.com/documentation/postgres-operator/4.5.1/pgo-client/reference/pgo_upgrade/
pgo upgrade mycluster
Upgrades the cluster for use with the upgraded Postgres Operator version.

Other information (e.g. detailed explanation, related issues, etc)
I see that pgo upgrade does not have the --no-prompt flag , our requirement is to automate the upgrade process and we are able handle the operator upgrade from 4.3.0 to 4.5.1 via script.
However could not make any headway on the pgo upgrade on all our deployments (20+ currently) using a script.
Can you share any work around ?

Please tell us about your environment:

Operating System: Linux based
Where is this running ( Local, Cloud Provider) - GCP GKE cluster
Storage being used (NFS, Hostpath, Gluster, etc):GCP PVC,
Container Image Tag: centos7-4.5.1
PostgreSQL Version:12.5
Platform (Docker, Kubernetes, OpenShift): Kubernetes
Platform Version: 1.16.11-gke.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions