Default to Recreate for update strategy

This commit is contained in:
Stavros kois
2022-12-09 14:13:40 +02:00
parent 256c393fab
commit 32b529bc7b
36 changed files with 10 additions and 8 deletions

View File

@@ -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: 2208.0.0
version: 2212.0.0
# 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

View File

@@ -153,7 +153,7 @@ questions:
schema:
type: string
show_if: [["workloadType", "=", "Deployment"]]
default: "RollingUpdate"
default: "Recreate"
enum:
- value: "RollingUpdate"
description: "Create new pods and then kill old ones"
@@ -162,7 +162,7 @@ questions:
# Restart Policy
- variable: jobRestartPolicy
description: "Restart Policy for workload"
description: "Restart Policy for Job"
label: "Restart Policy"
group: "Restart Policy"
schema:
@@ -645,4 +645,4 @@ questions:
type: string
show_if: [["enableResourceLimits", "=", true]]
valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
default: "8Gi"
default: "8Gi"

View File

@@ -8,6 +8,7 @@ image:
# Restart / Update policy
updateStrategy: RollingUpdate
jobRestartPolicy: OnFailure
# Container CMD / entrypoint
containerCommand: []

View File

@@ -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: 2208.0.0
version: 2212.0.0
# 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

View File

@@ -153,7 +153,7 @@ questions:
schema:
type: string
show_if: [["workloadType", "=", "Deployment"]]
default: "RollingUpdate"
default: "Recreate"
enum:
- value: "RollingUpdate"
description: "Create new pods and then kill old ones"
@@ -162,7 +162,7 @@ questions:
# Restart Policy
- variable: jobRestartPolicy
description: "Restart Policy for workload"
description: "Restart Policy for Job"
label: "Restart Policy"
group: "Restart Policy"
schema:
@@ -645,4 +645,4 @@ questions:
type: string
show_if: [["enableResourceLimits", "=", true]]
valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
default: "8Gi"
default: "8Gi"

View File

@@ -8,6 +8,7 @@ image:
# Restart / Update policy
updateStrategy: RollingUpdate
jobRestartPolicy: OnFailure
# Container CMD / entrypoint
containerCommand: []