diff --git a/apt-version-exporter/daemonset.yaml b/apt-version-exporter/daemonset.yaml index 3c223df..f1afd55 100644 --- a/apt-version-exporter/daemonset.yaml +++ b/apt-version-exporter/daemonset.yaml @@ -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