diff --git a/archrepo/deploy.archrepo.yaml b/archrepo/deploy.archrepo.yaml index df0871f..23cee67 100644 --- a/archrepo/deploy.archrepo.yaml +++ b/archrepo/deploy.archrepo.yaml @@ -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 diff --git a/archrepo/ing.archrepo.yaml b/archrepo/ing.archrepo.yaml index c0b22c7..01a7564 100644 --- a/archrepo/ing.archrepo.yaml +++ b/archrepo/ing.archrepo.yaml @@ -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 diff --git a/archrepo/kustomization.yaml b/archrepo/kustomization.yaml index 949797c..2e7dcc4 100644 --- a/archrepo/kustomization.yaml +++ b/archrepo/kustomization.yaml @@ -1,11 +1,9 @@ --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization - namespace: archrepo generatorOptions: disableNameSuffixHash: true - resources: - ns.archrepo.yaml - deploy.archrepo.yaml diff --git a/archrepo/svc.archrepo.yaml b/archrepo/svc.archrepo.yaml index 44b3f33..437bd59 100644 --- a/archrepo/svc.archrepo.yaml +++ b/archrepo/svc.archrepo.yaml @@ -10,6 +10,6 @@ spec: selector: app: archrepo ports: - - name: http - port: 80 - targetPort: 80 + - name: http + port: 80 + targetPort: 80