From c7155d295258f7995b10c2ab81f3004ccd7d67fb Mon Sep 17 00:00:00 2001 From: Denis Biondic Date: Mon, 11 Nov 2019 08:56:57 +0100 Subject: [PATCH] fix: remove obsolete service account --- Models/K8sRoleBinding.cs | 1 - README.md | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/K8sRoleBinding.cs b/Models/K8sRoleBinding.cs index 1c3a081..16304d1 100644 --- a/Models/K8sRoleBinding.cs +++ b/Models/K8sRoleBinding.cs @@ -41,7 +41,6 @@ public static K8sRoleBinding NamespaceFullAccess(string namespacename, string[] }; var subjects = users.ToList().Select(user => { return new K8sUserSubjectItem(user, "rbac.authorization.k8s.io"); }).ToList(); - subjects.Add(new K8sServiceAccountSubjectItem("default", namespacename)); roleBinding.Subjects = subjects.ToArray(); return roleBinding; diff --git a/README.md b/README.md index abf64a4..76d7c7e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ This is the Kubernetes Controller implementation for Conplement CoreOps specific Kubernetes extensions. Can be seen as a backend to the companion project [copsctl](https://github.com/conplementAG/copsctl) - This project is "based" on [metacontroller](https://github.com/GoogleCloudPlatform/metacontroller) and written in C#, mainly for three reasons: - Metacontroller is the simplest custom controller approach in Kubernetes, and offers easy parent / child resource tracking @@ -15,7 +14,7 @@ This project is "based" on [metacontroller](https://github.com/GoogleCloudPlatfo ## Setup -tbd after first release +Check the instructions on the [release page](https://github.com/conplementAG/cops-controller/releases). ## Development @@ -27,6 +26,8 @@ For developing, we use Visual Studio Code and Azure Dev Spaces (running inside o `az aks use-dev-spaces -g ... -n ... --space space_name` +If the command above fails (like to linux), then you can use the `azds controller create -tn ... -n ... -g ...` command instead. + Install the Azure DevSpaces CLI and run: `azds space select --name your_space_name`