diff --git a/charts/ix-chart/2212.0.0/.helmignore b/charts/ix-chart/2212.0.1/.helmignore similarity index 100% rename from charts/ix-chart/2212.0.0/.helmignore rename to charts/ix-chart/2212.0.1/.helmignore diff --git a/charts/ix-chart/2212.0.0/Chart.lock b/charts/ix-chart/2212.0.1/Chart.lock similarity index 100% rename from charts/ix-chart/2212.0.0/Chart.lock rename to charts/ix-chart/2212.0.1/Chart.lock diff --git a/charts/ix-chart/2212.0.0/Chart.yaml b/charts/ix-chart/2212.0.1/Chart.yaml similarity index 98% rename from charts/ix-chart/2212.0.0/Chart.yaml rename to charts/ix-chart/2212.0.1/Chart.yaml index c1f4defb8e..8cd49e0837 100644 --- a/charts/ix-chart/2212.0.0/Chart.yaml +++ b/charts/ix-chart/2212.0.1/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2212.0.0 +version: 2212.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/ix-chart/2212.0.0/README.md b/charts/ix-chart/2212.0.1/README.md similarity index 100% rename from charts/ix-chart/2212.0.0/README.md rename to charts/ix-chart/2212.0.1/README.md diff --git a/charts/ix-chart/2212.0.0/app-readme.md b/charts/ix-chart/2212.0.1/app-readme.md similarity index 100% rename from charts/ix-chart/2212.0.0/app-readme.md rename to charts/ix-chart/2212.0.1/app-readme.md diff --git a/charts/ix-chart/2212.0.0/charts/common-2207.0.0.tgz b/charts/ix-chart/2212.0.1/charts/common-2207.0.0.tgz similarity index 100% rename from charts/ix-chart/2212.0.0/charts/common-2207.0.0.tgz rename to charts/ix-chart/2212.0.1/charts/common-2207.0.0.tgz diff --git a/test/ix-chart/2212.0.0/questions.yaml b/charts/ix-chart/2212.0.1/questions.yaml similarity index 99% rename from test/ix-chart/2212.0.0/questions.yaml rename to charts/ix-chart/2212.0.1/questions.yaml index 0cfff6623b..bc46ac6c5d 100644 --- a/test/ix-chart/2212.0.0/questions.yaml +++ b/charts/ix-chart/2212.0.1/questions.yaml @@ -77,7 +77,6 @@ questions: description: "Specify port to be used for Portal access" schema: type: int - min: 9000 max: 65535 default: 15000 diff --git a/charts/ix-chart/2212.0.0/templates/NOTES.txt b/charts/ix-chart/2212.0.1/templates/NOTES.txt similarity index 100% rename from charts/ix-chart/2212.0.0/templates/NOTES.txt rename to charts/ix-chart/2212.0.1/templates/NOTES.txt diff --git a/charts/ix-chart/2212.0.0/templates/_containers.tpl b/charts/ix-chart/2212.0.1/templates/_containers.tpl similarity index 100% rename from charts/ix-chart/2212.0.0/templates/_containers.tpl rename to charts/ix-chart/2212.0.1/templates/_containers.tpl diff --git a/charts/ix-chart/2212.0.0/templates/_helpers.tpl b/charts/ix-chart/2212.0.1/templates/_helpers.tpl similarity index 100% rename from charts/ix-chart/2212.0.0/templates/_helpers.tpl rename to charts/ix-chart/2212.0.1/templates/_helpers.tpl diff --git a/test/ix-chart/2212.0.0/templates/_networking.tpl b/charts/ix-chart/2212.0.1/templates/_networking.tpl similarity index 63% rename from test/ix-chart/2212.0.0/templates/_networking.tpl rename to charts/ix-chart/2212.0.1/templates/_networking.tpl index 0c93117cbc..417397f10b 100644 --- a/test/ix-chart/2212.0.0/templates/_networking.tpl +++ b/charts/ix-chart/2212.0.1/templates/_networking.tpl @@ -21,3 +21,10 @@ Get configuration for host network {{- print "true" -}} {{- end -}} {{- end -}} + +{{/* Validate portal port */}} +{{- if .Values.enableUIPortal }} + {{- if and (not .Values.hostNetwork) (lt .Values.portalDetails.port 9000) }} + {{- fail (printf "Port (%d) is too low. Minimum allowed port is 9000." .Values.portalDetails.port) }} + {{- end }} +{{- end }} diff --git a/charts/ix-chart/2212.0.0/templates/_volumes.tpl b/charts/ix-chart/2212.0.1/templates/_volumes.tpl similarity index 100% rename from charts/ix-chart/2212.0.0/templates/_volumes.tpl rename to charts/ix-chart/2212.0.1/templates/_volumes.tpl diff --git a/charts/ix-chart/2212.0.0/templates/_workload.tpl b/charts/ix-chart/2212.0.1/templates/_workload.tpl similarity index 100% rename from charts/ix-chart/2212.0.0/templates/_workload.tpl rename to charts/ix-chart/2212.0.1/templates/_workload.tpl diff --git a/charts/ix-chart/2212.0.0/templates/external-interfaces.yaml b/charts/ix-chart/2212.0.1/templates/external-interfaces.yaml similarity index 100% rename from charts/ix-chart/2212.0.0/templates/external-interfaces.yaml rename to charts/ix-chart/2212.0.1/templates/external-interfaces.yaml diff --git a/charts/ix-chart/2212.0.0/templates/service.yaml b/charts/ix-chart/2212.0.1/templates/service.yaml similarity index 100% rename from charts/ix-chart/2212.0.0/templates/service.yaml rename to charts/ix-chart/2212.0.1/templates/service.yaml diff --git a/charts/ix-chart/2212.0.0/templates/tests/deployment-check.yaml b/charts/ix-chart/2212.0.1/templates/tests/deployment-check.yaml similarity index 100% rename from charts/ix-chart/2212.0.0/templates/tests/deployment-check.yaml rename to charts/ix-chart/2212.0.1/templates/tests/deployment-check.yaml diff --git a/charts/ix-chart/2212.0.0/templates/workload.yaml b/charts/ix-chart/2212.0.1/templates/workload.yaml similarity index 100% rename from charts/ix-chart/2212.0.0/templates/workload.yaml rename to charts/ix-chart/2212.0.1/templates/workload.yaml diff --git a/charts/ix-chart/2212.0.0/test_values.yaml b/charts/ix-chart/2212.0.1/test_values.yaml similarity index 100% rename from charts/ix-chart/2212.0.0/test_values.yaml rename to charts/ix-chart/2212.0.1/test_values.yaml diff --git a/test/ix-chart/2212.0.0/.helmignore b/test/ix-chart/2212.0.1/.helmignore similarity index 100% rename from test/ix-chart/2212.0.0/.helmignore rename to test/ix-chart/2212.0.1/.helmignore diff --git a/test/ix-chart/2212.0.0/Chart.lock b/test/ix-chart/2212.0.1/Chart.lock similarity index 100% rename from test/ix-chart/2212.0.0/Chart.lock rename to test/ix-chart/2212.0.1/Chart.lock diff --git a/test/ix-chart/2212.0.0/Chart.yaml b/test/ix-chart/2212.0.1/Chart.yaml similarity index 98% rename from test/ix-chart/2212.0.0/Chart.yaml rename to test/ix-chart/2212.0.1/Chart.yaml index c1f4defb8e..8cd49e0837 100644 --- a/test/ix-chart/2212.0.0/Chart.yaml +++ b/test/ix-chart/2212.0.1/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2212.0.0 +version: 2212.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/test/ix-chart/2212.0.0/README.md b/test/ix-chart/2212.0.1/README.md similarity index 100% rename from test/ix-chart/2212.0.0/README.md rename to test/ix-chart/2212.0.1/README.md diff --git a/test/ix-chart/2212.0.0/app-readme.md b/test/ix-chart/2212.0.1/app-readme.md similarity index 100% rename from test/ix-chart/2212.0.0/app-readme.md rename to test/ix-chart/2212.0.1/app-readme.md diff --git a/test/ix-chart/2212.0.0/charts/common-2207.0.0.tgz b/test/ix-chart/2212.0.1/charts/common-2207.0.0.tgz similarity index 100% rename from test/ix-chart/2212.0.0/charts/common-2207.0.0.tgz rename to test/ix-chart/2212.0.1/charts/common-2207.0.0.tgz diff --git a/charts/ix-chart/2212.0.0/questions.yaml b/test/ix-chart/2212.0.1/questions.yaml similarity index 99% rename from charts/ix-chart/2212.0.0/questions.yaml rename to test/ix-chart/2212.0.1/questions.yaml index 0cfff6623b..fc77ea49e1 100644 --- a/charts/ix-chart/2212.0.0/questions.yaml +++ b/test/ix-chart/2212.0.1/questions.yaml @@ -427,7 +427,6 @@ questions: schema: type: int required: true - min: 9000 max: 65535 - variable: protocol label: "Protocol" diff --git a/test/ix-chart/2212.0.0/templates/NOTES.txt b/test/ix-chart/2212.0.1/templates/NOTES.txt similarity index 100% rename from test/ix-chart/2212.0.0/templates/NOTES.txt rename to test/ix-chart/2212.0.1/templates/NOTES.txt diff --git a/test/ix-chart/2212.0.0/templates/_containers.tpl b/test/ix-chart/2212.0.1/templates/_containers.tpl similarity index 100% rename from test/ix-chart/2212.0.0/templates/_containers.tpl rename to test/ix-chart/2212.0.1/templates/_containers.tpl diff --git a/test/ix-chart/2212.0.0/templates/_helpers.tpl b/test/ix-chart/2212.0.1/templates/_helpers.tpl similarity index 100% rename from test/ix-chart/2212.0.0/templates/_helpers.tpl rename to test/ix-chart/2212.0.1/templates/_helpers.tpl diff --git a/charts/ix-chart/2212.0.0/templates/_networking.tpl b/test/ix-chart/2212.0.1/templates/_networking.tpl similarity index 63% rename from charts/ix-chart/2212.0.0/templates/_networking.tpl rename to test/ix-chart/2212.0.1/templates/_networking.tpl index 0c93117cbc..417397f10b 100644 --- a/charts/ix-chart/2212.0.0/templates/_networking.tpl +++ b/test/ix-chart/2212.0.1/templates/_networking.tpl @@ -21,3 +21,10 @@ Get configuration for host network {{- print "true" -}} {{- end -}} {{- end -}} + +{{/* Validate portal port */}} +{{- if .Values.enableUIPortal }} + {{- if and (not .Values.hostNetwork) (lt .Values.portalDetails.port 9000) }} + {{- fail (printf "Port (%d) is too low. Minimum allowed port is 9000." .Values.portalDetails.port) }} + {{- end }} +{{- end }} diff --git a/test/ix-chart/2212.0.0/templates/_volumes.tpl b/test/ix-chart/2212.0.1/templates/_volumes.tpl similarity index 100% rename from test/ix-chart/2212.0.0/templates/_volumes.tpl rename to test/ix-chart/2212.0.1/templates/_volumes.tpl diff --git a/test/ix-chart/2212.0.0/templates/_workload.tpl b/test/ix-chart/2212.0.1/templates/_workload.tpl similarity index 100% rename from test/ix-chart/2212.0.0/templates/_workload.tpl rename to test/ix-chart/2212.0.1/templates/_workload.tpl diff --git a/test/ix-chart/2212.0.0/templates/external-interfaces.yaml b/test/ix-chart/2212.0.1/templates/external-interfaces.yaml similarity index 100% rename from test/ix-chart/2212.0.0/templates/external-interfaces.yaml rename to test/ix-chart/2212.0.1/templates/external-interfaces.yaml diff --git a/test/ix-chart/2212.0.0/templates/service.yaml b/test/ix-chart/2212.0.1/templates/service.yaml similarity index 100% rename from test/ix-chart/2212.0.0/templates/service.yaml rename to test/ix-chart/2212.0.1/templates/service.yaml diff --git a/test/ix-chart/2212.0.0/templates/tests/deployment-check.yaml b/test/ix-chart/2212.0.1/templates/tests/deployment-check.yaml similarity index 100% rename from test/ix-chart/2212.0.0/templates/tests/deployment-check.yaml rename to test/ix-chart/2212.0.1/templates/tests/deployment-check.yaml diff --git a/test/ix-chart/2212.0.0/templates/workload.yaml b/test/ix-chart/2212.0.1/templates/workload.yaml similarity index 100% rename from test/ix-chart/2212.0.0/templates/workload.yaml rename to test/ix-chart/2212.0.1/templates/workload.yaml diff --git a/test/ix-chart/2212.0.0/test_values.yaml b/test/ix-chart/2212.0.1/test_values.yaml similarity index 100% rename from test/ix-chart/2212.0.0/test_values.yaml rename to test/ix-chart/2212.0.1/test_values.yaml