Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/cluster.j2
Danny Bessems c1bff94cd1
Some checks failed
continuous-integration/drone/push Build is failing
Parallel build of bootstrap/upgrade ova;Split ansible tasks respectively
2023-01-18 15:09:32 +01:00

19 lines
390 B
Django/Jinja

apiVersion: v1
kind: Secret
metadata:
name: {{ _template.cluster.secret }}
namespace: argo-cd
labels:
argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
name: {{ _template.cluster.name }}
server: {{ _template.cluster.url }}
config: |
{
"bearerToken": "{{ _template.cluster.token }}",
"tlsClientConfig": {
"insecure": true
}
}