-
Notifications
You must be signed in to change notification settings - Fork 66
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 version flag to operator binary #2752
Conversation
🤖 Created branch: z_pr2752/vthapar/version-flag |
main.go
Outdated
@@ -51,27 +51,30 @@ import ( | |||
"sigs.k8s.io/controller-runtime/pkg/manager/signals" | |||
) | |||
|
|||
const componentName = "submariner-operator" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than redefining the component name, we can use the constant from
submariner-operator/pkg/names/names.go
Line 31 in ffeb0c0
OperatorComponent = "submariner-operator" |
The |
Refer submariner-io/enhancements#204 Fixes submariner-io#2751 Signed-off-by: Vishal Thapar <[email protected]>
Use admiral/pkg/names/names.go for component names for consistency across all repos/components. Signed-off-by: Vishal Thapar <[email protected]>
🤖 Closed branches: [z_pr2752/vthapar/version-flag] |
🤖 Created branch: z_pr2752/vthapar/version-flag |
🤖 Closed branches: [z_pr2752/vthapar/version-flag] |
Refer submariner-io/enhancements#204
Fixes #2751