Grand Parent Issue - #16001
Parent issue - #16540
RFD - https://github.com/SUSE/rancher-architecture/pull/58
- When creating a CC directly
- Create the current AWS CC with the
amazonec2credentialconfig property containing the required values
- TBD (RFD) what happens to existing CC aws cc's they get migrated?
- TBD Support for CC use and non-big 4 provider
- When creating a v2prov CAPI CAPA cluster
- create CC, as per above flow that will support
- select a existing CC that supports AWSClusterStaticIdentity / backing secret
- support is controlled via CC annotation that points to a AWSClusterStaticIdentity
- add the CC's annotation pointing to AWSClusterStaticIdentity to the AWSCluster's identity field
- When editing a v2prov CAPI CAPA cluster
- the current CC is found via the CC annotation on the PCIC --> users go through the same CC gate (select or create a CC)
- the current CC is not found --> Do not show edit via form, show edit via YAML
- This will be the case if the cluster was created outside of the UI using either a Static or Workload identify
- In both cases we don't have credentials to use when making http requests to populate drop downs
- In the future we could offer a flow where either
- the user provides a CC just like create (UI 'adopts' cluster)
- the user provides a CC solely used to make the http request to provider for drop down data
- Both Create + Edit of a v2prov CAPI CAPA cluster
- if a CC was used, add an annotation to the PCIC pointing to the CC used
- Edit of a v2prov CAPI CAPA cluster
- confirm both of below, if not redirect to cluster list
- spec.cloudCredentialSecretName populated
- associated CC has the required annotation
General Notes
- CC Annotation --> Static Identity is 1:1
- CC Annotation --> PCIC is M:1
- The UI handles this
- Do we need it?
- PCIC Annotation --> CC is 1:1
- Deletion of the CC should result in the backing resources also being deleted
Grand Parent Issue - #16001
Parent issue - #16540
RFD - https://github.com/SUSE/rancher-architecture/pull/58
amazonec2credentialconfigproperty containing the required valuesGeneral Notes