-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvalues.ci.yaml
191 lines (159 loc) · 3.64 KB
/
values.ci.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
183
184
185
186
187
188
189
190
191
# Default values for varnish.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
tag: "7.2.1"
repository: softonic/varnish
maxUnavailable: 1
varnishListeningPort: 8080
imagePullSecrets: []
nameOverride: "tesme"
fullnameOverride: "testmemore"
serviceAccount:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
podLabels:
label1: value1
podAnnotations:
annotation1: value1
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsGroup: 3000
fsGroupChangePolicy: "OnRootMismatch"
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 101 # This is the varnish user id in the varnish image
seccompProfile:
type: RuntimeDefault
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 10
metrics: []
targetCPUUtilizationPercentage: null
targetMemoryUtilizationPercentage: null
behavior: {}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
extraVolumes:
- name: disk-cache
emptyDir: {}
extraVolumeMounts:
- name: disk-cache
mountPath: /mnt/disk-cache
service:
type: ClusterIP
port: 80
annotations: {}
nodePort: null
ingress:
enabled: true
className: nginx
annotations:
kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: ["/"]
tls:
- secretName: chart-example-tls
hosts:
- chart-example.local
# memory used to share varnish process' info for exporter and logger
vsmMemorySizeLimit: 2M
arguments:
- -s
- diskcache=file,/mnt/disk-cache,10g
- -p
- http_resp_hdr_len=20480
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
livenessProbe:
httpGet:
path: /healthcheck
port: http
failureThreshold: 3
initialDelaySeconds: 45
timeoutSeconds: 1
periodSeconds: 20
readinessProbe:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 5
lifecycle: {}
varnishSize: 100M
nodeSelector: {}
tolerations: []
affinity: {}
vcl:
default.vcl: |-
if (this) {
that
}
vclFiles:
defaultByFile.vcl: "vcl/default.vcl"
# set this to a configmap name if we want to provide our own instead of declaring text
# it should have filenames as keys (as default.vcl)
# example: vclConfigmap: my-vcl-configmap
vclConfigmap: testmemore
# rollout deployment with each upgrade
rolloutDeployment: false
initContainers: []
logging:
enabled: true
customOutput: null
resources: {}
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 101
prometheus:
enabled: true
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
path: "/metrics"
port: "9131"
scrape: false
resources: {}
serviceMonitor:
enabled: true
additionalLabels: {}
honorLabels: true
interval: null
namespace: null
path: null
timeout: null