kubernetes tls/ssl setup with cert-manager and ingress-nginx
This repository contains scripts to simplify the setup of common Kubernetes components, specifically Nginx Ingress and Cert-Manager.
.
├── README.md
├── lib
│ ├── cert-manager-setup.sh
│ └── nginx-ingress-setup.sh
└── setup.sh
This is the main script that provides a user interface for selecting which component to install. It offers the following options:
- Setup Nginx Ingress
- Setup Cert-Manager
- Exit
This script installs and configures Nginx Ingress on your Kubernetes cluster.
This script installs and configures Cert-Manager on your Kubernetes cluster.
-
Clone this repository:
git clone https://github.com/code4mk/k8s-cert-manager-setup.git cd k8s-cert-manager-setup
-
Make the scripts executable:
chmod +x setup.sh lib/*.sh
-
Run the main setup script:
./setup.sh
-
Follow the on-screen prompts to select which component you want to set up.
- A running Kubernetes cluster
kubectl
configured to communicate with your clusterhelm
installed on your local machine
Contributions are welcome! Please feel free to submit a Pull Request.