Procházet zdrojové kódy

Merge pull request #254 from truenas/NAS-113459

NAS-113459 / 22.02-RC.2 / Fix: Deployments w/ `hostNetwork=true` + `RollingUpdate`
M. Rehan před 3 roky
rodič
revize
23c694d55f
38 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. binární
      charts/ix-chart/2111.0.0/charts/common-2105.0.0.tgz
  2. 0 0
      charts/ix-chart/2111.0.1/.helmignore
  3. 0 0
      charts/ix-chart/2111.0.1/Chart.lock
  4. 1 1
      charts/ix-chart/2111.0.1/Chart.yaml
  5. 0 0
      charts/ix-chart/2111.0.1/README.md
  6. 0 0
      charts/ix-chart/2111.0.1/app-readme.md
  7. binární
      charts/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
  8. 0 0
      charts/ix-chart/2111.0.1/questions.yaml
  9. 0 0
      charts/ix-chart/2111.0.1/templates/NOTES.txt
  10. 0 0
      charts/ix-chart/2111.0.1/templates/_containers.tpl
  11. 0 0
      charts/ix-chart/2111.0.1/templates/_helpers.tpl
  12. 0 0
      charts/ix-chart/2111.0.1/templates/_networking.tpl
  13. 0 0
      charts/ix-chart/2111.0.1/templates/_volumes.tpl
  14. 2 0
      charts/ix-chart/2111.0.1/templates/_workload.tpl
  15. 0 0
      charts/ix-chart/2111.0.1/templates/external-interfaces.yaml
  16. 0 0
      charts/ix-chart/2111.0.1/templates/service.yaml
  17. 0 0
      charts/ix-chart/2111.0.1/templates/tests/deployment-check.yaml
  18. 0 0
      charts/ix-chart/2111.0.1/templates/workload.yaml
  19. 0 0
      charts/ix-chart/2111.0.1/test_values.yaml
  20. binární
      test/ix-chart/2111.0.0/charts/common-2105.0.0.tgz
  21. 0 0
      test/ix-chart/2111.0.1/.helmignore
  22. 0 0
      test/ix-chart/2111.0.1/Chart.lock
  23. 1 1
      test/ix-chart/2111.0.1/Chart.yaml
  24. 0 0
      test/ix-chart/2111.0.1/README.md
  25. 0 0
      test/ix-chart/2111.0.1/app-readme.md
  26. binární
      test/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
  27. 0 0
      test/ix-chart/2111.0.1/questions.yaml
  28. 0 0
      test/ix-chart/2111.0.1/templates/NOTES.txt
  29. 0 0
      test/ix-chart/2111.0.1/templates/_containers.tpl
  30. 0 0
      test/ix-chart/2111.0.1/templates/_helpers.tpl
  31. 0 0
      test/ix-chart/2111.0.1/templates/_networking.tpl
  32. 0 0
      test/ix-chart/2111.0.1/templates/_volumes.tpl
  33. 2 0
      test/ix-chart/2111.0.1/templates/_workload.tpl
  34. 0 0
      test/ix-chart/2111.0.1/templates/external-interfaces.yaml
  35. 0 0
      test/ix-chart/2111.0.1/templates/service.yaml
  36. 0 0
      test/ix-chart/2111.0.1/templates/tests/deployment-check.yaml
  37. 0 0
      test/ix-chart/2111.0.1/templates/workload.yaml
  38. 0 0
      test/ix-chart/2111.0.1/test_values.yaml

binární
charts/ix-chart/2111.0.0/charts/common-2105.0.0.tgz


+ 0 - 0
charts/ix-chart/2111.0.0/.helmignore → charts/ix-chart/2111.0.1/.helmignore


+ 0 - 0
charts/ix-chart/2111.0.0/Chart.lock → charts/ix-chart/2111.0.1/Chart.lock


+ 1 - 1
charts/ix-chart/2111.0.0/Chart.yaml → charts/ix-chart/2111.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: 2111.0.0
+version: 2111.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

+ 0 - 0
charts/ix-chart/2111.0.0/README.md → charts/ix-chart/2111.0.1/README.md


+ 0 - 0
charts/ix-chart/2111.0.0/app-readme.md → charts/ix-chart/2111.0.1/app-readme.md


binární
charts/ix-chart/2111.0.1/charts/common-2105.0.0.tgz


+ 0 - 0
charts/ix-chart/2111.0.0/questions.yaml → charts/ix-chart/2111.0.1/questions.yaml


+ 0 - 0
charts/ix-chart/2111.0.0/templates/NOTES.txt → charts/ix-chart/2111.0.1/templates/NOTES.txt


+ 0 - 0
charts/ix-chart/2111.0.0/templates/_containers.tpl → charts/ix-chart/2111.0.1/templates/_containers.tpl


+ 0 - 0
charts/ix-chart/2111.0.0/templates/_helpers.tpl → charts/ix-chart/2111.0.1/templates/_helpers.tpl


