-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy path_helpers.tpl
More file actions
83 lines (79 loc) · 2.04 KB
/
_helpers.tpl
File metadata and controls
83 lines (79 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
{{- define "proxy_envs" }}
- name: HTTP_PROXY
value: {{ .Values.httpProxy }}
- name: HTTPS_PROXY
value: {{ .Values.httpsProxy }}
- name: NO_PROXY
value: {{ .Values.noProxy }}
- name: http_proxy
value: {{ .Values.httpProxy }}
- name: https_proxy
value: {{ .Values.httpsProxy }}
- name: no_proxy
value: {{ .Values.noProxy }}
{{- end }}
{{- define "certs_volume" }}
- name: certs
projected:
sources:
- secret:
name: {{ .Release.Name }}-web-tls
items:
- key: tls.crt
path: scenescape-web.crt
- key: tls.key
path: scenescape-web.key
- secret:
name: {{ .Release.Name }}-broker-tls
items:
- key: tls.crt
path: scenescape-broker.crt
- key: tls.key
path: scenescape-broker.key
- secret:
name: {{ .Release.Name }}-vdms-s-tls
items:
- key: tls.key
path: scenescape-vdms-s.key
- key: tls.crt
path: scenescape-vdms-s.crt
- secret:
name: {{ .Release.Name }}-vdms-c-tls
items:
- key: tls.key
path: scenescape-vdms-c.key
- key: tls.crt
path: scenescape-vdms-c.crt
- secret:
name: {{ .Release.Name }}-camcalibration-tls
items:
- key: tls.key
path: scenescape-camcalibration.key
- key: tls.crt
path: scenescape-camcalibration.crt
- secret:
name: {{ .Release.Name }}-mapping-tls
items:
- key: tls.key
path: scenescape-mapping.key
- key: tls.crt
path: scenescape-mapping.crt
- secret:
name: {{ .Release.Name }}-scenescape-ca.pem
items:
- key: tls.crt
path: scenescape-ca.pem
{{- end }}
{{- define "defaultPodSecurityContext" }}
runAsUser: 1000
runAsGroup: 1000
{{- end }}
{{- define "defaultContainerSecurityContext" }}
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
{{- end }}