harbor: fix ingress patch placement

This commit is contained in:
Brad Stein 2026-01-22 13:31:12 -03:00
parent d9695d32f6
commit 3fc17b0c7c

View File

@ -378,16 +378,6 @@ spec:
subPath: app.conf
- name: ca-download
mountPath: /etc/core/ca
- target:
kind: Ingress
name: harbor-ingress
patch: |-
- op: replace
path: /spec/rules/0/http/paths/2/backend/service/name
value: harbor-registry
- op: replace
path: /spec/rules/0/http/paths/2/backend/service/port/number
value: 5000
- name: psc
mountPath: /etc/core/token
volumes:
@ -401,6 +391,16 @@ spec:
$patch: delete
- name: core-writable
emptyDir: {}
- target:
kind: Ingress
name: harbor-ingress
patch: |-
- op: replace
path: /spec/rules/0/http/paths/2/backend/service/name
value: harbor-registry
- op: replace
path: /spec/rules/0/http/paths/2/backend/service/port/number
value: 5000
- target:
kind: Deployment
name: harbor-jobservice