Manages the deployment state and configuration of k8s dashboard via helm in a kubernetes cluster
Kubernetes, Helm, kubectl
TODO
k8s_dashboard_kubeconfig: Path to the kubeconfig for your kubernetes cluster
#k8s_dashboard_value_path: Set path to your own helm values file
k8s_dashboard_chart_version: Version of kubernetes dashboard helm chart see: Artifact hub
k8s_dashboard_namespace: Kubernetes namespace to deploy k8s dashboard in
k8s_dashboard_host_name: URL where you want to reach the dashboard
k8s_dashboard_state: State of the deployment, can be either present or absent
k8s_dashboard_banner: Text that will be shown as banner inside the k8s dashboard
- Create venv:
python3 -m venv ./venv
- Install pip requirements:
venv/bin/pip install -r pip_requirements.txt
- Execute tests
venv/bin/molecule test
Both the linter and the static security analyser are running on each push on the github actions pipeline.
-
As linter ansible-lint is used. For installation documentation see ansible lint installing
- Just run
ansible-lint
- Just run
-
To check if there are any passwords, tokens... hardcoded, kics is used to ensure a secure IaC repository.
- Run it locally
docker run -t -v $PWD:/path checkmarx/kics:latest scan -p /path -o "/path/"
- Run it locally
- The server this role is executed need to have kubectl with a connection to the kubernetes you want to configure
GNU General Public License version 3