Danny Bessems
89cf69adc7
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
503 B
Django/Jinja
21 lines
503 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: |
|
|
{
|
|
"tlsClientConfig": {
|
|
"insecure": false,
|
|
"caData": "{{ _template.kubeconfig.ca }}",
|
|
"certData": "{{ _template.kubeconfig.certificate }}",
|
|
"keyData": "{{ _template.kubeconfig.key }}"
|
|
}
|
|
}
|