+ 0 - 0
charts/ix-chart/2111.0.0/templates/_networking.tpl → charts/ix-chart/2111.0.1/templates/_networking.tpl


+ 0 - 0
charts/ix-chart/2111.0.0/templates/_volumes.tpl → charts/ix-chart/2111.0.1/templates/_volumes.tpl


+ 2 - 0
charts/ix-chart/2111.0.0/templates/_workload.tpl → charts/ix-chart/2111.0.1/templates/_workload.tpl

@@ -102,6 +102,8 @@ Deployment Spec
 strategy:
   {{- if and (eq .Values.updateStrategy "RollingUpdate") .Values.hostPortsList }}
   {{- fail "RollingUpdate is not allowed when host ports are specified" }}
+  {{- else if and (eq .Values.updateStrategy "RollingUpdate") .Values.hostNetwork }}
+  {{- fail "RollingUpdate is not allowed when host network is enabled" }}
   {{- end }}
   type: {{ .Values.updateStrategy }}
 selector:

+ 0 - 0
charts/ix-chart/2111.0.0/templates/external-interfaces.yaml → charts/ix-chart/2111.0.1/templates/external-interfaces.yaml


+ 0 - 0
charts/ix-chart/2111.0.0/templates/service.yaml → charts/ix-chart/2111.0.1/templates/service.yaml


+ 0 - 0
charts/ix-chart/2111.0.0/templates/tests/deployment-check.yaml → charts/ix-chart/2111.0.1/templates/tests/deployment-check.yaml


+ 0 - 0
charts/ix-chart/2111.0.0/templates/workload.yaml → charts/ix-chart/2111.0.1/templates/workload.yaml


+ 0 - 0
charts/ix-chart/2111.0.0/test_values.yaml → charts/ix-chart/2111.0.1/test_values.yaml


binární
test/ix-chart/2111.0.0/charts/common-2105.0.0.tgz


+ 0 - 0
test/ix-chart/2111.0.0/.helmignore → test/ix-chart/2111.0.1/.helmignore


+ 0 - 0
test/ix-chart/2111.0.0/Chart.lock → test/ix-chart/2111.0.1/Chart.lock


+ 1 - 1
test/ix-chart/2111.0.0/Chart.yaml → test/ix-chart/2111.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: 2111.0.0
+version: 2111.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

+ 0 - 0
test/ix-chart/2111.0.0/README.md → test/ix-chart/2111.0.1/README.md


+ 0 - 0
test/ix-chart/2111.0.0/app-readme.md → test/ix-chart/2111.0.1/app-readme.md


binární
test/ix-chart/2111.0.1/charts/common-2105.0.0.tgz


+ 0 - 0
test/ix-chart/2111.0.0/questions.yaml → test/ix-chart/2111.0.1/questions.yaml


+ 0 - 0
test/ix-chart/2111.0.0/templates/NOTES.txt → test/ix-chart/2111.0.1/templates/NOTES.txt


+ 0 - 0
test/ix-chart/2111.0.0/templates/_containers.tpl → test/ix-chart/2111.0.1/templates/_containers.tpl


+ 0 - 0
test/ix-chart/2111.0.0/templates/_helpers.tpl → test/ix-chart/2111.0.1/templates/_helpers.tpl


+ 0 - 0
test/ix-chart/2111.0.0/templates/_networking.tpl → test/ix-chart/2111.0.1/templates/_networking.tpl


+ 0 - 0
test/ix-chart/2111.0.0/templates/_volumes.tpl → test/ix-chart/2111.0.1/templates/_volumes.tpl


+ 2 - 0
test/ix-chart/2111.0.0/templates/_workload.tpl → test/ix-chart/2111.0.1/templates/_workload.tpl

@@ -102,6 +102,8 @@ Deployment Spec
 strategy:
   {{- if and (eq .Values.updateStrategy "RollingUpdate") .Values.hostPortsList }}
   {{- fail "RollingUpdate is not allowed when host ports are specified" }}
+  {{- else if and (eq .Values.updateStrategy "RollingUpdate") .Values.hostNetwork }}
+  {{- fail "RollingUpdate is not allowed when host network is enabled" }}
   {{- end }}
   type: {{ .Values.updateStrategy }}
 selector:

+ 0 - 0
test/ix-chart/2111.0.0/templates/external-interfaces.yaml → test/ix-chart/2111.0.1/templates/external-interfaces.yaml


+ 0 - 0
test/ix-chart/2111.0.0/templates/service.yaml → test/ix-chart/2111.0.1/templates/service.yaml


+ 0 - 0
test/ix-chart/2111.0.0/templates/tests/deployment-check.yaml → test/ix-chart/2111.0.1/templates/tests/deployment-check.yaml


+ 0 - 0
test/ix-chart/2111.0.0/templates/workload.yaml → test/ix-chart/2111.0.1/templates/workload.yaml


+ 0 - 0
test/ix-chart/2111.0.0/test_values.yaml → test/ix-chart/2111.0.1/test_values.yaml