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 runtime flags on the dev image #64

Merged
merged 1 commit into from
Jan 27, 2021
Merged

Add runtime flags on the dev image #64

merged 1 commit into from
Jan 27, 2021

Conversation

voltbit
Copy link
Contributor

@voltbit voltbit commented Jan 26, 2021

Linked to #50

@@ -49,7 +47,7 @@ func main() {
Namespace: namespace,
MetricsBindAddress: metricsAddr,
Port: 9443,
LeaderElection: enableLeaderElection,
LeaderElection: enableLeaderElection == "true",
LeaderElectionID: "1747e98e.payu.com",
Copy link
Contributor

Choose a reason for hiding this comment

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

since you changed the flag to string. set "true" as const on the package level and use it in both line 38 and 50

@voltbit voltbit merged commit a6667f7 into PayU:master Jan 27, 2021
@voltbit voltbit deleted the add-flag-support-to-dev-image branch January 27, 2021 14:47
NataliAharoniPayu pushed a commit that referenced this pull request Jun 27, 2022
Add runtime flags on the dev image (#64)

See merge request payu-clan-sre/redis/redis-operator/redis-operator-mirror!1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants