Skip to content

christian-vdz/fluxcd-viewer

 
 

Repository files navigation

🚀 FluxCD Viewer

FluxCD Viewer is a lightweight web interface for visualizing and monitoring the state of your FluxCD Kustomizations in your Kubernetes cluster.

🎯 Features

  • Overview of FluxCD Kustomizations
  • Real-time deployment status
  • Grouping by categories (apis, apps, addons)
  • Detailed conditions and error messages

alt text

🛠️ Prerequisites

  • Kubernetes cluster with FluxCD installed
  • Configured kubectl access (kubeconfig file)

📦 Installation

Option 1: Docker

# Run container with mounted kubeconfig
docker run -p 8080:8080 \
 -v ~/.kube/config:/root/.kube/config \
 didlawowo/fluxcd-viewer:latest

Option 2 : Helm

cd helm
helm install fluxcd-viewer

📝 Configuration

The application uses the following environment variables:

Variable Description Default
PORT listening port 8080

🔍 Usage

Access the web interface: http://localhost:8080 The interface automatically displays your Kustomizations Click on a Kustomization to see its details

🏗️ Local Developpment

Clone the repo

git clone https://github.com/didlawowo/fluxcd-viewer.git
cd fluxcd-viewer

Install dependencies

go mod download

Run locally

go run main.go

🔐 Security

The application requires read-only access to FluxCD resources. The chart creates a service account with minimal required permissions. The ingress is configured to expose the service.

📝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

📝 Credits

This project was inspired by the need for a simple and lightweight web interface to view FluxCD Kustomizations.

📄 Licence

MIT

About

fluxcd-viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 33.2%
  • Go 28.0%
  • CSS 23.9%
  • Shell 8.9%
  • Smarty 4.7%
  • Dockerfile 1.3%