Skip to content
This repository has been 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
wants to merge 2 commits into
base: shalin/default_instance_type
Choose a base branch
from

Conversation

supershal
Copy link

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