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 ClusterProfile template variable #483
Add ClusterProfile template variable #483
Conversation
This allows future CVO manifests to use {{ .ClusterProfile }}.
I don't see anything wrong with the changes. |
/assign @LalatenduMohanty |
renderConfig = manifestRenderConfig{ | ||
ReleaseImage: releaseImage, | ||
ClusterProfile: defaultClusterProfile, | ||
} |
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.
I am not sure who calls this function? Is it installer during bootstrap?
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.
I mean Render(outputDir, releaseImage string) error
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.
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.
The env. variable is not plugged yet. This PR just teaches enough to the CVO for updating to a CVO that uses ClusterProfile in his manifests.
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.
Looks like the the PR for env variable already merged for installer.
/retest |
/lgtm |
/retest |
1 similar comment
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
13 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold |
I am wondering if it's due to to the usage of 4.6 sidecar in a master build:
|
Probably, can you open a pr to change instances of --config to
--kubeconfig, tag me on the pr and I'll approve. Thanks
…On Sat, Dec 5, 2020, 3:00 PM Guillaume Rose ***@***.***> wrote:
I am wondering if it's due to to the usage of 4.6 sidecar in a master
build:
ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml
332: subPath: master-sidecar-4.6.yaml
345: name: prow-job-master-sidecar-4.6
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#483 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYIPNL265VDKG5CVZ37DSTKGM5ANCNFSM4UDYWCKQ>
.
|
I this valuable without operator-framework/api#73 or #404 ? I was under the impression that both were pre-reqs. |
@eparis manifests need to be all done for cvo#404, not this one. This one is just about fixing the next upgrade. |
@sdodson I opened openshift/release#14121 ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml uses master-sidecar-4.6.yaml in /test integration. I hope its the right place. |
/retest |
kube apiserver log: error creating self-signed certificates: mkdir /var/run/kubernetes: permission denied Let's try again. |
Integration tests failed because of |
/test integration |
@LalatenduMohanty Integration tests need to be changed deeper. It will not pass until. See openshift/release#13745 |
Looks like it is ready. We should we able to merge it soon |
As of the current 1816230 tip, the changes in this PR are wired up to neither the |
Alone, it unlocks the e2e test that checks the upgrade from an old CVO to a new CVO that uses .ClusterProfile in his manifests. Outgoing CVO will render the incoming CVO and launch it. The new CVO (hopefully with cvo#404) will pick the right manifests.
Let's say 4.8 uses .ClusterProfile in CVO manifests. Only CVO 4.7 will be able to upgrade to 4.8. Is it a problem? |
/retest |
@guillaumerose: 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. |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gbraad, guillaumerose, LalatenduMohanty, sdodson, wking 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 |
This allows future CVO manifests to use {{ .ClusterProfile }}.
Example, futur CVO might look like:
This implements phase 1 of openshift/enhancements#543.
Default value is the one decided in openshift/enhancements#510