Skip to content

Commit

Permalink
helm update
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar-devops committed Jul 1, 2024
1 parent 778e445 commit b4406dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
16 changes: 1 addition & 15 deletions helm/bold-common/templates/kong_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,14 @@ metadata:
kubernetes.io/ingress.class: kong
spec:
{{- if eq (split ":" .Values.appBaseUrl)._0 "https" }}
tls:
{{- if .Values.loadBalancer.multipleHost }}
{{- range $host := .Values.loadBalancer.multipleHost.hostArray }}
- hosts:
{{- range $dns := $host.hosts }}
- {{ $dns }}
{{- end }}
secretName: {{ $host.secretName }}
{{- end }}
{{- else }}
tls:
- hosts:
- {{ (split "/" .Values.appBaseUrl)._2 }}
secretName: {{ .Values.loadBalancer.singleHost.secretName }}
{{- end }}
{{- end }}
rules:
{{- if .Values.loadBalancer.multipleHost }}
- http:
{{- else }}
- host: {{ (split "/" .Values.appBaseUrl)._2 }}
http:
{{- end }}
paths:
- path: /
pathType: Prefix
Expand Down
10 changes: 0 additions & 10 deletions helm/boldbi/templates/kong_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,9 @@ metadata:
spec:
{{- if eq (split ":" .Values.appBaseUrl)._0 "https" }}
tls:
{{- if .Values.loadBalancer.multipleHost }}
{{- range $host := .Values.loadBalancer.multipleHost.hostArray }}
- hosts:
{{- range $dns := $host.hosts }}
- {{ $dns }}
{{- end }}
secretName: {{ $host.secretName }}
{{- end }}
{{- else }}
- hosts:
- {{ (split "/" .Values.appBaseUrl)._2 }}
secretName: {{ .Values.loadBalancer.singleHost.secretName }}
{{- end }}
{{- end }}
rules:
{{- if .Values.loadBalancer.multipleHost }}
Expand Down

0 comments on commit b4406dc

Please sign in to comment.