-
Notifications
You must be signed in to change notification settings - Fork 42
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 manifests in the resulting docker image #80
Add manifests in the resulting docker image #80
Conversation
Currently we don't copy manifests in the image and therefore CVO can't deploy it in CI.
This is failing because we don't have the version set in the cluster operator. Let's make sure we fix that before merging this |
599b5ae
to
67046ad
Compare
releaseVersion := os.Getenv(releaseVersionEnvVariableName) | ||
if len(releaseVersion) == 0 { | ||
releaseVersion = unknownVersionValue | ||
klog.Infof("%s environment variable is missing, defaulting to %q", releaseVersionEnvVariableName, unknownVersionValue) |
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.
Please pass in a logr.Logger
and log using that to be consistent with the rest of this operator. You can pass through the setupLog
we init on line 57
/hold cancel, I think other than the nit this should be good to go |
67046ad
to
1fc8102
Compare
This commit adds cluster operator version to the clusteroperator resource.
1fc8102
to
584913f
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
/test e2e-aws-serial |
@Fedosin: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Currently we don't copy manifests in the image and therefore CVO can't deploy it.