Skip to content

mate-academy/devops_todolist_kubernetes_task_12_rbac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django ToDo list

This is a to-do list web application with the basic features of most web apps, i.e., accounts/login, API, and interactive UI. To do this task, you will need:

Explore

Try it out by installing the requirements (the following commands work only with Python 3.8 and higher, due to Django 4):

pip install -r requirements.txt

Create a database schema:

python manage.py migrate

And then start the server (default is http://localhost:8000):

python manage.py runserver

You can now browse the API or start on the landing page.

Task

  1. Fork this repository.
  2. Use kind to spin up a cluster from a cluster.yml configuration file.
  3. Create a manifest named rbac inside a security directory
  4. rbac manifest requirements:
    1. File should contain a ServiceAccount definition
    2. File should contain a Role definition
    3. Role should allow to list secrets
    4. File should contain a RoleBinding definition
    5. RoleBinding should bind the Role to the ServiceAccount
  5. Use newly created ServiceAccount should be used by the Deployment in the deployment manifest
  6. Execute a curl command to list secrets from the Deployment pod to list secrets
  7. Make a screenshot of the output and attach it to the PR
  8. Create the INSTRUCTION.md with instructions on how to validate the changes
  9. Create PR with your changes and attach it for validation on a platform.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published