Skip to content

Commit

Permalink
fix: ingress names (#60)
Browse files Browse the repository at this point in the history
* fix: ingress names

* fix: ingress name for proxy
  • Loading branch information
vanazdenek authored Jul 26, 2024
1 parent 4017978 commit 9beb156
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/defguard-proxy/templates/ingress-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
name: {{ $fullName }}-grpc
labels:
{{- include "defguard-proxy.labels" . | nindent 4 }}
{{- with .Values.ingress.grpc.annotations }}
Expand Down
4 changes: 2 additions & 2 deletions charts/defguard-proxy/templates/ingress-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
name: {{ $fullName }}-web
labels:
{{- include "defguard-proxy.labels" . | nindent 4 }}
{{- with .Values.ingress.web.annotations }}
Expand Down Expand Up @@ -46,7 +46,7 @@ spec:
port:
number: {{ .Values.service.ports.http }}
{{- else }}
serviceName: {{ $fullName }}
serviceName: {{ $fullName }}-web
servicePort: {{ .Values.service.ports.http }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/defguard/templates/ingress-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
name: {{ $fullName }}-grpc
labels:
{{- include "defguard.labels" . | nindent 4 }}
{{- with .Values.ingress.grpc.annotations }}
Expand Down
2 changes: 1 addition & 1 deletion charts/defguard/templates/ingress-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
name: {{ $fullName }}-web
labels:
{{- include "defguard.labels" . | nindent 4 }}
{{- with .Values.ingress.web.annotations }}
Expand Down

0 comments on commit 9beb156

Please sign in to comment.