Files
archrepo/k8s/deploy.archrepo.yaml
ytshih 840b669479
All checks were successful
Build image and deploy / release-image (push) Successful in 1m51s
Build image and deploy / deploy (push) Successful in 47s
Change: kubectl and service image
2024-10-18 16:27:15 +00:00

38 lines
786 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: archrepo
namespace: archrepo
labels:
app: archrepo
spec:
replicas: 1
selector:
matchLabels:
app: archrepo
template:
metadata:
labels:
app: archrepo
spec:
containers:
- name: repo
image: gitea.konchin.com/service/archrepo:latest
ports:
- name: http
containerPort: 80
env:
- name: MINIO_ACCESSKEY
valueFrom:
secretKeyRef:
name: archrepo
key: MINIO_ACCESSKEY
- name: MINIO_SECRETKEY
valueFrom:
secretKeyRef:
name: archrepo
key: MINIO_SECRETKEY
imagePullSecrets:
- name: regcred