mirror of https://git.rancher.io/rke2-charts
12 lines
268 B
YAML
12 lines
268 B
YAML
|
{{- if and .Values.nodelocal.enabled .Values.rbac.create }}
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: node-local-dns
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
{{- end }}
|