update
diff --git a/charts/etherpad/templates/install.yaml b/charts/etherpad/templates/install.yaml
index a7d924b..2f46047 100644
--- a/charts/etherpad/templates/install.yaml
+++ b/charts/etherpad/templates/install.yaml
@@ -8,9 +8,9 @@
selector:
app: etherpad
ports:
- - name: {{ .Values.portName }}
- port: 80
- targetPort: {{ .Values.portName }}
+ - name: http
+ port: {{ .Values.port }}
+ targetPort: http
protocol: TCP
---
apiVersion: apps/v1
@@ -37,8 +37,8 @@
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- - name: {{ .Values.portName }}
- containerPort: 8080
+ - name: http
+ containerPort: {{ .Values.port }}
protocol: TCP
env:
- name: "PORT"
diff --git a/charts/etherpad/values.yaml b/charts/etherpad/values.yaml
index ab5d5eb..6211b19 100644
--- a/charts/etherpad/values.yaml
+++ b/charts/etherpad/values.yaml
@@ -2,7 +2,7 @@
repository: etherpad/etherpad
tag: latest
pullPolicy: Always
-portName: http
+port: 8080
persistentVolumeClaimName: "data"
db:
type: ""