Merge pull request 'fix(apt-version-exporter): add necessary host files' (#600) from tn-add-apt-version-exporter into main
Some checks are pending
ci/woodpecker/push/yamllint Pipeline is pending
Some checks are pending
ci/woodpecker/push/yamllint Pipeline is pending
Reviewed-on: #600
This commit is contained in:
commit
dc228b5f23
1 changed files with 44 additions and 0 deletions
|
@ -39,6 +39,25 @@ spec:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 32Mi
|
memory: 32Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/dpkg
|
||||||
|
name: var-lib-dpkg
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /var/lib/apt
|
||||||
|
name: var-lib-apt
|
||||||
|
readOnly: false
|
||||||
|
- mountPath: /etc/apt
|
||||||
|
name: etc-apt
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /etc/ssl/certs
|
||||||
|
name: etc-ssl-certs
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /usr/share/ca-certificates
|
||||||
|
name: usr-share-ca-certificates
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /etc/ca-certificates.conf
|
||||||
|
name: etc-ca-certificates-conf
|
||||||
|
readOnly: true
|
||||||
serviceAccountName: apt-version-exporter-service-account
|
serviceAccountName: apt-version-exporter-service-account
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
|
@ -47,3 +66,28 @@ spec:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
key: node-role.kubernetes.io/control-plane
|
key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
volumes:
|
||||||
|
- hostPath:
|
||||||
|
path: /var/lib/dpkg
|
||||||
|
type: ""
|
||||||
|
name: var-lib-dpkg
|
||||||
|
- hostPath:
|
||||||
|
path: /var/lib/apt
|
||||||
|
type: ""
|
||||||
|
name: var-lib-apt
|
||||||
|
- hostPath:
|
||||||
|
path: /etc/apt
|
||||||
|
type: ""
|
||||||
|
name: etc-apt
|
||||||
|
- hostPath:
|
||||||
|
path: /etc/ssl/certs
|
||||||
|
type: ""
|
||||||
|
name: etc-ssl-certs
|
||||||
|
- hostPath:
|
||||||
|
path: /usr/share/ca-certificates
|
||||||
|
type: ""
|
||||||
|
name: usr-share-ca-certificates
|
||||||
|
- hostPath:
|
||||||
|
path: /etc/ca-certificates.conf
|
||||||
|
type: ""
|
||||||
|
name: etc-ca-certificates-conf
|
||||||
|
|
Loading…
Reference in a new issue