Skip to content

Commit

Permalink
helm supported null (#185)
Browse files Browse the repository at this point in the history
* better use "null" instead of commenting with "# must be empty".

* reduce all securityContext values to null

* version bump 8.3.1
  • Loading branch information
klml authored Jun 5, 2023
1 parent fcb3703 commit cd0a653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: zammad
version: 8.3.0
version: 8.3.1
appVersion: 5.4.1-28
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
Expand Down
10 changes: 3 additions & 7 deletions zammad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,20 @@ This is relevant to **EFS** for AWS users, as well.
To run OpenShift unprivileged and with [arbitrary UIDs and GIDs](https://cloud.redhat.com/blog/a-guide-to-openshift-and-uids):

- Add the extraRsyncParams `--no-perms --omit-dir-times`.
- Set `securityContext` and `zammadConfig.initContainers.zammad.securityContext.runAsUser` empty (not empty string `""` or empty map `{}`).
- [Delete the default key](https://helm.sh/docs/chart_template_guide/values_files/#deleting-a-default-key) `securityContext` and `zammadConfig.initContainers.zammad.securityContext.runAsUser` with `null`.
- Disable if used:
- also `podSecurityContext` in all subcharts.
- the privileged [sysctlImage](https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch#default-kernel-settings) in elasticsearch subchart.

```yaml
securityContext:
fsGroup: # must be emtpy
runAsUser: # must be emtpy
runAsNonRoot: # must be emtpy
runAsGroup: # must be emtpy
securityContext: null

zammadConfig:
initContainers:
zammad:
extraRsyncParams: "--no-perms --omit-dir-times"
securityContext:
runAsUser: # must be emtpy
runAsUser: null

elasticsearch:
sysctlImage:
Expand Down

0 comments on commit cd0a653

Please sign in to comment.