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

update base image to the ubi9 variant #937

Merged
merged 1 commit into from
Aug 26, 2024
Merged

update base image to the ubi9 variant #937

merged 1 commit into from
Aug 26, 2024

Conversation

tariq1890
Copy link
Contributor

No description provided.

docker/Dockerfile Show resolved Hide resolved
docker/Dockerfile Show resolved Hide resolved
tests/gpu-pod.yaml Outdated Show resolved Hide resolved
validator/versions.mk Outdated Show resolved Hide resolved
@tariq1890 tariq1890 force-pushed the ubi9-base branch 2 times, most recently from 5ec173b to 9f932c8 Compare August 22, 2024 02:06
@tariq1890
Copy link
Contributor Author

@cdesiniotis I have reverted the CUDA_SAMPLES image bump and rebased the PR

@@ -237,9 +237,9 @@ jobs:
LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}')
echo "LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}')" >> $GITHUB_ENV

echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV
echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi9" >> $GITHUB_ENV
Copy link
Member

Choose a reason for hiding this comment

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

Note: Since we only provide one flavour of image we could just drop the -ubi9 suffix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I am assuming there is a rationale behind the ubi8 suffix? If it's safe enough to drop it, I am all for the change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cdesiniotis @shivamerla thoughts on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, safe to drop ubi suffix as we don't reference those tags in the Helm charts or OLM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@elezar Looks like I'll have to make changes in multiple places to drop the DIST suffix. I'd like to make that change in a follow-up PR.

I'd like to limit the changeset to ubi9 upgrade in this PR

@@ -97,7 +97,7 @@ COPY deployments/gpu-operator/charts/node-feature-discovery/crds/nfd-api-crds.ya
# Install / upgrade packages here that are required to resolve CVEs
ARG CVE_UPDATES
Copy link
Member

Choose a reason for hiding this comment

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

In general, I would recommend removing this block entirely. We have largely stopped using this envvar across our projects -- especially since we've streamlined our waiver process.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, agreed . I think this block was added as a stopgap to quickly fix CVEs at the time

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 can make this change in a follow up PR

@@ -87,7 +87,7 @@ LABEL vsc-ref=${GIT_COMMIT}
# Install / upgrade packages here that are required to resolve CVEs
ARG CVE_UPDATES
Copy link
Member

Choose a reason for hiding this comment

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

Same here on removing the block.

validator/Makefile Outdated Show resolved Hide resolved
@tariq1890 tariq1890 enabled auto-merge August 26, 2024 22:15
@tariq1890 tariq1890 merged commit 556524e into main Aug 26, 2024
11 checks passed
@tariq1890 tariq1890 deleted the ubi9-base branch August 26, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants