Skip to content

Commit

Permalink
fix(vaultwarden): short service name
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Nov 10, 2023
1 parent fa2db74 commit 25c2e6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/vaultwarden/charts/vaultwarden/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ spec:
pathType: {{ $ingress.pathType }}
backend:
service:
name: {{ include "vaultwarden.fullname" . }}
name: {{ .Values.service.name }}
port:
name: "http"
{{- if .Values.websocket.enabled }}
- path: {{ $ingress.pathWs }}
pathType: {{ $ingress.pathTypeWs }}
backend:
service:
name: {{ include "vaultwarden.fullname" . }}
name: {{ .Values.service.name }}
port:
name: "websocket"
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "vaultwarden.fullname" . }}
name: {{ .Values.service.name }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/component: vaultwarden
Expand Down
4 changes: 4 additions & 0 deletions charts/vaultwarden/charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ service:
##
labels: {}

## @param service.name Vaultwarden service/ingress name
##
name: vaultwarden

## @section Database Configuration
##
database:
Expand Down

0 comments on commit 25c2e6e

Please sign in to comment.