Skip to content

panik10/devops_todolist_cicd_task_5_deploy_to_k8s

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django ToDo list

This is a to-do list web application with basic features of most web apps, i.e., accounts/login, API, and interactive UI.

Summary

In this project, I extended the GitHub Actions workflow by integrating Docker and Kubernetes deployment to a local kind cluster using Helm:

  • Added DockerHub credentials (username and password) to the repository secrets.

  • Updated the DockerImageName variable with my DockerHub repository.

  • Created a reusable workflow to deploy to a kind Kubernetes cluster:

    • The workflow supports deploying to multiple environments via inputs.

    • Spins up a local cluster using cluster.yml.

    • Includes helm install --dry-run for validation.

    • Uses helm upgrade --install --atomic to ensure safe deployments.

    • All sensitive data is stored in environment secrets.

Also, utilized the reusable workflow to deploy to both development and staging environments.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.7%
  • HTML 15.1%
  • CSS 10.5%
  • JavaScript 5.5%
  • Shell 1.4%
  • Dockerfile 0.8%