mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 17:29:46 +08:00
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:
Binary file not shown.
@@ -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
|
||||
BIN
charts/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
Normal file
BIN
charts/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
Normal file
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.
@@ -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
|
||||
BIN
test/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
Normal file
BIN
test/ix-chart/2111.0.1/charts/common-2105.0.0.tgz
Normal file
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:
|
||||
Reference in New Issue
Block a user