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

make: adds target to set mgr env vars #61

Merged
merged 1 commit into from
Jan 6, 2022
Merged

make: adds target to set mgr env vars #61

merged 1 commit into from
Jan 6, 2022

Conversation

nbalacha
Copy link
Contributor

@nbalacha nbalacha commented Jan 6, 2022

Adds a make target to set the values of the env vars in manager.env.

Signed-off-by: N Balachandran nibalach@redhat.com

Adds a make target to set the values of the env vars in manager.env.

Signed-off-by: N Balachandran <nibalach@redhat.com>
endef
export MANAGER_ENV_VARS

update-mgr-env: ## Feed env variables to the manager configmap
Copy link
Contributor

Choose a reason for hiding this comment

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

better have this target as well in deploy as it's changing the file used in kustomize?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't want to do that for the development targets. make update-mgr-env always be called explicitly if required before a make deploy.

Copy link
Contributor

@leelavg leelavg left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 6, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: leelavg, nbalacha

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 6, 2022
@nbalacha nbalacha merged commit 0322c67 into openshift:main Jan 6, 2022
@nbalacha nbalacha deleted the mgr-env branch January 6, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants