Skip to content

Commit

Permalink
Merge pull request #617 from dark-vex/ddl/fix/fix-harbor
Browse files Browse the repository at this point in the history
fix(kubenuc,harbor): Fix helm upgrade error message

Signed-off-by: Daniele De Lorenzi <[email protected]>
  • Loading branch information
dark-vex committed Aug 22, 2024
2 parents 25c8110 + 4502a74 commit f4f81f4
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions clusters/kubenuc/apps/harbor/manifests/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
metrics:
enabled: "true"
enabled: true
# registry:
# podAnnotations:
# prometheus.io/scrape: "true"
Expand All @@ -67,7 +67,7 @@ spec:
hosts:
core: "harbor.ddlns.net"
tls:
enabled: "true"
enabled: true
secretName: "harbor-ingress-certificate"
type: ingress
database:
Expand Down Expand Up @@ -95,34 +95,34 @@ spec:
persistentVolumeClaim:
redis:
storageClass: longhorn
postRenderers:
- kustomize:
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
##postRenderers:
## - kustomize:
## 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 f4f81f4

Please sign in to comment.