File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
deployment/helm_chart/opik/templates Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,18 @@ spec:
40
40
imagePullSecrets :
41
41
{{- toYaml . | nindent 8 }}
42
42
{{- end }}
43
+ {{- with $value.podSecurityContext }}
44
+ securityContext :
45
+ {{- toYaml . | nindent 10 }}
46
+ {{- end }}
43
47
{{- if or $value.initContainers $value.waitForClickhouse $value.run_migration }}
44
48
initContainers :
45
49
{{- if and (eq $key "backend") $value.waitForClickhouse }}
46
50
- name : wait-for-clickhouse-service
47
51
image : " {{ default $.Values.registry $value.waitForClickhouse.image.registry }}/{{ $value.waitForClickhouse.image.repository }}:{{ $value.waitForClickhouse.image.tag }}"
48
52
imagePullPolicy : {{ default $value.image.pullPolicy $value.waitForClickhouse.image.pullPolicy }}
53
+ securityContext :
54
+ {{- toYaml $value.securityContext | nindent 12 }}
49
55
command : ["/bin/sh", "-c"]
50
56
args :
51
57
- |
59
65
- name : backend-migrations
60
66
image : " {{ $.Values.registry }}/{{ $value.image.repository }}:{{ $value.image.tag }}"
61
67
imagePullPolicy : {{ $value.image.pullPolicy }}
68
+ securityContext :
69
+ {{- toYaml $value.securityContext | nindent 12 }}
62
70
command : ["./run_db_migrations.sh"]
63
71
{{- with $value.envFrom }}
64
72
envFrom :
You can’t perform that action at this time.
0 commit comments