{{- if eq .Values.csp "Azure" -}}
apiVersion: v1
kind: Secret
metadata:
  name: cluster-autoscaler-azure
  namespace: {{ .Release.Namespace }}
data:
  ClientID: {{ .Values.Azure.clientID | b64enc }}
  ClientSecret: {{ .Values.Azure.clientSecret | b64enc }}
  ResourceGroup: {{ .Values.Azure.resourceGroup | b64enc }}
  SubscriptionID: {{ .Values.Azure.subscriptionID | b64enc }}
  TenantID: {{ .Values.Azure.tenantID | b64enc }}
  {{/* b64encode("vmss") */}}
  VMType: dm1zcw==
{{- end -}}
