AGENT-284: Allow user to choose platform type#6438
Conversation
|
/uncc @dhellmann @patrickdillon |
|
Would be good to validate that for SNO specifically, only platform: none is allowed. Pawan is opening another Jira ticket to follow up with that. |
|
Opened https://issues.redhat.com/browse/AGENT-369 for additional validation for the SNO cluster |
|
/retest |
|
/assign @patrickdillon Please approve |
|
/retest |
da0017a to
32cddef
Compare
|
/lgtm |
3a33ba3 to
8b71ead
Compare
8b71ead to
9387784
Compare
|
/retest-required |
Update to the assisted-service at commit a40422bdea617f16cbdb724d53619ca74773be45. This repo now contains multiple go modules, so we have to add overrides for the internal references to the api and models modules.
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
5bd1168 to
49a1de2
Compare
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
c6d939f to
096f09d
Compare
|
/lgtm |
|
/retest-required |
|
/hold Revision 096f09d was retested 3 times: holding |
|
/hold cancel |
|
/retest |
|
@pawanpinjarkar: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This PR reads the platform name from
install-config.yamland sets the appropriate and supported platform in theAgentClusterInstall.Spec.PlatformType. Assisted service uses theAgentClusterInstall.Spec.PlatformTypeas cluster params to create the cluster. When using the ZTP way, users can directly provide the supported platforms inAgentClusterInstall.Spec.PlatformType.We already have a validation to throw an error if users provide unsupported platforms for the agent installer in the install-config.yaml. This PR also adds a similar validation when unsupported
PlatformTypeis provided in the AgentClusterInstall.Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
Signed-off-by: Zane Bitter zaneb@redhat.com