thaddeuscleo / cleoverse-gitops

FluxCD Monorepo for my home cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Home Operations Repository :octocat:

... managed with Flux 🤖

📖 Overview

This is a mono repository for my home infrastructure and Kubernetes cluster. I try to adhere to Infrastructure as Code (IaC) and GitOps practices using tools like Ansible, Terraform, Kubernetes, Flux, Renovate, and GitHub Actions.

GitOps

Flux watches the clusters in my kubernetes folder (see Directories below) and makes the changes to my clusters based on the state of my Git repository.

The way Flux works for me here is it will recursively search the clusters/${cluster}/ folder until it finds the most top level kustomization.yaml per directory and then apply all the resources listed in it. That aforementioned kustomization.yaml will generally only have a namespace resource and one or many Flux kustomizations (ks.yaml). Under the control of those Flux kustomizations there will be a HelmRelease or other resources related to the application which will be applied.

To Encrypt the secret using SOPS

sops -e -i 'file-name.sops.yaml'

To Dencrypt the secret using SOPS

sops -d -i 'file-name.sops.yaml'

About

FluxCD Monorepo for my home cluster


Languages

Language:Makefile 100.0%