Add imagePullSecrets for Gitea registry
Some checks failed
CI/CD Pipeline / build-and-push (push) Failing after 16s
CI/CD Pipeline / update-manifests (push) Has been skipped
CI/CD Pipeline / test (push) Successful in 28s

- Added gitea-registry secret to base manifests
- Added imagePullSecrets to deployments
This commit is contained in:
2026-01-14 17:01:28 +00:00
parent 91ed594288
commit 67d8d029ff
4 changed files with 21 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ spec:
labels:
app: inventory-api
spec:
imagePullSecrets:
- name: gitea-registry
containers:
- name: inventory-api
image: gitea.tisdev.cloud/gitadmin/inventory-app/api:latest

View File

@@ -12,6 +12,8 @@ spec:
labels:
app: inventory-frontend
spec:
imagePullSecrets:
- name: gitea-registry
containers:
- name: inventory-frontend
image: gitea.tisdev.cloud/gitadmin/inventory-app/frontend:latest

View File

@@ -5,3 +5,4 @@ resources:
- deployment-api.yaml
- deployment-frontend.yaml
- secrets.yaml
- registry-secret.yaml

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Secret
metadata:
name: gitea-registry
type: kubernetes.io/dockerconfigjson
stringData:
.dockerconfigjson: |
{
"auths": {
"gitea.tisdev.cloud": {
"username": "gitadmin",
"password": "GitAdmin123!",
"auth": "Z2l0YWRtaW46R2l0QWRtaW4xMjMh"
}
}
}