This commit is contained in:
37
k8s/deploy.archrepo.yaml
Normal file
37
k8s/deploy.archrepo.yaml
Normal 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
|
||||
Reference in New Issue
Block a user