Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/gitops-bootstrap/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v2
name: gitops-bootstrap
description: Helm chart for managing bootstraping GitOps
type: application
version: "0.1.0"
appVersion: "1.0.0"
maintainers:
- name: devpro
email: bertrand@devpro.fr
4 changes: 4 additions & 0 deletions charts/gitops-bootstrap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GitOps Bootstrap

This Helm chart will install the Kubernetes objects to bootstrap GitOps in an infrastructure.
Originally created to bypass issues with Kubernetes Terraform provider with manifests at init.
20 changes: 20 additions & 0 deletions charts/gitops-bootstrap/templates/argocd-application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ range .Values.argocd.applications }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}
namespace: {{ .namespace }}
spec:
project: {{ .project }}
source:
repoURL: {{ .repository }}
targetRevision: {{ .branch }}
path: {{ .path }}
destination:
server: https://kubernetes.default.svc
namespace: {{ .namespace }}
syncPolicy:
automated:
prune: true
selfHeal: true
{{ end }}
8 changes: 8 additions & 0 deletions charts/gitops-bootstrap/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
argocd:
applications: []
# - name: root-apps
# namespace: argocd
# project: default
# repository:
# branch:
# path:
Loading