{{- if .Values.console.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: console-sa-secret
namespace: {{ .Release.Namespace }}
annotations:
kubernetes.io/service-account.name: console-sa
type: kubernetes.io/service-account-token
{{- end }}