initial commit
All checks were successful
release-tag / release-image (push) Successful in 1m49s

This commit is contained in:
2024-10-15 03:50:35 +00:00
commit 44a0227ab1
12 changed files with 1793 additions and 0 deletions

37
k8s/deploy.archrepo.yaml Normal file
View File

@@ -0,0 +1,37 @@
---
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/services/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

16
k8s/svc.archrepo.yaml Normal file
View File

@@ -0,0 +1,16 @@
---
apiVersion: v1
kind: Service
metadata:
namespace: archrepo
name: archrepo
labels:
app: archrepo
spec:
type: ClusterIP
selector:
app: archrepo
ports:
- name: http
port: 80
targetPort: 80