Terraform files for deploying docker-openwisp in kubernetes. This module does not provision the infrastructure but expects access to an existing kubernetes cluster.
If you using the following options, please follow the requirements as per the variable's documentation:
kubernetes_services.use_cert_manager
Note: The following links work only when you are viewing on github.com
- Configure the options in the module. (
examples/
may be helpful) - Apply the configurations:
terraform apply
- Destroy the resources using terraform
terraform destroy
- Uninstall cert-manager:
kubectl delete --filename <kubernetes_services.cert_manager_link>
Unfortunately, cert-manager uses CRDs and terraform doesn't work very well with it, so if you want to remove
- Destroy resources:
terraform destroy \
--target=module.kubernetes.kubernetes_namespace.cert_manager \
--target=module.kubernetes.null_resource.install_cert_manager \
--target=module.kubernetes.null_resource.certificate_cert_manager \
--target=module.kubernetes.null_resource.clusterissuer_cert_manager \
--target=module.kubernetes.null_resource.ingress_cert_manager \
--target=module.kubernetes.kubernetes_ingress.http_ingress
-
Uninstall cert-manager:
kubectl delete --filename <kubernetes_services.cert_manager_link>
-
Create Ingress:
terraform apply --target=module.kubernetes.kubernetes_ingress.http_ingress
- Install MarkdownPP:
pip install MarkdownPP
- Make changes in
docs/build/
directory. - To create documentation, in the root of repository:
markdown-pp docs/build/input.mdpp -o docs/input.md