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

Set variable for Kind cluster name in makefile #4019

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

castelblanque
Copy link
Collaborator

Signed-off-by: Rafa Castelblanque rcastelblanq@vmware.com

Description of the change

This PR brings a small adjustment for the Makefile in order to use the right cluster name when accessing the Kind node.

Kind creates nodes in Docker based on the --name parameter.

kind create cluster \
		[...]
		--name ${CLUSTER_NAME} \
                [...]

So when accessing those nodes, the corresponding name from variable is now used.

Benefits

Previously the key+cert files were being retrieved from a hardcoded Kind node name. Now it is in line with the cluster name.

Possible drawbacks

N/A

Applicable issues

None

Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>
Copy link
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

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

Great! Thanks

@castelblanque castelblanque merged commit c6c0ce1 into master Jan 3, 2022
@castelblanque castelblanque deleted the makefile-fix-clustername branch January 3, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants