This commit is contained in:
@@ -16,21 +16,21 @@ spec:
|
|||||||
app: archrepo
|
app: archrepo
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: repo
|
- name: repo
|
||||||
image: gitea.konchin.com/service/archrepo:latest
|
image: gitea.konchin.com/service/archrepo:latest
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
env:
|
env:
|
||||||
- name: MINIO_ACCESSKEY
|
- name: MINIO_ACCESSKEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: archrepo
|
name: archrepo
|
||||||
key: MINIO_ACCESSKEY
|
key: MINIO_ACCESSKEY
|
||||||
- name: MINIO_SECRETKEY
|
- name: MINIO_SECRETKEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: archrepo
|
name: archrepo
|
||||||
key: MINIO_SECRETKEY
|
key: MINIO_SECRETKEY
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: regcred
|
- name: regcred
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ metadata:
|
|||||||
name: archrepo
|
name: archrepo
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: "repo.konchin.com"
|
- host: "repo.konchin.com"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: archrepo
|
name: archrepo
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
namespace: archrepo
|
namespace: archrepo
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ns.archrepo.yaml
|
- ns.archrepo.yaml
|
||||||
- deploy.archrepo.yaml
|
- deploy.archrepo.yaml
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: archrepo
|
app: archrepo
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
|
|||||||
Reference in New Issue
Block a user