-
Notifications
You must be signed in to change notification settings - Fork 4
/
values.yaml
61 lines (60 loc) · 1.66 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
global:
fpm:
image:
repository: vuongxuongminh/docker-helm-symfony
tag: prod
pullPolicy: IfNotPresent
env: 'prod'
debug: '0'
secret: '!ChangeMe!'
nginx:
replicaCount: 1
existingServerBlockConfigmap: nginx-server-block
extraVolumes:
- name: asset-bundles
emptyDir: {}
extraVolumeMounts:
- name: asset-bundles
mountPath: /symfony/public/bundles/
initContainers:
- name: publish-asset-bundles
image: '{{ .Values.global.fpm.image.repository }}:{{ .Values.global.fpm.image.tag }}'
imagePullPolicy: '{{ .Values.global.fpm.image.pullPolicy }}'
args:
- composer
- auto-scripts
envFrom:
- configMapRef:
name: '{{ template "fpm" . }}'
- secretRef:
name: '{{ template "fpm" . }}'
volumeMounts:
- name: asset-bundles
mountPath: /symfony/public/bundles/
sidecars:
- name: fpm
image: '{{ .Values.global.fpm.image.repository }}:{{ .Values.global.fpm.image.tag }}'
imagePullPolicy: '{{ .Values.global.fpm.image.pullPolicy }}'
livenessProbe:
exec:
command:
- docker-healthcheck
initialDelaySeconds: 10
periodSeconds: 5
readinessProbe:
exec:
command:
- docker-healthcheck
initialDelaySeconds: 10
timeoutSeconds: 5
envFrom:
- configMapRef:
name: '{{ template "fpm" . }}'
- secretRef:
name: '{{ template "fpm" . }}'
ports:
- name: fpm
containerPort: 9000
volumeMounts:
- name: asset-bundles
mountPath: /symfony/public/bundles/