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

Enable security context for ipoib-cni in OCP #413

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

almaslennikov
Copy link
Collaborator

Add service account, role and securityContextConstraints

Signed-off-by: amaslennikov amaslennikov@nvidia.com

@almaslennikov
Copy link
Collaborator Author

/retest-all

@almaslennikov almaslennikov force-pushed the ipoib_cni_openshift branch 2 times, most recently from afea455 to 9358357 Compare October 11, 2022 07:28
@@ -0,0 +1,49 @@
{{if eq .RuntimeSpec.OSName "rhcos"}}
# Please edit the object below. Lines beginning with a '#' will be ignored,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: For me it is a bit easier to read specs if yaml keys are ordered with k8s style:
apiVersion:
kind:
metadata:
..other fields

WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This appears to be a common format for OCP Security Context Constraints: https://docs.openshift.com/container-platform/4.6/authentication/managing-security-context-constraints.html
We use the same format for all other states.
We can change but for consistency it needs to be done for all similar files in the project

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, let's keep it as is

Add service account, role and securityContextConstraints.

Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
Copy link
Collaborator

@e0ne e0ne left a comment

Choose a reason for hiding this comment

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

LGTM. Will merge it after testing

@e0ne e0ne merged commit 008acb6 into Mellanox:master Oct 17, 2022
@e0ne e0ne mentioned this pull request Oct 25, 2022
29 tasks
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.

3 participants