diff --git a/apps/base/sirius-growth/deployer.yaml b/apps/base/sirius-growth/deployer.yaml deleted file mode 100644 index 28a6fd0..0000000 --- a/apps/base/sirius-growth/deployer.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# Deployer identity used by the sirius-growth site repo's CI to roll the -# Deployment after pushing a new image. Deliberately minimal: patch/get/list on -# deployments in this namespace only. The kubeconfig is a repo secret -# (KUBE_CONFIG) in sirius/sirius-growth; the token is minted with -# # kubectl -n sirius-growth create token site-deployer --duration=8760h -apiVersion: v1 -kind: ServiceAccount -metadata: - name: site-deployer - namespace: sirius-growth ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: site-deployer - namespace: sirius-growth -rules: - - apiGroups: ["apps"] - resources: ["deployments"] - verbs: ["get", "list", "patch"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: site-deployer - namespace: sirius-growth -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: site-deployer -subjects: - - kind: ServiceAccount - name: site-deployer - namespace: sirius-growth diff --git a/apps/base/sirius-growth/kustomization.yaml b/apps/base/sirius-growth/kustomization.yaml index ceb5d30..04276f6 100644 --- a/apps/base/sirius-growth/kustomization.yaml +++ b/apps/base/sirius-growth/kustomization.yaml @@ -7,4 +7,3 @@ resources: - service.yaml - service-api.yaml - httproute.yaml - - deployer.yaml