Commit a88c225 1 parent 3de5ef6 commit a88c225 Copy full SHA for a88c225
File tree 4 files changed +64
-62
lines changed
4 files changed +64
-62
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type: application
16
16
# This is the chart version. This version number should be incremented each time you make changes
17
17
# to the chart and its templates, including the app version.
18
18
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19
- version : 0.54.3
19
+ version : 0.55.0
20
20
21
21
# This is the version number of the application being deployed. This version number should be
22
22
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 39
39
{{- toYaml . | nindent 8 }}
40
40
{{- end }}
41
41
42
- {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
43
- rules :
44
- - host : " {{ .Values.kerberoshub.api.url }}"
45
- http :
46
- paths :
47
- - path : /
48
- backend :
49
- serviceName : hub-api-svc
50
- servicePort : 8081
51
- {{- if .Values.kerberoshub.api.legacyUrl }}
52
- - host : " {{ .Values.kerberoshub.api.legacyUrl }}"
53
- http :
54
- paths :
55
- - path : /
56
- backend :
57
- serviceName : hub-api-svc
58
- servicePort : 8081
59
- {{- end }}
60
- {{- else }}
42
+ {{ if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
61
43
rules :
62
44
- host : " {{ .Values.kerberoshub.api.url }}"
63
45
http :
91
73
name : hub-api-svc
92
74
port :
93
75
number : 80
94
- {{- end }}
76
+ {{ else }}
77
+ rules :
78
+ - host : " {{ .Values.kerberoshub.api.url }}"
79
+ http :
80
+ paths :
81
+ - path : /
82
+ backend :
83
+ serviceName : hub-api-svc
84
+ servicePort : 8081
85
+ {{- if .Values.kerberoshub.api.legacyUrl }}
86
+ - host : " {{ .Values.kerberoshub.api.legacyUrl }}"
87
+ http :
88
+ paths :
89
+ - path : /
90
+ backend :
91
+ serviceName : hub-api-svc
92
+ servicePort : 8081
93
+ {{- end }}
94
+ {{ end }}
95
95
---
96
96
apiVersion : apps/v1
97
97
kind : Deployment
Original file line number Diff line number Diff line change 35
35
{{- toYaml . | nindent 8 }}
36
36
{{- end }}
37
37
38
- {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
39
- rules :
40
- - host : " {{ .Values.kerberoshub.frontend.demoUrl }}"
41
- http :
42
- paths :
43
- - path : /
44
- backend :
45
- serviceName : hub-frontend-demo-svc
46
- servicePort : 80
47
- {{- else }}
38
+
39
+
40
+ {{ if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
48
41
rules :
49
42
- host : " {{ .Values.kerberoshub.frontend.demoUrl }}"
50
43
http :
56
49
name : hub-frontend-demo-svc
57
50
port :
58
51
number : 80
59
- {{- end }}
52
+ {{ else }}
53
+ rules :
54
+ - host : " {{ .Values.kerberoshub.frontend.demoUrl }}"
55
+ http :
56
+ paths :
57
+ - path : /
58
+ backend :
59
+ serviceName : hub-frontend-demo-svc
60
+ servicePort : 80
61
+ {{ end }}
60
62
---
61
63
apiVersion : apps/v1
62
64
kind : Deployment
Original file line number Diff line number Diff line change 34
34
tls :
35
35
{{- toYaml . | nindent 8 }}
36
36
{{- end }}
37
-
38
- {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
39
- rules :
40
- - host : " {{ .Values.kerberoshub.frontend.url }}"
41
- http :
42
- paths :
43
- - path : /
44
- backend :
45
- serviceName : hub-frontend-svc
46
- servicePort : 80
47
- {{- if .Values.kerberoshub.frontend.legacyUrl }}
48
- - host : " {{ .Values.kerberoshub.frontend.legacyUrl }}"
49
- http :
50
- paths :
51
- - path : /
52
- backend :
53
- serviceName : hub-frontend-svc
54
- servicePort : 80
55
- {{- end }}
56
- {{- range .Values.kerberoshub.frontend.domains }}
57
- - host : " {{ . }}"
58
- http :
59
- paths :
60
- - path : /
61
- backend :
62
- serviceName : hub-frontend-svc
63
- servicePort : 80
64
- {{- end }}
65
- {{- else }}
37
+ {{ if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
66
38
rules :
67
39
- host : " {{ .Values.kerberoshub.frontend.url }}"
68
40
http :
98
70
port :
99
71
number : 80
100
72
{{- end }}
101
- {{- end }}
73
+
74
+ {{ else }}
75
+ rules :
76
+ - host : " {{ .Values.kerberoshub.frontend.url }}"
77
+ http :
78
+ paths :
79
+ - path : /
80
+ backend :
81
+ serviceName : hub-frontend-svc
82
+ servicePort : 80
83
+ {{- if .Values.kerberoshub.frontend.legacyUrl }}
84
+ - host : " {{ .Values.kerberoshub.frontend.legacyUrl }}"
85
+ http :
86
+ paths :
87
+ - path : /
88
+ backend :
89
+ serviceName : hub-frontend-svc
90
+ servicePort : 80
91
+ {{- end }}
92
+ {{- range .Values.kerberoshub.frontend.domains }}
93
+ - host : " {{ . }}"
94
+ http :
95
+ paths :
96
+ - path : /
97
+ backend :
98
+ serviceName : hub-frontend-svc
99
+ servicePort : 80
100
+ {{- end }}
101
+ {{ end }}
102
102
---
103
103
apiVersion : apps/v1
104
104
kind : Deployment
You can’t perform that action at this time.
0 commit comments