Compare commits

..

1 commit

Author SHA1 Message Date
184687dd5f
fix(apt-version-exporter): add init container to fetch architecture
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
2025-01-28 11:08:07 +01:00

View file

@ -60,11 +60,11 @@ spec:
readOnly: true readOnly: true
initContainers: initContainers:
- name: get-architecture - name: get-architecture
image: alpine:latest image: debian:12.9
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: [ command: [
"sh", "-c", "sh", "-c",
"apk update && apk add dpkg && dpkg --print-architecture | cut -d'-' -f3 > /var/lib/dpkg/arch" "dpkg --print-architecture > /var/lib/dpkg/arch"
] ]
volumeMounts: volumeMounts:
- mountPath: /var/lib/dpkg - mountPath: /var/lib/dpkg