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

Add ClusterRoles for OLM activegate #759

Merged
merged 2 commits into from
May 2, 2022

Conversation

luhi-DT
Copy link
Collaborator

@luhi-DT luhi-DT commented May 2, 2022

Description

ActiveGate need new SecurityContextConstraints, but just linking the ServiceAccount with the SCCs is not enough to have the corresponding permissions, when generating the CSV. Therefore if a an activeGate is deployed via OperatorHub, the statefulset cannot create pods, as it violates SCCs. ClusterRole and RoleBinding for dynatrace-activegate SA are only created if generated for OLM.

How can this be tested?

make bundle VERSION=0.X.X PLATFORM=openshift

Should also include now SCCs for dynatrace-activegate and dynatrace-kubernetes-monitoring

Checklist

  • PR is labeled accordingly

@luhi-DT luhi-DT added the bug Something isn't working label May 2, 2022
@luhi-DT luhi-DT requested a review from a team as a code owner May 2, 2022 06:02
@luhi-DT luhi-DT requested a review from chrismuellner May 2, 2022 11:04
@luhi-DT luhi-DT merged commit 8a8bb0e into release-0.6 May 2, 2022
@luhi-DT luhi-DT deleted the bugfix/add-roles-for-activegate branch May 2, 2022 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants