-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helm: fix seLinuxMount option for csi driver
This commit fixes the typo from `.Values.seLinuxMount` to `.Values.CSIDriver.seLinuxMount` used in helm charts. Signed-off-by: Praveen M <[email protected]>
- Loading branch information
1 parent
3df396e
commit 33a888f
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33a888f
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.
Hello, FYI this kubeversion check causes issues on Openshift/OKD clusters because of the way Helm reads the cluster Kubernetes version.
For instance, on our OKD 4.15 clusters, you get the following output with a call to
oc version
andkubectl version
:This situation results in the cluster being considered as running kubernetes older than 1.25.x (while it runs 1.28.x) and to disable the seLinuxMount option in the rendered templates.
This was not occuring before this release.
I'm not aware of solutions to force
.Capabilities.KubeVersion.Version
to a specific release manually. Please advise.Thank you!
33a888f
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.
@Bengrunt this check will be removed in next release.#4817 here is the PR
33a888f
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.
@Madhu-1 OK cool! Is it safe to jump release 3.11 ? we're currently running 3.10 on our clusters and if I read correctly this change is released in 3.12.
33a888f
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.
we support upgrade for +1 version only, you can upgrade from 3.10 to 3.11 and from 3.11 to next version of 3.12 once we have new release
33a888f
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.
OK so I have to find a way to overwrite the output of the helm install command for 3.11 in order to prevent the removal of the
seLinuxMount: true
stanza from the CSI drivers already deployed.Because I'm afraid, since SELinux is heaviliy used in Openshift/OKD clusters, it may cause disruptions in our clusters.
Anyhow, I strongly believe that such a test may come back in the future for other reasons and that it would be good to have a way to override the Kubernetes cluster version from the helm values.