Refactor: migrate kubectl to flux
This commit is contained in:
@@ -1,37 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user