Danny Bessems
336150b00c
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
390 B
Django/Jinja
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
|
|
}
|
|
}
|