Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
barry cho
Rancher
Commits
100198af
Unverified
Commit
100198af
authored
4 years ago
by
Caleb Bron
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #29887 from cbron/revert-ingress-version
revert ingress bump [2.5]
parents
94397a0c
9b9aeff7
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
chart/templates/ingress.yaml
+1
-15
chart/templates/ingress.yaml
with
1 addition
and
15 deletions
+1
-15
chart/templates/ingress.yaml
+
1
-
15
View file @
100198af
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
apiVersion
:
networking.k8s.io/v1
{{
- else
}}
apiVersion
:
networking.k8s.io/v1beta1
{{
- end
}}
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
{{
template "rancher.fullname" .
}}
...
...
@@ -38,18 +34,8 @@ spec:
http
:
paths
:
-
backend
:
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
service
:
name
:
{{
template "rancher.fullname" .
}}
port
:
number
:
80
{{
- else
}}
serviceName
:
{{
template "rancher.fullname" .
}}
servicePort
:
80
{{
- end
}}
{{
- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress"
}}
pathType
:
ImplementationSpecific
{{
- end
}}
{{
- if eq .Values.tls "ingress"
}}
tls
:
-
hosts
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help