This commit is contained in:
@@ -16,21 +16,21 @@ spec:
|
||||
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
|
||||
- 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
|
||||
|
||||
@@ -5,13 +5,13 @@ metadata:
|
||||
name: archrepo
|
||||
spec:
|
||||
rules:
|
||||
- host: "repo.konchin.com"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: archrepo
|
||||
port:
|
||||
number: 80
|
||||
- host: "repo.konchin.com"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: archrepo
|
||||
port:
|
||||
number: 80
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: archrepo
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
resources:
|
||||
- ns.archrepo.yaml
|
||||
- deploy.archrepo.yaml
|
||||
|
||||
@@ -10,6 +10,6 @@ spec:
|
||||
selector:
|
||||
app: archrepo
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
|
||||
Reference in New Issue
Block a user