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:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.kube2.tricnet.de/tho/taskplaner.git
|
||||
repoURL: http://gitea-http.gitea.svc.cluster.local:3000/tho/taskplaner.git
|
||||
targetRevision: HEAD
|
||||
path: helm/taskplaner
|
||||
helm:
|
||||
@@ -41,21 +41,4 @@ spec:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user