Skip to content

Commit 51eaccb

Browse files
committed
chore(helm): add proxy port 8000
1 parent 77fe937 commit 51eaccb

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

install/kubernetes/github-actions-cache-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.1
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

install/kubernetes/github-actions-cache-server/templates/deployment.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ spec:
4343
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4444
imagePullPolicy: {{ .Values.image.pullPolicy }}
4545
ports:
46-
- name: http
46+
- name: cache
4747
containerPort: 3000
4848
protocol: TCP
49+
- name: proxy
50+
containerPort: 8000
51+
protocol: TCP
4952
livenessProbe:
5053
{{- toYaml .Values.livenessProbe | nindent 12 }}
5154
readinessProbe:
@@ -62,14 +65,13 @@ spec:
6265
env:
6366
- name: PORT
6467
value: "3000"
68+
- name: PROXY_PORT
69+
value: "8000"
6570
- name: API_BASE_URL
6671
value: {{ default $internalApiBaseUrl .Values.apiBaseUrl }}
6772
{{- with .Values.env }}
6873
{{- toYaml . | nindent 12 }}
6974
{{- end }}
70-
{{- with .Values.extraEnv }}
71-
{{- toYaml . | nindent 12 }}
72-
{{- end }}
7375
volumes:
7476
- name: tmp
7577
{{- toYaml .Values.tmpVolume | nindent 10 }}

install/kubernetes/github-actions-cache-server/templates/service.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ spec:
88
type: {{ .Values.service.type }}
99
ports:
1010
- port: {{ .Values.service.port }}
11-
targetPort: http
11+
targetPort: cache
1212
protocol: TCP
13-
name: http
13+
name: cache
14+
- port: {{ .Values.service.proxyPort }}
15+
targetPort: proxy
16+
protocol: TCP
17+
name: proxy
1418
selector:
1519
{{- include "github-actions-cache-server.selectorLabels" . | nindent 4 }}

install/kubernetes/github-actions-cache-server/values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ securityContext:
4545
service:
4646
type: ClusterIP
4747
port: 80
48+
proxyPort: 8000
4849

4950
ingress:
5051
enabled: false
@@ -74,11 +75,11 @@ resources:
7475
livenessProbe:
7576
httpGet:
7677
path: /
77-
port: http
78+
port: cache
7879
readinessProbe:
7980
httpGet:
8081
path: /
81-
port: http
82+
port: cache
8283

8384
autoscaling:
8485
enabled: true
@@ -127,4 +128,4 @@ apiBaseUrl: ''
127128

128129
env:
129130
- name: DEBUG
130-
value: 'true'
131+
value: 'false'

0 commit comments

Comments
 (0)