[bitnami/harbor] - Set updateStrategy for RWO mounts (#2396)

* Redo stale PR, fix deployment strategies

Signed-off-by: David Young <davidy@funkypenguin.co.nz>

* Bump minor version

* [bitnami/harbor] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Update values-production.yaml

Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Javier J. Salmerón-García <jsalmeron@vmware.com>
This commit is contained in:
David Young
2020-04-24 08:06:36 +12:00
committed by GitHub
parent 5e268b3cb3
commit b3c506a476
8 changed files with 76 additions and 26 deletions

View File

@@ -14,7 +14,7 @@
coreImage:
registry: docker.io
repository: bitnami/harbor-core
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -38,7 +38,7 @@ coreImage:
portalImage:
registry: docker.io
repository: bitnami/harbor-portal
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r15
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -62,7 +62,7 @@ portalImage:
jobserviceImage:
registry: docker.io
repository: bitnami/harbor-jobservice
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -86,7 +86,7 @@ jobserviceImage:
chartMuseumImage:
registry: docker.io
repository: bitnami/chartmuseum
tag: 0.12.0-debian-10-r26
tag: 0.12.0-debian-10-r28
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -110,7 +110,7 @@ chartMuseumImage:
registryImage:
registry: docker.io
repository: bitnami/harbor-registry
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -134,7 +134,7 @@ registryImage:
registryctlImage:
registry: docker.io
repository: bitnami/harbor-registryctl
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -158,7 +158,7 @@ registryctlImage:
clairImage:
registry: docker.io
repository: bitnami/harbor-clair
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -182,7 +182,7 @@ clairImage:
clairAdapterImage:
registry: docker.io
repository: bitnami/harbor-adapter-clair
tag: 1.0.2-debian-10-r8
tag: 1.0.2-debian-10-r9
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -206,7 +206,7 @@ clairAdapterImage:
notaryServerImage:
registry: docker.io
repository: bitnami/harbor-notary-server
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -230,7 +230,7 @@ notaryServerImage:
notarySignerImage:
registry: docker.io
repository: bitnami/harbor-notary-signer
tag: 1.10.2-debian-10-r13
tag: 1.10.2-debian-10-r14
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -254,7 +254,7 @@ notarySignerImage:
nginxImage:
registry: docker.io
repository: bitnami/nginx
tag: 1.16.1-debian-10-r94
tag: 1.16.1-debian-10-r95
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -806,6 +806,12 @@ core:
##
jobservice:
replicas: 1
## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
updateStrategy:
type: RollingUpdate
maxJobWorkers: 10
# The logger for jobs: "file", "database" or "stdout"
jobLogger: file
@@ -870,6 +876,12 @@ jobservice:
registry:
replicas: 1
## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
updateStrategy:
type: RollingUpdate
## Harbor Registry parameters
##
registry:
@@ -971,7 +983,15 @@ registry:
##
chartmuseum:
enabled: true
replicas: 1
## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
updateStrategy:
type: RollingUpdate
port: 8080
## Set the use of the Redis cache.