Packer.Images/ansible/roles/firstboot/files/ansible_payload/templates/gitrepo.j2
Danny Bessems d652cf0346
All checks were successful
continuous-integration/drone/push Build is passing
Configure ArgoCD declaratively
2022-08-15 14:43:55 +02:00

14 lines
361 B
Django/Jinja

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