Skip to content

Commit

Permalink
Merge pull request #611 from dark-vex/ddl/kubenuc/harbor
Browse files Browse the repository at this point in the history
chore(kubenuc,harbor): Patch harbor-core and harbor-portal update strategy
  • Loading branch information
dark-vex authored Aug 7, 2024
2 parents af2510d + 48d5312 commit acc4a7d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions clusters/kubenuc/apps/harbor/manifests/updatestrategy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: harbor-update-strategy
namespace: flux-system
spec:
dependsOn:
- name: harbor
patches:
- patch: |
- op: replace
path: /spec/strategy/rollingUpdate/maxSurge
value: 1
target:
kind: Deployment
name: harbor-core
- patch: |
- op: replace
path: /spec/strategy/rollingUpdate/maxUnavailable
value: 1
target:
kind: Deployment
name: harbor-core
- patch: |
- op: replace
path: /spec/strategy/rollingUpdate/maxSurge
value: 1
target:
kind: Deployment
name: harbor-portal
- patch: |
- op: replace
path: /spec/strategy/rollingUpdate/maxUnavailable
value: 1
target:
kind: Deployment
name: harbor-portal

0 comments on commit acc4a7d

Please sign in to comment.