harbor: preserve required volume mounts
This commit is contained in:
parent
9743064ad3
commit
22e3004b0a
@ -369,15 +369,19 @@ spec:
|
||||
- configMapRef:
|
||||
name: harbor-core
|
||||
volumeMounts:
|
||||
- $patch: replace
|
||||
- name: harbor-vault-entrypoint
|
||||
mountPath: /entrypoint.sh
|
||||
subPath: vault-entrypoint.sh
|
||||
- name: secret-key
|
||||
$patch: delete
|
||||
- name: token-service-private-key
|
||||
$patch: delete
|
||||
- name: core-writable
|
||||
mountPath: /etc/core
|
||||
- name: config
|
||||
mountPath: /etc/core/app.conf
|
||||
subPath: app.conf
|
||||
- name: ca-download
|
||||
mountPath: /etc/core/ca
|
||||
- name: psc
|
||||
mountPath: /etc/core/token
|
||||
volumes:
|
||||
- name: harbor-vault-entrypoint
|
||||
configMap:
|
||||
@ -415,9 +419,15 @@ spec:
|
||||
- configMapRef:
|
||||
name: harbor-jobservice-env
|
||||
volumeMounts:
|
||||
- $patch: replace
|
||||
- name: harbor-vault-entrypoint
|
||||
mountPath: /entrypoint.sh
|
||||
subPath: vault-entrypoint.sh
|
||||
- name: jobservice-config
|
||||
mountPath: /etc/jobservice/config.yml
|
||||
subPath: config.yml
|
||||
- name: job-logs
|
||||
mountPath: /var/log/jobs
|
||||
volumes:
|
||||
- name: harbor-vault-entrypoint
|
||||
configMap:
|
||||
@ -449,13 +459,17 @@ spec:
|
||||
envFrom:
|
||||
- $patch: replace
|
||||
volumeMounts:
|
||||
- $patch: replace
|
||||
- name: harbor-vault-entrypoint
|
||||
mountPath: /entrypoint.sh
|
||||
subPath: vault-entrypoint.sh
|
||||
- name: registry-htpasswd
|
||||
$patch: delete
|
||||
- name: registry-writable
|
||||
mountPath: /etc/registry
|
||||
- name: registry-config
|
||||
mountPath: /etc/registry/config.yml
|
||||
subPath: config.yml
|
||||
- name: registry-data
|
||||
mountPath: /storage
|
||||
- name: registryctl
|
||||
command:
|
||||
- /entrypoint.sh
|
||||
@ -470,9 +484,18 @@ spec:
|
||||
- configMapRef:
|
||||
name: harbor-registryctl
|
||||
volumeMounts:
|
||||
- $patch: replace
|
||||
- name: harbor-vault-entrypoint
|
||||
mountPath: /entrypoint.sh
|
||||
subPath: vault-entrypoint.sh
|
||||
- name: registry-config
|
||||
mountPath: /etc/registry/config.yml
|
||||
subPath: config.yml
|
||||
- name: registry-config
|
||||
mountPath: /etc/registryctl/config.yml
|
||||
subPath: ctl-config.yml
|
||||
- name: registry-data
|
||||
mountPath: /storage
|
||||
volumes:
|
||||
- name: harbor-vault-entrypoint
|
||||
configMap:
|
||||
@ -541,9 +564,13 @@ spec:
|
||||
- configMapRef:
|
||||
name: harbor-core
|
||||
volumeMounts:
|
||||
- $patch: replace
|
||||
- name: harbor-vault-entrypoint
|
||||
mountPath: /entrypoint.sh
|
||||
subPath: vault-entrypoint.sh
|
||||
- name: config
|
||||
mountPath: /etc/core/app.conf
|
||||
subPath: app.conf
|
||||
volumes:
|
||||
- name: harbor-vault-entrypoint
|
||||
configMap:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user