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

feat(goharbor): Add PDB for registry

This patch adds a PDB to make sure the registry becomes HA (ignoring)
the possiblity of a missing database container.
parent ca7b18ca
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,6 @@ kind: Kustomization ...@@ -3,5 +3,6 @@ kind: Kustomization
resources: resources:
- ../../base/goharbor - ../../base/goharbor
- certificate.yaml - certificate.yaml
- poddisruptionbudget.yaml
patchesStrategicMerge: patchesStrategicMerge:
- goharbor-values.yaml - goharbor-values.yaml
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: harbor-registry-pdb
namespace: goharbor
spec:
minAvailable: 1
selector:
matchLabels:
app: harbor
component: registry
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