Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

feat: set default instance profile for AWS CP and worker nodes#54

Open
supershal wants to merge 2 commits into
shalin/default_instance_typefrom
shalin/default-instance-profile
Open

feat: set default instance profile for AWS CP and worker nodes#54
supershal wants to merge 2 commits into
shalin/default_instance_typefrom
shalin/default-instance-profile

Conversation

@supershal

Copy link
Copy Markdown

What problem does this PR solve?:
This is a stacked PR: #51

  • sets defaults for aws instance profiles CP: control-plane.cluster-api-provider-aws.sigs.k8s.io and Workers: nodes.cluster-api-provider-aws.sigs.k8s.io
  • removes instanceProfile field in AWSMachineTemplates

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Tested manually be creating AWS cluster.

Created AWS cluster without adding instanceProfile variable, CAREN patched AWSMachineTemplate with default instanceProfile.

Special notes for your reviewer:

The approach taken in this PR will be used as guide to set default for other variables.
Looking into ways to unit test the defaults.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant