Skip to content

Commit

Permalink
Ingress pathtype if condition update (#2592)
Browse files Browse the repository at this point in the history
* added deault pathType for ingress in 4.x reference chart ingress.yaml

* edited ingress.yaml for 3.11 and 3.12

* edited ingress.yaml for reference charts

* deleted extra white spaces

* edited ingressInternal section for reference-chart_3-13-0

* edited pathType for ingressInternal

* updated if condituon for pathType in ingress.yaml

Co-authored-by: Shubham9t9 <[email protected]>
  • Loading branch information
Shubham9t9 and Shubham9t9 authored Nov 8, 2022
1 parent 2fe2d5d commit abc8021
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
http:
paths:
- path: {{ .Values.ingress.path }}
{{- if and .Values.ingress.pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.pathType | default "ImplementationSpecific" }}
{{- end }}
backend:
Expand Down

0 comments on commit abc8021

Please sign in to comment.