Skip to content

Commit

Permalink
Merge pull request #2 from spoved/app-ingress
Browse files Browse the repository at this point in the history
update ingress
  • Loading branch information
kalinon authored Jun 23, 2021
2 parents b12bffb + 480896f commit f391e43
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
- name: Holden Omans
email: [email protected]
# Please make sure that version and appVersion are always the same.
version: 0.1.1
appVersion: 0.1.1
version: 0.1.2
appVersion: 0.1.2
10 changes: 5 additions & 5 deletions charts/app/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ spec:
http:
paths:
{{- range .paths }}
- path: {{ . }}
- path: {{ .path }}
{{- if semverCompare ">=1.19-0" $k8sver }}
pathType: ImplementationSpecific
backend:
service:
name: {{ $fullName }}
name: {{ default $fullName .serviceName }}
port:
name: {{ $portName }}
name: {{ default $portName .servicePort }}
{{- else }}
backend:
serviceName: {{ $fullName }}
servicePort: {{ $portName }}
serviceName: {{ default $fullName .serviceName }}
servicePort: {{ default $portName .servicePort }}
{{- end }}
{{- end }}
{{- $portName = "http" -}}
Expand Down
1 change: 1 addition & 0 deletions ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ chart-dirs:
helm-extra-args: --timeout 600s
chart-repos:
- ndustrial=https://spoved.github.io/charts
validate-maintainers: false

0 comments on commit f391e43

Please sign in to comment.