From 0e351eb81b2ebbe63b31acc720ab7f5f6d4e9e6e Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 14 May 2022 17:50:58 +0700 Subject: [PATCH] fix(tekton): remove Terraform service account --- platform/tekton-pipelines/cluster-role-binding.yaml | 12 ------------ platform/tekton-pipelines/kustomization.yaml | 3 --- platform/tekton-pipelines/service-account.yaml | 6 ------ 3 files changed, 21 deletions(-) delete mode 100644 platform/tekton-pipelines/cluster-role-binding.yaml delete mode 100644 platform/tekton-pipelines/service-account.yaml diff --git a/platform/tekton-pipelines/cluster-role-binding.yaml b/platform/tekton-pipelines/cluster-role-binding.yaml deleted file mode 100644 index bce53e18..00000000 --- a/platform/tekton-pipelines/cluster-role-binding.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: terraform-admin -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-admin -subjects: - - kind: ServiceAccount - name: terraform-sa - namespace: tekton-pipelines diff --git a/platform/tekton-pipelines/kustomization.yaml b/platform/tekton-pipelines/kustomization.yaml index 146bb0de..0f213f23 100644 --- a/platform/tekton-pipelines/kustomization.yaml +++ b/platform/tekton-pipelines/kustomization.yaml @@ -9,7 +9,4 @@ resources: - https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml # Dashboard - https://storage.googleapis.com/tekton-releases/dashboard/latest/tekton-dashboard-release.yaml - # Additional - ingress.yaml - - cluster-role-binding.yaml - - service-account.yaml diff --git a/platform/tekton-pipelines/service-account.yaml b/platform/tekton-pipelines/service-account.yaml deleted file mode 100644 index 6964e817..00000000 --- a/platform/tekton-pipelines/service-account.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: terraform-sa -secrets: - - name: terraform-secrets