Update k8s manifests
This commit is contained in:
parent
6dddf1fff4
commit
b064f6d1ce
@ -29,12 +29,6 @@ data:
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
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
|
# Import GPG key
|
||||||
gpg --batch --import /gpg/private.key 2>/dev/null || true
|
gpg --batch --import /gpg/private.key 2>/dev/null || true
|
||||||
|
|
||||||
@ -90,7 +84,7 @@ spec:
|
|||||||
mountPath: /usr/share/nginx/html
|
mountPath: /usr/share/nginx/html
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: reprepro
|
- name: reprepro
|
||||||
image: debian:trixie
|
image: harbor.n0ball.tw/infra/reprepro:latest
|
||||||
command: ["bash", "/config/init.sh"]
|
command: ["bash", "/config/init.sh"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: repo-data
|
- name: repo-data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user