Merge pull request #254 from truenas/NAS-113459

NAS-113459 / 22.02-RC.2 / Fix: Deployments w/ `hostNetwork=true` + `RollingUpdate`
This commit is contained in:
M. Rehan authored and GitHub committed 2021-12-06 19:00:39 +05:00
commit 23c694d55f
38 files changed
+6 -2

No files matched your search

Binary file not shown.
File renamed without changes.
File renamed without changes.
@@ -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
File renamed without changes.
Binary file not shown.
@@ -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:
Binary file not shown.
File renamed without changes.
File renamed without changes.
@@ -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
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
@@ -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: