bitnami/spring-cloud-dataflow: deployer.podSecurityContext can be switched off without warnings (#9405)

* deployer.podSecurityContext can be switched off without warnings

Signed-off-by: Ernst Plüss <ernst@pluess.li>

* Updated the README.md

Signed-off-by: Ernst Plüss <ernst@pluess.li>
This commit is contained in:
Ernst Plüss
2022-03-15 09:54:20 +01:00
committed by GitHub
parent a69286e8cd
commit 39159ddeb1
5 changed files with 8 additions and 6 deletions

View File

@@ -39,4 +39,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow
- https://github.com/bitnami/bitnami-docker-spring-cloud-skipper
- https://dataflow.spring.io/
version: 6.0.0
version: 6.0.1

View File

@@ -291,6 +291,7 @@ helm uninstall my-release
| `deployer.volumeMounts` | Streaming applications extra volume mounts | `{}` |
| `deployer.volumes` | Streaming applications extra volumes | `{}` |
| `deployer.environmentVariables` | Streaming applications environment variables | `[]` |
| `deployer.podSecurityContext.enabled` | Enabled pods' Security Context of the deployed pods batch or stream pods | `true` |
| `deployer.podSecurityContext.runAsUser` | Set Dataflow Streams container's Security Context runAsUser | `1001` |
| `deployer.imagePullSecrets` | Streaming applications imagePullSecrets | `[]` |
| `deployer.secretRefs` | Streaming applications secretRefs | `[]` |

View File

@@ -67,8 +67,8 @@ data:
{{- if .Values.deployer.volumes }}
volumes: {{- toYaml .Values.deployer.volumes | nindent 22 }}
{{- end }}
{{- if .Values.deployer.podSecurityContext }}
podSecurityContext: {{- toYaml .Values.deployer.podSecurityContext | nindent 22 }}
{{- if .Values.deployer.podSecurityContext.enabled }}
podSecurityContext: {{- omit .Values.deployer.podSecurityContext "enabled" | toYaml | nindent 22 }}
{{- end }}
{{- if .Values.deployer.imagePullSecrets }}
imagePullSecrets: {{- toYaml .Values.deployer.imagePullSecrets | nindent 22 }}

View File

@@ -93,8 +93,8 @@ data:
{{- if .Values.deployer.volumes }}
volumes: {{- toYaml .Values.deployer.volumes | nindent 22 }}
{{- end }}
{{- if .Values.deployer.podSecurityContext }}
podSecurityContext: {{- toYaml .Values.deployer.podSecurityContext | nindent 22 }}
{{- if .Values.deployer.podSecurityContext.enabled }}
podSecurityContext: {{- omit .Values.deployer.podSecurityContext "enabled" | toYaml | nindent 22 }}
{{- end }}
{{- if .Values.deployer.imagePullSecrets }}
imagePullSecrets: {{- toYaml .Values.deployer.imagePullSecrets | nindent 22 }}

View File

@@ -982,9 +982,10 @@ deployer:
environmentVariables: []
## Streams containers' Security Context. This security context will be use in every deployed stream.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
## @param deployer.podSecurityContext.enabled Enabled pods' Security Context of the deployed pods batch or stream pods
## @param deployer.podSecurityContext.runAsUser Set Dataflow Streams container's Security Context runAsUser
##
podSecurityContext:
enabled: true
runAsUser: 1001
## @param deployer.imagePullSecrets Streaming applications imagePullSecrets
##