harbor: fix ingress patch placement
This commit is contained in:
parent
d9695d32f6
commit
3fc17b0c7c
@ -378,16 +378,6 @@ spec:
|
|||||||
subPath: app.conf
|
subPath: app.conf
|
||||||
- name: ca-download
|
- name: ca-download
|
||||||
mountPath: /etc/core/ca
|
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
|
- name: psc
|
||||||
mountPath: /etc/core/token
|
mountPath: /etc/core/token
|
||||||
volumes:
|
volumes:
|
||||||
@ -401,6 +391,16 @@ spec:
|
|||||||
$patch: delete
|
$patch: delete
|
||||||
- name: core-writable
|
- name: core-writable
|
||||||
emptyDir: {}
|
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:
|
- target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: harbor-jobservice
|
name: harbor-jobservice
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user