Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions charts/invenio/templates/flower/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,10 @@ spec:
mountPath: /var/celery
- name: flower-config-volume
mountPath: /var/flower
{{- if .Values.invenio.podSecurityContext.enabled }}
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
seccompProfile:
type: "RuntimeDefault"
{{- end }}
{{- with .Values.flower.securityContext }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.flower.nodeSelector }}
nodeSelector:
{{- tpl (toYaml .) $ | nindent 8 -}}
Expand Down
10 changes: 8 additions & 2 deletions charts/invenio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ invenio:
## @param invenio.datacite.secret_name DEPRECATED: use invenio.datacite.existingSecret instead
##
secret_name: ""
podSecurityContext:
enabled: true
remote_apps:
enabled: false
existing_secret: false
Expand Down Expand Up @@ -779,6 +777,14 @@ flower:
# name: foo
# - configMapRef:
# name: bar
## @param flower.podSecurityContext securityContext for the flower pod
##
podSecurityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
seccompProfile:
type: "RuntimeDefault"
## @param flower.nodeSelector Node labels for flower pods assignment
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
##
Expand Down