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

Remove by default empty allowedFlexVolumes #981

Merged

Conversation

schen1
Copy link
Contributor

@schen1 schen1 commented Oct 19, 2023

Description:

It fixes an issue where an ArgoCD Application syncs the helm chart with the default SCC enabled. The ArgoCD application is always out of sync due to allowedFlexVolumes being empty on the cluster but being defined in Git.

This is actually expected due to the specifications [0] with omitempty.

The proposal is to remove the allowedFlexVolumes field since it does not provide any default additional benefits for the users.

Testing:
Tested on an OpenShift cluster 4.13. The ArgoCD Application is no longer out of sync and there is no impact.

Documentation:

[0] https://github.com/openshift/api/blob/release-4.13/security/v1/types.go#L79

@schen1 schen1 requested review from a team as code owners October 19, 2023 08:22
@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jinja2
Copy link
Collaborator

jinja2 commented Oct 27, 2023

The change lgtm but please sign the CLA, run make render and add changelog entry.

@schen1
Copy link
Contributor Author

schen1 commented Oct 27, 2023

I have read the CLA Document and I hereby sign the CLA

srv-gh-o11y-gdi-cla added a commit to splunk/cla-agreement that referenced this pull request Oct 27, 2023
@schen1
Copy link
Contributor Author

schen1 commented Oct 28, 2023

@jinja2, this should now be done, thanks

@jinja2 jinja2 merged commit 94f02c7 into signalfx:main Oct 31, 2023
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants