Skip to content

Commit

Permalink
fix: use new ingress spefification
Browse files Browse the repository at this point in the history
chore: remove annotation

chore: fix trailing
  • Loading branch information
zbindenren committed Oct 25, 2022
1 parent 5383aa7 commit fe16f43
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions helm/kubenurse/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,21 @@ kind: Ingress
metadata:
labels:
{{ include "common-labels" . | indent 4 }}
annotations:
kubernetes.io/ingress.class: {{ .Values.ingress.className }}
name: {{ include "name" . | quote }}
namespace: {{ .Values.namespace }}
spec:
tls:
- hosts:
- {{ .Values.ingress.url }}
ingressClassName: {{ .Values.ingress.className }}
rules:
- host: {{ .Values.ingress.url }}
http:
paths:
- path: /
pathType: Prefix
backend:
- backend:
service:
name: {{ include "name" . | quote }}
port:
number: {{ .Values.service.port }}
path: /
pathType: Prefix
tls:
- hosts:
- {{ .Values.ingress.url }}

0 comments on commit fe16f43

Please sign in to comment.