- create user accounts for:
admin
,leader
,developer
andqa-engineer
- Create a secret called
cluster-users-secret
using the htpasswd credentails - create an identiy provider called
cluster-users
that reads thecluster-users-secret
secret
admin
should be able to modify the clusterleader
should be able to create projectsdeveloper
andqa-engineer
should not be able to modify the cluster- No other user should be able to create a project
- Remove the
kubeadmin
account
- Create three projects:
front-end
,back-end
andapp-db
leader
user will be the admin of the projectsqa-engineer
user will haveview
access to theapp-db
project
-
As
admin
create three user groups:leaders
,developers
andqa
-
Add the
leader
user to theleaders
group -
Add the
developer
user to thedevelopers
group -
Add the
qa-engineer
to theqa
group -
The
leaders
group should have edit access toback-end
andapp-db
-
The
qa
grou shou;f be able toview
thefront-end
project but notedit
it