diff --git a/charts/easyauth-proxy/templates/ingress.yaml b/charts/easyauth-proxy/templates/ingress.yaml index 8748c58..9b4188d 100644 --- a/charts/easyauth-proxy/templates/ingress.yaml +++ b/charts/easyauth-proxy/templates/ingress.yaml @@ -1,9 +1,8 @@ #{{- if .Values.ingress.enabled }} -{{- $fullName := include "easyauth-proxy.fullname" . }} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{ $fullName }} + name: {{ include "easyauth-proxy.fullname" . }}-ingress labels: {{- include "easyauth-proxy.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} @@ -23,7 +22,7 @@ spec: pathType: Prefix backend: service: - name: {{ $fullName }} + name: {{ include "easyauth-proxy.fullname" . }} port: number: {{ .Values.service.port }} #{{- end }} \ No newline at end of file