Update k8s manifests
This commit is contained in:
parent
6dddf1fff4
commit
b064f6d1ce
@ -29,12 +29,6 @@ data:
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Install reprepro (one-time, cached in PVC)
|
||||
if ! command -v reprepro &>/dev/null; then
|
||||
apt-get update && apt-get install -y --no-install-recommends reprepro gpg gpg-agent
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
fi
|
||||
|
||||
# Import GPG key
|
||||
gpg --batch --import /gpg/private.key 2>/dev/null || true
|
||||
|
||||
@ -90,7 +84,7 @@ spec:
|
||||
mountPath: /usr/share/nginx/html
|
||||
readOnly: true
|
||||
- name: reprepro
|
||||
image: debian:trixie
|
||||
image: harbor.n0ball.tw/infra/reprepro:latest
|
||||
command: ["bash", "/config/init.sh"]
|
||||
volumeMounts:
|
||||
- name: repo-data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user