Configure ArgoCD declaratively
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-08-15 14:43:55 +02:00
parent a1b8837cc5
commit d652cf0346
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ _template.name }}-{{ _template.uid }}
namespace: {{ _template.namespace }}
labels:
argocd.argoproj.io/secret-type: repository
stringData:
url: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.Config.git
name: {{ _template.name }}
insecure: 'true'
sshPrivateKey: |
{{ _template.privatekey }}