Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed Jun 23, 2021
1 parent f391e43 commit f9a3459
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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.2
appVersion: 0.1.2
version: 0.1.3
appVersion: 0.1.3
9 changes: 7 additions & 2 deletions charts/app/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ spec:
{{- if semverCompare ">=1.19-0" $k8sver }}
pathType: ImplementationSpecific
backend:
{{- if hasKey . "service" }}
service:
name: {{ default $fullName .serviceName }}
{{- toYaml .service | nindent 16 }}
{{- else }}
service:
name: {{ $fullName }}
port:
name: {{ default $portName .servicePort }}
name: {{ $portName }}
{{- end }}
{{- else }}
backend:
serviceName: {{ default $fullName .serviceName }}
Expand Down

0 comments on commit f9a3459

Please sign in to comment.