apiVersion: v1
clusters:
- cluster:
{{ if .SkipTLSVerify }}
    insecure-skip-tls-verify: true
{{ end}}
    server: {{ .APIServer }}
  name: helm
contexts:
- context:
    cluster: helm
{{ if .Namespace }}
    namespace: {{ .Namespace }}
{{ end}}
    user: {{ .ServiceAccount }}
  name: helm
current-context: "helm"
kind: Config
preferences: {}
users:
- name: {{ .ServiceAccount }}
  user:
    token: {{ .Token }}