18 lines
513 B
YAML
18 lines
513 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.serviceAccount.name }}
|
|
namespace: {{ .Values.namespaces.nexusNs }}
|
|
annotations:
|
|
eks.amazonaws.com/role-arn: {{ .Values.serviceAccount.role }}
|
|
---
|
|
{{- if .Values.externaldns.enabled }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.serviceAccount.externaldns.name }}
|
|
namespace: {{ .Values.namespaces.externaldnsNs }}
|
|
annotations:
|
|
eks.amazonaws.com/role-arn: {{ .Values.serviceAccount.externaldns.role }}
|
|
{{- end }}
|