update
diff --git a/charts/vaultwarden/templates/install.yaml b/charts/vaultwarden/templates/install.yaml
index 010a067..2a69d12 100644
--- a/charts/vaultwarden/templates/install.yaml
+++ b/charts/vaultwarden/templates/install.yaml
@@ -23,14 +23,14 @@
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: ROCKET_PORT
- value: "80"
+ value: "{{.Values.port}}"
- name: DISABLE_ADMIN_TOKEN
value: "true"
- name: DOMAIN
value: https://{{ .Values.domain }}
ports:
- - name: {{ .Values.httpPortName }}
- containerPort: 80
+ - name: http
+ containerPort: {{ .Values.port }}
protocol: TCP
volumeMounts:
- name: data
@@ -47,6 +47,6 @@
app: server
ports:
- name: http
- port: 80
- targetPort: {{ .Values.httpPortName }}
+ port: {{ .Values.port }}
+ targetPort: http
protocol: TCP
diff --git a/charts/vaultwarden/values.yaml b/charts/vaultwarden/values.yaml
index d432172..4aa4c74 100644
--- a/charts/vaultwarden/values.yaml
+++ b/charts/vaultwarden/values.yaml
@@ -4,4 +4,4 @@
pullPolicy: IfNotPresent
domain: bitwarden.example.com
persistentVolumeClaimName: "data"
-httpPortName: "http"
+port: 8080