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

fix: adapt chart for OpenShift #32

Merged
merged 3 commits into from
Apr 20, 2023
Merged

Conversation

minijus
Copy link
Contributor

@minijus minijus commented Apr 14, 2023

No description provided.

runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: "OnRootMismatch"
{{- if .Values.fileServer.securityContext.enabled }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some OpenShift environments are not too happy about specific user IDs or groups. Thus, exposing configuration to disable this securityContext.

Copy link
Contributor Author

@minijus minijus Apr 14, 2023

Choose a reason for hiding this comment

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

Adding quite common (from Bitnami charts) patterns for defining images, pullPolicy and resources.

digest: ''
pullPolicy: Always
resources:
limits: {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some OpenShift environments require limits to be specified. Thus, exposing them on configuration.

@@ -1,11 +1,94 @@
image:
Copy link
Contributor Author

@minijus minijus Apr 14, 2023

Choose a reason for hiding this comment

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

Technically removal of image.tag will be a breaking change for this update. If you are ok with this change, I will go and update remaining READMEs and examples.

@minijus minijus force-pushed the adapt-for-openshift branch 2 times, most recently from d665136 to 4ced1be Compare April 14, 2023 13:19
@minijus
Copy link
Contributor Author

minijus commented Apr 18, 2023

Rebased for messagequeue changes.

@rarmatei rarmatei merged commit 9235ef0 into nrwl:main Apr 20, 2023
@minijus
Copy link
Contributor Author

minijus commented Apr 20, 2023

Thank you @scritchley @rarmatei !

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