Skip to content

Commit

Permalink
Merge pull request #17 from rancher/janeczku-patch-2
Browse files Browse the repository at this point in the history
Bump deprecated beta ingress API version
  • Loading branch information
bashofmann authored Jun 17, 2022
2 parents 7aae8c6 + 531393a commit 8190b3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/rancher-demo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.6
description: Rancher demo application, web UI showing scale of containers
name: rancher-demo
version: 2.1.6
version: 2.1.7
icon: https://rancher.com/img/brand-guidelines/assets/logos/png/color/rancher-logo-stacked-color.png
maintainers:
- name: Rancher
Expand Down
12 changes: 8 additions & 4 deletions charts/rancher-demo/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "rancher-demo.fullname" . -}}
{{- $ingressPaths := .Values.ingress.paths -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
Expand Down Expand Up @@ -29,7 +29,11 @@ spec:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- backend:
serviceName: {{ $fullName }}
servicePort: http
- pathType: Prefix
path: "/"
backend:
service:
name: {{ $fullName }}
port:
name: http
{{- end }}

0 comments on commit 8190b3f

Please sign in to comment.