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

Reviewed-on: #600
This commit is contained in:
Tom Neuber 2025-01-28 10:16:35 +01:00
commit dc228b5f23

View file

@ -39,6 +39,25 @@ spec:
requests:
cpu: 200m
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
tolerations:
- effect: NoSchedule
@ -47,3 +66,28 @@ spec:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
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