Skip to content

Commit

Permalink
update ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Apr 30, 2024
1 parent 7565695 commit 003a017
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions charts/cdefense/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,28 +135,28 @@ spec:
name: web
port:
number: 80
- host: {{ if .Values.uptime.hostname}}"{{.Values.uptime.hostname}}"{{- else }}"status.{{ .Values.domain }}"{{- end }}
{{ if .Values.recommendation.enabled }}
- host: {{ if .Values.recommendation.hostname }}"{{ .Values.recommendation.hostname }}"{{- else }}"recommendation.{{ .Values.domain }}"{{- end }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: uptime
name: recommendation
port:
number: 80
{{ if .Values.recommendation.enabled }}
- host: {{ if .Values.recommendation.hostname }}"{{ .Values.recommendation.hostname }}"{{- else }}"recommendation.{{ .Values.domain }}"{{- end }}
{{ end }}
- host: {{ if .Values.uptime.hostname}}"{{.Values.uptime.hostname}}"{{- else }}"status.{{ .Values.domain }}"{{- end }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: recommendation
name: uptime
port:
number: 80
{{ end }}
---
{{ if .Values.graphql.enabled }}
---
Expand Down

0 comments on commit 003a017

Please sign in to comment.