harbor: fix ingress patch placement
This commit is contained in:
parent
d9695d32f6
commit
3fc17b0c7c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user