Automating Kubernetes Web UI Dashboard, including Docker Hub secrets creation.
- kubectl
- Node.js v14+
-
Put your
kubeconfig.yaml
in the root directory of this project. -
Install Dependencies
npm i
- Modify the just created
.env
file, including
DOCKER_USERNAME=your_docker_username
DOCKER_PASSWORD=your_docker_password
DOCKER_EMAIL=your_docker_email
-
(Optional) Add any extra environment variables you might want to add to your instances inside the same
.env
file, this application will automatically create anenv.json
file containing the environment variables in the Kubernetes JSON format for environment variables, ready to be copied inside the dashboard. -
Just start it, it will automatically create the Dashboard UI instance and open the browser for you
npm start