{{- with .Values.service.lkJWT }} {{- if and .enabled .serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "element-call.serviceAccountName" (dict "root" $ "ctx" . "suffix" "lk-jwt") }} labels: {{- include "element-call.labels" $ | nindent 4 }} {{- with .serviceAccount.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} automountServiceAccountToken: {{ .serviceAccount.automount }} {{- end }} {{- end }}