feat(07-01): update ArgoCD application for internal cluster access
Some checks failed
Build and Push / build (push) Has been cancelled
Some checks failed
Build and Push / build (push) Has been cancelled
- Change repoURL to internal Gitea cluster service - Remove inline registry secret placeholder (created via kubectl) - Registry secret created separately for security
This commit is contained in:
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.kube2.tricnet.de/tho/taskplaner.git
|
repoURL: http://gitea-http.gitea.svc.cluster.local:3000/tho/taskplaner.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: helm/taskplaner
|
path: helm/taskplaner
|
||||||
helm:
|
helm:
|
||||||
@@ -42,20 +42,3 @@ spec:
|
|||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
---
|
|
||||||
# Secret for Gitea Container Registry access
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: gitea-registry-secret
|
|
||||||
namespace: default
|
|
||||||
type: kubernetes.io/dockerconfigjson
|
|
||||||
stringData:
|
|
||||||
.dockerconfigjson: |
|
|
||||||
{
|
|
||||||
"auths": {
|
|
||||||
"git.kube2.tricnet.de": {
|
|
||||||
"auth": "REPLACE_WITH_BASE64_ENCODED_USERNAME_COLON_PASSWORD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user