This repository is destined to manage Decidim applications on Kubernetes for internal purposes.
- Kubernetes cluster
- Kubectl
✅ Ready for production use.
Script gethost.sh
retrieves Decidim informations based on the given host.
./gethost.sh <host>
✅ Ready for production use.
Run clone script :
./clone.sh <namespace> <app> <clone_app>
Follow the instructions to create a new app in the same namespace.
✅ Ready for production use.
Script suspend.sh
is used to suspend an app in a namespace. It suspends the Decidim object, add a label libre.sh/delete_date
to the Decidim object, removes the dedicated ingress and stops App, Sidekiq, Memcached Deployment objects.
./suspend.sh <namespace> <app>
Upgrade the Decidim version of the target Decidim
✅ Ready for production use.
Run clone script :
./upgrade.sh <namespace> <app> <image_name:tag>
WIP
✅ Ready for production use.
Script upgrade_029.sh
is used to upgrade a Decidim app to version 0.29. It performs a simple upgrade of the app image to the specified version, and edit the secrets according to the expectations. Moreover, it gives some indications about next command to run.
This script is only useful for the first upgrade in 0.29, then it is recommended to use the default ugprade script upgrade.sh
.
./upgrade_029.sh <namespace> <app> <image_docker:tag>