-
Notifications
You must be signed in to change notification settings - Fork 107
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
image*.yaml: Enable injection of OCP machine-os
metadata by default
#1048
image*.yaml: Enable injection of OCP machine-os
metadata by default
#1048
Conversation
It's the default now.
This is implemented by coreos/coreos-assembler#3153 We had these in the legacy oscontainer for RHCOS, and OKD today hacks them in via a Dockerfile: https://github.com/openshift/okd-machine-os/blob/0e9fbabbd3363bfc46d9d657bc173666e83e5d18/Dockerfile#L34 We need to carry support for this forward into the new format image, as it's what is used to display the OS version as part of the release image. Also xref https://issues.redhat.com/browse/TRT-647
Skipping CI for Draft Pull Request. |
Pairs with https://url.corp.redhat.com/a107a47 |
/lgtm |
/test all |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon 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 |
@cgwalters: all tests passed! 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. |
This was previously enabled (openshift#1048) and then disabled again (openshift#1084) because `oc` doesn't know how to handle multiple images with those labels in the release payload. We'll need to solve this eventually if we want to be able to ship multiple OS images in the payload (that's tracked in openshift#1047), but we don't need to block on this if we can remove the legacy `machine-os-content` at the same time. See also: openshift/driver-toolkit#101 See also: openshift/machine-config-operator#3364
This was previously enabled (openshift#1048) and then disabled again (openshift#1084) because `oc` doesn't know how to handle multiple images with those labels in the release payload. We'll need to solve this eventually if we want to be able to ship multiple OS images in the payload (that's tracked in openshift#1047), but we don't need to block on this if we can remove the legacy `machine-os-content` at the same time. See also: openshift/driver-toolkit#101 See also: openshift/machine-config-operator#3364
This was previously enabled (openshift#1048, openshift#1374) and then disabled again (openshift#1084, openshift#1393). The last time we tried it, the issue was that there were some references remaining in openshift/kubernetes and openshift/release. Those have been cleaned up now: openshift/release#49156 openshift/kubernetes#1805 So... third time's the charm!
This was previously enabled (openshift#1048, openshift#1374) and then disabled again (openshift#1084, openshift#1393). The last time we tried it, the issue was that there were some references remaining in openshift/kubernetes and openshift/release. Those have been cleaned up now: openshift/release#49156 openshift/kubernetes#1805 So... third time's the charm!
NOTE: This will actually break things unless we also in the same transaction implement the
machine-os-content
➡️rhel-coreos-8
alias when building the release image.Which actually implies that this configuration should be part of this repository, and not part of the pipeline config (legacy: jobspec, new: pipeline config.yaml).
Hmm. Perhaps I can for now change the legacy pipeline to grep
image.yaml
itself...edit done in https://url.corp.redhat.com/a107a47
image: Drop unused
oci-format
It's the default now.
image*.yaml: Enable injection of OCP
machine-os
metadata by defaultThis is implemented by coreos/coreos-assembler#3153
We had these in the legacy oscontainer for RHCOS, and OKD today hacks them in via a Dockerfile:
https://github.com/openshift/okd-machine-os/blob/0e9fbabbd3363bfc46d9d657bc173666e83e5d18/Dockerfile#L34
We need to carry support for this forward into the new format image, as it's what is used to display the OS version as part of the release image.
Also xref https://issues.redhat.com/browse/TRT-647