File tree 6 files changed +14
-1
lines changed
6 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 1.1.0-next.1
18
+ version : 1.1.0-next.2
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change
1
+ {{- if .Values.landingPage.enabled }}
1
2
{{- $logoFileExtension := tpl (.Values.landingPage.logoFileExtension | toString) . -}}
2
3
apiVersion : v1
3
4
kind : ConfigMap
@@ -48,3 +49,4 @@ binaryData:
48
49
{{ printf "logo.%s: " $logoFileExtension }}{{ $.Files.Get $path | b64enc }}
49
50
{{ end }}
50
51
{{- end }}
52
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.landingPage.enabled }}
1
2
{{- if .Values.hosts.usePaths }}
2
3
apiVersion : networking.k8s.io/v1
3
4
kind : Ingress
41
42
number : 80
42
43
path : /{{ if .Values.hosts.configuration.landing }}{{ tpl (.Values.hosts.configuration.landing | toString) . }}(/|$)(.*){{ end }}
43
44
pathType : Prefix
45
+ {{- end }}
44
46
{{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.landingPage.enabled }}
1
2
{{- if not .Values.hosts.usePaths }}
2
3
apiVersion : networking.k8s.io/v1
3
4
kind : Ingress
34
35
number : 80
35
36
path : /
36
37
pathType : Prefix
38
+ {{- end }}
37
39
{{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.landingPage.enabled }}
1
2
{{- $logoFileName := printf "logo.%s" (tpl (.Values.landingPage.logoFileExtension | toString) .) -}}
2
3
apiVersion : apps/v1
3
4
kind : Deployment
48
49
- name : landing-page-config
49
50
configMap :
50
51
name : landing-page-config
52
+ {{- end}}
51
53
---
54
+ {{- if .Values.landingPage.enabled }}
52
55
apiVersion : v1
53
56
kind : Service
54
57
metadata :
65
68
protocol : TCP
66
69
port : 80
67
70
targetPort : 80
71
+ {{- end }}
Original file line number Diff line number Diff line change 90
90
# -- Values related to the landing page
91
91
# @default -- (see details below)
92
92
landingPage :
93
+ # -- Whether the landing page shall be enabled
94
+ enabled : true
95
+
93
96
# -- the landing page image to use
94
97
image : theiacloud/theia-cloud-landing-page:1.1.0-next
95
98
You can’t perform that action at this time.
0 commit comments