/
values.yaml
182 lines (176 loc) · 4.48 KB
/
values.yaml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Default values for dependency-track.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Since dependency-track 4.0, there are now two separate images. One for frontend, one for the apiserver.
# -- global configuration
global:
imageRegistry: docker.io
# imagePullSecrets:
# - name: "myRegistryKeySecretName"
# -- config of the frontend
frontend:
enabled: true
annotations: {}
replicaCount: 2
image:
repository: dependencytrack/frontend
tag: 4.6.1
pullPolicy: IfNotPresent
# https://github.com/DependencyTrack/frontend/issues/60
# configmap:
# config: |
# {
# "API_BASE_URL": "",
# "OIDC_ISSUER": "",
# "OIDC_CLIENT_ID": "",
# "OIDC_SCOPE": "openid profile email",
# "OIDC_FLOW": ""
# }
# --See https://docs.dependencytrack.org/getting-started/configuration/ for frontend ENV variables.
env:
- name: API_BASE_URL
value: ""
# See https://docs.dependencytrack.org/getting-started/configuration/ for frontend ENV variables.
# podSecurityContext:
# fsGroup: 1000
securityContext:
allowPrivilegeEscalation: false
# rootfs cannot be R/O because there is some messing around with file generation and whatnot
runAsUser: 101
service:
type: ClusterIP
port: 80
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
emptyDir:
sizeLimit: 8Gi
resources:
# https://docs.dependencytrack.org/getting-started/deploy-docker/
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 1
memory: 512Mi
nameOverride: ""
fullnameOverride: ""
initContainers: []
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: frontend-serviceaccount
# Annotations to add
# Example:
# iam.gke.io/gcp-service-account: a@b.com
annotations: {}
livenessProbe:
enabled: true
path: "/"
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
readinessProbe:
enabled: true
path: "/"
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
# -- config of the apiserver
apiserver:
enabled: true
annotations: {}
# Max: 1 - DT is not designed for HA
replicaCount: 1
image:
repository: dependencytrack/apiserver
tag: 4.6.3
pullPolicy: IfNotPresent
env: []
persistentVolume:
accessModes:
- ReadWriteOnce
enabled: true
size: 8Gi
annotations: {}
storageClass: ""
podSecurityContext:
fsGroup: 1000
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
service:
type: ClusterIP
port: 80
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
emptyDir:
sizeLimit: 8Gi
resources:
# https://docs.dependencytrack.org/getting-started/deploy-docker/
requests:
cpu: 2
memory: 4608Mi
limits:
cpu: 4
memory: 16Gi
nameOverride: ""
fullnameOverride: ""
initContainers: []
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: apiserver-serviceaccount
# Annotations to add
# Example:
# iam.gke.io/gcp-service-account: a@b.com
annotations: {}
# See https://docs.dependencytrack.org/getting-started/configuration/ for backend configuration options.
livenessProbe:
enabled: true
path: "/api/version"
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
readinessProbe:
enabled: true
path: "/"
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
# -- configuration of ingress
ingress:
enabled: false
tls:
enabled: false
secretName: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
## allow large bom.xml uploads:
# nginx.ingress.kubernetes.io/proxy-body-size: 10m
host: chart-example.local
# ingressClassName: nginx
# -- configuration of postgres
postgresql:
enabled: true
postgresqlUsername: deptrack
postgresqlPassword: deptrack
postgresqlDatabase: deptrack