From 375346b776a4f46419ebd2b052e862ed09deb072 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Tue, 27 Sep 2022 12:41:49 +0000 Subject: [PATCH] Update argocd/external-dns/templates/deployment.yaml --- argocd/external-dns/templates/deployment.yaml | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/argocd/external-dns/templates/deployment.yaml b/argocd/external-dns/templates/deployment.yaml index 4854753..5690fc6 100644 --- a/argocd/external-dns/templates/deployment.yaml +++ b/argocd/external-dns/templates/deployment.yaml @@ -1,36 +1,3 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: external-dns ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: external-dns -rules: -- apiGroups: [""] - resources: ["services","endpoints","pods"] - verbs: ["get","watch","list"] -- apiGroups: ["extensions","networking.k8s.io"] - resources: ["ingresses"] - verbs: ["get","watch","list"] -- apiGroups: [""] - resources: ["nodes"] - verbs: ["list", "watch"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: external-dns-viewer -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: external-dns -subjects: -- kind: ServiceAccount - name: external-dns - namespace: default ---- apiVersion: apps/v1 kind: Deployment metadata: @@ -46,7 +13,6 @@ spec: labels: app: external-dns spec: - serviceAccountName: external-dns containers: - name: external-dns image: k8s.gcr.io/external-dns/external-dns:v0.7.6