Skip to content

Commit

Permalink
[crapi] Fix incorrect ingress settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denan Musinovic committed Mar 28, 2024
1 parent d0ee10d commit 8bf2e89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/crapi/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ metadata:
spec:
tls:
- hosts:
- {{ include "crapi.fullname" . }}{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- {{ .Values.ingress.url }}
secretName: {{ if eq .Values.ingress.cert "" }}{{ include "crapi.fullname" . }}-crapi-web-secret{{ else }}{{ .Values.ingress.cert }}{{ end }}
rules:
- host: {{ include "crapi.fullname" . }}{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}
- host: {{ .Values.ingress.url }}
http:
paths:
- path: /
Expand Down
2 changes: 1 addition & 1 deletion charts/crapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.

ingress:
url: crapi.dev.vuln.nexploit.app
url: dev.vuln.nexploit.app
cert: ""
authlevel: "."

Expand Down

0 comments on commit 8bf2e89

Please sign in to comment.