Skip to content

Commit c8a636d

Browse files
authored
Add gitops-bootstrap chart (#49)
1 parent 98bd79b commit c8a636d

4 files changed

Lines changed: 41 additions & 0 deletions

File tree

charts/gitops-bootstrap/Chart.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: v2
2+
name: gitops-bootstrap
3+
description: Helm chart for managing bootstraping GitOps
4+
type: application
5+
version: "0.1.0"
6+
appVersion: "1.0.0"
7+
maintainers:
8+
- name: devpro
9+
email: bertrand@devpro.fr

charts/gitops-bootstrap/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# GitOps Bootstrap
2+
3+
This Helm chart will install the Kubernetes objects to bootstrap GitOps in an infrastructure.
4+
Originally created to bypass issues with Kubernetes Terraform provider with manifests at init.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{ range .Values.argocd.applications }}
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: {{ .name }}
6+
namespace: {{ .namespace }}
7+
spec:
8+
project: {{ .project }}
9+
source:
10+
repoURL: {{ .repository }}
11+
targetRevision: {{ .branch }}
12+
path: {{ .path }}
13+
destination:
14+
server: https://kubernetes.default.svc
15+
namespace: {{ .namespace }}
16+
syncPolicy:
17+
automated:
18+
prune: true
19+
selfHeal: true
20+
{{ end }}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
argocd:
2+
applications: []
3+
# - name: root-apps
4+
# namespace: argocd
5+
# project: default
6+
# repository:
7+
# branch:
8+
# path:

0 commit comments

Comments
 (0)