Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bastion configuration for AWS templates #179

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

a13x5
Copy link
Collaborator

@a13x5 a13x5 commented Aug 9, 2024

Resolves #173

@a13x5 a13x5 requested review from eromanova and Kshatrix August 9, 2024 22:49
docs/aws/cluster-parameters.md Outdated Show resolved Hide resolved
docs/aws/cluster-parameters.md Outdated Show resolved Hide resolved
docs/aws/cluster-parameters.md Outdated Show resolved Hide resolved
docs/aws/cluster-parameters.md Outdated Show resolved Hide resolved
docs/aws/cluster-parameters.md Outdated Show resolved Hide resolved
Only one SSH key is supported and it should be added in AWS preor creating
the `Deployment` object name of the key then can be placed under `.spec.config.sshKeyName`

For the bastion host key named **default** must be created, since setting key name
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/api/v1beta1/awscluster_types.go#L44

sshKeyName is supposed to be used for all instances in the cluster, including the bastion host. could you please check?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I overlooked this parameter. Then it makes sense to just use it and drop sshKeyName parameters in AWSMachineTemplate as I did it the latest push.

docs/aws/cluster-parameters.md Show resolved Hide resolved
@a13x5 a13x5 requested a review from Kshatrix August 12, 2024 17:47
@a13x5 a13x5 self-assigned this Aug 12, 2024
@Kshatrix Kshatrix merged commit 7e3db30 into K0rdent:main Aug 13, 2024
1 check passed
bnallapeta pushed a commit to bnallapeta/hmc that referenced this pull request Nov 15, 2024
Add bastion configuration for AWS templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Make bastion host option available for AWS templates
2 participants