File tree 4 files changed +17
-10
lines changed
install/kubernetes/github-actions-cache-server
4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.1
18
+ version : 0.2.0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 43
43
image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
44
44
imagePullPolicy : {{ .Values.image.pullPolicy }}
45
45
ports :
46
- - name : http
46
+ - name : cache
47
47
containerPort : 3000
48
48
protocol : TCP
49
+ - name : proxy
50
+ containerPort : 8000
51
+ protocol : TCP
49
52
livenessProbe :
50
53
{{- toYaml .Values.livenessProbe | nindent 12 }}
51
54
readinessProbe :
@@ -62,14 +65,13 @@ spec:
62
65
env :
63
66
- name : PORT
64
67
value : " 3000"
68
+ - name : PROXY_PORT
69
+ value : " 8000"
65
70
- name : API_BASE_URL
66
71
value : {{ default $internalApiBaseUrl .Values.apiBaseUrl }}
67
72
{{- with .Values.env }}
68
73
{{- toYaml . | nindent 12 }}
69
74
{{- end }}
70
- {{- with .Values.extraEnv }}
71
- {{- toYaml . | nindent 12 }}
72
- {{- end }}
73
75
volumes :
74
76
- name : tmp
75
77
{{- toYaml .Values.tmpVolume | nindent 10 }}
Original file line number Diff line number Diff line change 8
8
type : {{ .Values.service.type }}
9
9
ports :
10
10
- port : {{ .Values.service.port }}
11
- targetPort : http
11
+ targetPort : cache
12
12
protocol : TCP
13
- name : http
13
+ name : cache
14
+ - port : {{ .Values.service.proxyPort }}
15
+ targetPort : proxy
16
+ protocol : TCP
17
+ name : proxy
14
18
selector :
15
19
{{- include "github-actions-cache-server.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ securityContext:
45
45
service :
46
46
type : ClusterIP
47
47
port : 80
48
+ proxyPort : 8000
48
49
49
50
ingress :
50
51
enabled : false
@@ -74,11 +75,11 @@ resources:
74
75
livenessProbe :
75
76
httpGet :
76
77
path : /
77
- port : http
78
+ port : cache
78
79
readinessProbe :
79
80
httpGet :
80
81
path : /
81
- port : http
82
+ port : cache
82
83
83
84
autoscaling :
84
85
enabled : true
@@ -127,4 +128,4 @@ apiBaseUrl: ''
127
128
128
129
env :
129
130
- name : DEBUG
130
- value : ' true '
131
+ value : ' false '
You can’t perform that action at this time.
0 commit comments