Skip to content

Commit

Permalink
Merge pull request #1 from haarchri/feature/helm-chart-flux2
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigilenoci authored Nov 2, 2021
2 parents 4e11b67 + 4354c68 commit 5c51fe6
Show file tree
Hide file tree
Showing 22 changed files with 6,238 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release Charts
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.work
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# ====================================================================================
# Setup Project

FLUX2_VERSION ?= v0.20.1

all: fetch generate helm-docs

fetch:
@if [ ! -d ".work/flux2" ]; then \
cd .work && git clone "https://github.com/fluxcd/flux2.git"; \
fi
@cd .work/flux2 && git fetch origin && git checkout $(FLUX2_VERSION)

generate:
# ToDo: no override since we have manipulate step
@cd .work/flux2 && manifests/scripts/bundle.sh && cp cmd/flux/manifests/* ../../charts/flux2/templates

helm-docs:
helm-docs

# manipulate:
# ToDo:
# - split files in crds & deployments
# - insert if/end to

# ====================================================================================
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Helm Charts

The repository can be added using the following command:
```bash
helm repo add fluxcd-community https://fluxcd-community.github.io/helm-charts
```
23 changes: 23 additions & 0 deletions charts/flux2/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
8 changes: 8 additions & 0 deletions charts/flux2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v2
name: flux2
description: A Helm chart for flux2

type: application
version: 0.0.1

appVersion: "0.20.1"
33 changes: 33 additions & 0 deletions charts/flux2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# flux2

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.20.1](https://img.shields.io/badge/AppVersion-0.20.1-informational?style=flat-square)

A Helm chart for flux2

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| helmcontroller.create | bool | `true` | |
| helmcontroller.image | string | `"fluxcd/helm-controller"` | |
| helmcontroller.tag | string | `"v0.12.1"` | |
| imageautomationcontroller.create | bool | `true` | |
| imageautomationcontroller.image | string | `"fluxcd/image-automation-controller"` | |
| imageautomationcontroller.tag | string | `"v0.16.0"` | |
| imagereflectorcontroller.create | bool | `true` | |
| imagereflectorcontroller.image | string | `"fluxcd/image-reflector-controller"` | |
| imagereflectorcontroller.tag | string | `"v0.13.0"` | |
| kustomizecontroller.create | bool | `true` | |
| kustomizecontroller.image | string | `"fluxcd/kustomize-controller"` | |
| kustomizecontroller.tag | string | `"v0.16.0"` | |
| notificationcontroller.create | bool | `true` | |
| notificationcontroller.image | string | `"fluxcd/notification-controller"` | |
| notificationcontroller.tag | string | `"v0.18.1"` | |
| policies.create | bool | `true` | |
| rbac.create | bool | `true` | |
| sourcecontroller.create | bool | `true` | |
| sourcecontroller.image | string | `"fluxcd/source-controller"` | |
| sourcecontroller.tag | string | `"v0.17.1"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
Loading

0 comments on commit 5c51fe6

Please sign in to comment.