Skip to content
Open
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
4 changes: 3 additions & 1 deletion charts/mlflow-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.openshiftOauth.enabled }}
- name: oauth-proxy
image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.10
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.11
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8443
Expand Down
6 changes: 6 additions & 0 deletions charts/mlflow-server/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ metadata:
spec:
containers:
- name: wget
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
image: busybox
command: ['wget']
args: ['{{ include "mlflow-server.fullname" . }}:{{ .Values.service.port }}']
Expand Down
6 changes: 6 additions & 0 deletions charts/mlflow-server/templates/tests/test-training.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ metadata:
spec:
containers:
- name: training
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
image: "{{ .Values.trainingTestImage.repository }}:{{ .Values.trainingTestImage.tag | default .Chart.AppVersion }}"
imagePullPolicy: "{{ .Values.trainingTestImage.pullPolicy}}"
env:
Expand Down
18 changes: 9 additions & 9 deletions charts/mlflow-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ podAnnotations: {}

# --
podSecurityContext: {}
# fsGroup: 2000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# seccompProfile:
# type: RuntimeDefault

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL

objectStorage:
objectBucketClaim:
Expand Down