Skip to content

Commit de856eb

Browse files
authored
Fix conditionals templates (#53)
* Fix conditionals in templates * Bump chart version to 0.1.9
1 parent f7f1ba2 commit de856eb

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

charts/studio/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.8
18+
version: 0.1.9
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/studio/templates/NOTES.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
1. Get the application URL by running these commands:
22
{{- if .Values.studioUi.ingress.enabled }}
33
http{{ if $.Values.studioUi.ingress.tlsEnabled }}s{{ end }}://{{ .Values.studioUi.ingress.host }}/
4-
{{- end }}
54
{{- else if contains "NodePort" .Values.studioUi.service.type }}
65
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "studio.fullname" . }})
76
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")

charts/studio/templates/ingress-backend.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
http:
3838
paths:
3939
- path: /api
40-
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
40+
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
4141
pathType: ImplementationSpecific
4242
{{- end }}
4343
backend:

charts/studio/templates/ingress-ui.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
pathType: ImplementationSpecific
4242
{{- end }}
4343
backend:
44-
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
44+
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
4545
service:
4646
name: studio-ui
4747
port:

0 commit comments

Comments
 (0)