Skip to content
Snippets Groups Projects
Verified Commit dd9e4813 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(goharbor): Adjust all deployments to recreate strategy

This patch makes sure that deployments no longer hang on multi-attach
errors, like the did just now. Using the recreate strategy should ensure
that storage mappings work out properly.
parent 62a6e00e
No related branches found
No related tags found
No related merge requests found
......@@ -28,3 +28,74 @@ spec:
# persistentVolumeClaim:
# registry:
# size: 5G
postRenderers:
# Instruct helm-controller to use built-in "kustomize" post renderer.
- kustomize:
# Array of inline strategic merge patch definitions as YAML object.
# Note, this is a YAML object and not a string, to avoid syntax
# indention errors.
patchesStrategicMerge:
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-registry
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-portal
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-notary-signer
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-notary-server
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-jobservice
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-exporter
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-core
namespace: goharbor
spec:
strategy:
type: Recreate
- kind: Deployment
apiVersion: apps/v1
metadata:
name: harbor-chartmuseum
namespace: goharbor
spec:
strategy:
type: Recreate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment