Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swade1987/gitops-with-kustomize
An example repo structure for GitOps with Kustomize
https://github.com/swade1987/gitops-with-kustomize
Last synced: 3 months ago
JSON representation
An example repo structure for GitOps with Kustomize
- Host: GitHub
- URL: https://github.com/swade1987/gitops-with-kustomize
- Owner: swade1987
- Created: 2020-06-05T17:04:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T22:20:12.000Z (almost 4 years ago)
- Last Synced: 2024-06-15T17:40:01.879Z (5 months ago)
- Language: Shell
- Size: 80.1 KB
- Stars: 130
- Watchers: 9
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-repositories - swade1987/gitops-with-kustomize - An example repo structure for GitOps with Kustomize (Shell)
README
# GitOps (using Kustomize)
An example repo structure for GitOps with:
- [Flux](https://github.com/fluxcd/flux)
- [Helm Operator](https://github.com/fluxcd/helm-operator)
- [Kustomize](https://github.com/kubernetes-sigs/kustomize)## Directory structure
```
kustomize
├── base # base kustomizations
│ ├── cluster # logical grouping of resources
├── dev # Directory per env which pulls from base and extends/overrides helmreleases
```Resources are organised per environment in the `kustomize` directory.
## Pre-requisites
A list of pre-requisites can be found [here](docs/pre-reqs.md).
## Setup
1. To configure this to work with your repository first read the steps [here](docs/configuration.md).
2. Create a cluster using `make cluster`
3. Install [Flux](https://github.com/fluxcd/flux) and the [Helm Operator](https://github.com/fluxcd/helm-operator) using `make install-flux`
4. After following the prompts, flux will establish a connection to your repository and start reconciling.
## Continuous Integration
A deep-dive into running checks locally and the CircleCI configuration, read [here](docs/ci.md).
## Kustomize directory structure
A deep-dive into the kustomize setup can be found [here](docs/kustomize-setup.md).
## Automatic image upgrades
An example of automated image upgrades with `HelmReleases` resources can be found [here](docs/automated-image-upgrades.md).