Remove privileged mode requirement#101
Merged
siegfriedweber merged 11 commits intomainfrom Sep 7, 2023
Merged
Conversation
razvan
reviewed
Aug 31, 2023
Member
There was a problem hiding this comment.
First installation attempt failed on OpenShift 4.12:
helm upgrade listener-operator listener-operator --install --namespace stackable-operators --version 0.0.0-pr101 --wait --devel --repo https://repo.stackable.tech/repository/helm-test
Event message:
Error creating: pods "listener-operator-controller-deployment-6df677f8df-" is forbidden: unable to validate against any security context constraint: [provider "anyuid": Forbidden: not usable by user or serviceaccount, provider "pipelines-scc": Forbidden: not usable by user or serviceaccount, provider "pipelines-custom-scc": Forbidden: not usable by user or serviceaccount, provider restricted-v2: .containers[0].runAsUser: Invalid value: 0: must be in the ranges: [1000710000, 1000719999], provider restricted: .containers[0].runAsUser: Invalid value: 0: must be in the ranges: [1000710000, 1000719999], provider "nonroot-v2": Forbidden: not usable by user or serviceaccount, provider "nonroot": Forbidden: not usable by user or serviceaccount, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "zookeeper-scc": Forbidden: not usable by user or serviceaccount, provider "hbase-scc": Forbidden: not usable by user or serviceaccount, provider "hdfs-scc": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork-v2": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider "hostaccess": Forbidden: not usable by user or serviceaccount, provider "node-exporter": Forbidden: not usable by user or serviceaccount, provider "privileged": Forbidden: not usable by user or serviceaccount, provider "privileged-genevalogging": Forbidden: not usable by user or serviceaccount]
Member
|
Sorry for the formatting. The relevant part is this: |
nightkr
reviewed
Aug 31, 2023
fhennig
reviewed
Sep 4, 2023
nightkr
reviewed
Sep 7, 2023
nightkr
reviewed
Sep 7, 2023
nightkr
reviewed
Sep 7, 2023
nightkr
approved these changes
Sep 7, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Remove the requirement for privileged mode.
The SELinux options still have to be quite privileged to allow the listener-operator to write into the volumes in other namespaces.
Closes #70
Definition of Done Checklist