Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCM-4783 | feat: display warnings after cluster creation
Demo: ``` [rcampos@rcampos-thinkpadt14sgen2i ocm-cli]$ ./ocm create cluster -i ? cluster name rc-test ? Subscription type: standard (Annual: Fixed capacity subscription from Red Hat) ? Cloud provider: gcp ? CCS: Yes ? Service account file: REDACTED ? Multiple AZ: No ? Secure boot support for Shielded VMs: No ? Region: us-east4 ? OpenShift version: 4.14.6 ? Compute machine type: custom-4-16384 ? Enable autoscaling: No ? Compute nodes: 2 ? Install into an existing VPC (optional): No ? Machine CIDR: 10.0.0.0/16 ? Service CIDR: 172.30.0.0/16 ? Pod CIDR: 10.128.0.0/14 ? Host prefix: 23 ? Private cluster (optional): No ID: REDACTED External ID: Name: rc-test Display Name: rc-test State: validating API URL: API Listening: external Console URL: Control Plane: Replicas: 3 Infra: Replicas: 2 Compute: Replicas: 2 Product: osd Subscription type: standard Provider: gcp Version: Region: us-east4 Multi-az: false CCS: true HCP: false Subnet IDs: [] PrivateLink: false STS: false Existing VPC: unsupported Channel Group: stable Cluster Admin: true Organization: REDACTED Creator: REDACTED Email: [email protected] AccountNumber: REDACTED Created: 2023-12-20T19:58:20Z Shard: REDACTED⚠️ WARNING: Please enable the Org Policy API for the GCP project 'REDACTED' Without the GCP Org Policy API enabled, OCM is unable to determine whether the GCP project contains any policies that would affect the in stallation ```
- Loading branch information