Fix: archrepo lint
All checks were successful
Lint yaml / build-package (push) Successful in 8s

This commit is contained in:
2024-11-06 09:47:21 +00:00
parent 1c6c639c91
commit 53154bb702
4 changed files with 31 additions and 33 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,11 +1,9 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: archrepo
generatorOptions:
disableNameSuffixHash: true
resources:
- ns.archrepo.yaml
- deploy.archrepo.yaml

View File

@@ -10,6 +10,6 @@ spec:
selector:
app: archrepo
ports:
- name: http
port: 80
targetPort: 80
- name: http
port: 80
targetPort: 80