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 programName rendered in --version output #223

Merged
merged 1 commit into from
Dec 19, 2021
Merged

set programName rendered in --version output #223

merged 1 commit into from
Dec 19, 2021

Conversation

displague
Copy link
Member

@displague displague commented Dec 17, 2021

We can use -X "k8s.io/component-base/version/verflag.programName=Cloud Provider Equinix Metal" to set a custom program name. This overrides the default of Kubernetes.

It makes more sense for {ccm} --version to say Cloud Provider Equinix Metal v3.3.0 rather than Kubernetes v3.3.0.

This is a follow-up to the conversation in #221 (comment)

Related to #142

We can use `-X "k8s.io/component-base/version/verflag.programName=Cloud Provider Equinix Metal"` to set a custom program name. This overrides the default of `Kubernetes`.

It makes more sense for `{ccm} --version` to say `Cloud Provider Equinix Metal v3.3.0` rather than `Kubernetes v3.3.0`.

This is a follow-up to the conversation in #221 (comment)
@deitch deitch merged commit 9a9e629 into master Dec 19, 2021
@deitch deitch deleted the program-name branch December 19, 2021 15:22
@deitch deitch mentioned this pull request Dec 20, 2021
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