-
Bug
-
Resolution: Done
-
Critical
-
None
-
MCE 2.4.0
Description of problem:
When we try to create a cluster with --secret-creds, an MCE AWS k8s secret that includes aws-creds, pull secret, and base domain, then the binary should not ask for pull secret. However, it does now after changing from hypershift.
Adding pull secret param will allow the command to continue as expected, though I would think whole point of the secret-creds is to reuse what exists.
/usr/local/bin/hcp create cluster aws --name acmqe-hc-ad5b1f645d93464c --secret-creds test1-cred --region us-east-1 --node-pool-replicas 1 --namespace local-cluster --instance-type m6a.xlarge --release-image quay.io/openshift-release-dev/ocp-release:4.14.0-ec.4-multi --generate-ssh Output: Error: required flag(s) "pull-secret" not set required flag(s) "pull-secret" not set
Version-Release number of selected component (if applicable):
2.4.0-DOWNANDBACK-2023-08-31-13-34-02 or mce 2.4.0-137
hcp version openshift/hypershift: 8b4b52925d47373f3fe4f0d5684c88dc8a93368a. Latest supported OCP: 4.14.0
How reproducible:
always
Steps to Reproduce:
- download hcp cli from mce
- run hcp cluster create aws with valid secret-creds param
- ...
Actual results:
Expected results:
Additional info:
- is caused by
-
ACM-6105 Build and expose the external version of HyperShift CLI (hcp)
- Closed
- links to