File tree Expand file tree Collapse file tree 2 files changed +43
-12
lines changed Expand file tree Collapse file tree 2 files changed +43
-12
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,43 @@ spec:
28
28
securityContext :
29
29
{{- toYaml .Values.podSecurityContext | nindent 8 }}
30
30
containers :
31
- - name : {{ .Chart.Name }}
32
- securityContext :
33
- {{- toYaml .Values.securityContext | nindent 12 }}
34
- image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
35
- imagePullPolicy : {{ .Values.image.pullPolicy }}
31
+ {{- with .Values.db }}
32
+ - name : {{ $.Chart.Name }}-db
33
+ image : " {{ .image.repository }}:{{ .image.tag | default $.Chart.AppVersion }}"
34
+ imagePullPolicy : {{ .image.pullPolicy }}
35
+ env :
36
+ - name : POSTGRES_DB
37
+ value : paws
38
+ ports :
39
+ - name : postgresql
40
+ containerPort : 5432
41
+ protocol : TCP
42
+ # volumeMounts:
43
+ # - name: {{ $.Release.Name }}-db
44
+ # mountPath: /var/lib/postgresql/data
45
+ # subPath: postgresql-data
46
+ {{- end }}
47
+ {{- with .Values.server }}
48
+ - name : {{ $.Chart.Name }}-server
49
+ image : " {{ .image.repository }}:{{ .image.tag | default $.Chart.AppVersion }}"
50
+ imagePullPolicy : {{ .image.pullPolicy }}
51
+ ports :
52
+ - containerPort : 5000
53
+ protocol : TCP
54
+ livenessProbe :
55
+ httpGet :
56
+ path : /api/user/test
57
+ port : 5000
58
+ readinessProbe :
59
+ httpGet :
60
+ path : /api/user/test
61
+ port : 5000
62
+ {{- end }}
63
+
64
+ {{- with .Values.client }}
65
+ - name : {{ $.Chart.Name }}-client
66
+ image : " {{ .image.repository }}:{{ .image.tag | default $.Chart.AppVersion }}"
67
+ imagePullPolicy : {{ .image.pullPolicy }}
36
68
ports :
37
69
- name : http
38
70
containerPort : 80
45
77
httpGet :
46
78
path : /
47
79
port : http
48
- resources :
49
- {{- toYaml .Values.resources | nindent 12 }}
80
+ {{- end }}
50
81
{{- with .Values.nodeSelector }}
51
82
nodeSelector :
52
83
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ replicaCount: 1
6
6
7
7
server :
8
8
image :
9
- repository : ghcr.io/codeforphilly/paws-data-pipeline/server:latest
9
+ repository : ghcr.io/codeforphilly/paws-data-pipeline/server
10
10
pullPolicy : Always
11
11
# Overrides the image tag whose default is the chart appVersion.
12
- tag : " latest "
12
+ tag : " 1.2 "
13
13
14
14
client :
15
15
image :
16
- repository : ghcr.io/codeforphilly/paws-data-pipeline/client:latest
16
+ repository : ghcr.io/codeforphilly/paws-data-pipeline/client
17
17
pullPolicy : Always
18
18
# Overrides the image tag whose default is the chart appVersion.
19
- tag : " latest "
19
+ tag : " 1.2 "
20
20
21
21
db :
22
22
image :
23
- repository : postgres:11-alpine
23
+ repository : postgres
24
24
pullPolicy : IfNotPresent
25
25
# Overrides the image tag whose default is the chart appVersion.
26
26
tag : " 11.3-alpine"
You can’t perform that action at this time.
0 commit comments