Skip to content

Commit

Permalink
feat: Helm charts for Argo
Browse files Browse the repository at this point in the history
  • Loading branch information
Searge committed Nov 13, 2023
1 parent 0886124 commit dfd9b4d
Show file tree
Hide file tree
Showing 16 changed files with 135 additions and 2 deletions.
Empty file added deploy/.gitignore
Empty file.
File renamed without changes.
7 changes: 7 additions & 0 deletions deploy/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v2
name: argo-cd
version: 1.0.0
dependencies:
- name: argo-cd
version: 5.46.8
repository: https://argoproj.github.io/argo-helm
10 changes: 10 additions & 0 deletions deploy/argo-cd/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
argo-cd:
dex:
enabled: false
notifications:
enabled: false
applicationSet:
enabled: false
server:
extraArgs:
- --insecure
23 changes: 23 additions & 0 deletions deploy/geekbot/.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/
12 changes: 12 additions & 0 deletions deploy/geekbot/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: geekbot
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "0.0.1"

dependencies:
- name: mariadb
version: 13.1.3
repository: oci://registry-1.docker.io/bitnamicharts
condition: mariadb.enabled
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions deploy/root-app/.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/
3 changes: 1 addition & 2 deletions deploy/helm/Chart.yaml → deploy/root-app/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apiVersion: v2
name: geekbot
name: root-app
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "0.0.1"
18 changes: 18 additions & 0 deletions deploy/root-app/templates/argo-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/geekopsua/geekbot.git
path: deploy/argo-cd
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
selfHeal: true
23 changes: 23 additions & 0 deletions deploy/root-app/templates/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://prometheus-community.github.io/helm-charts
chart: prometheus
targetRevision: 25.3.1
helm:
values: |
pushgateway:
enabled: false
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
18 changes: 18 additions & 0 deletions deploy/root-app/templates/root-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/geekopsua/geekbot.git
path: deploy/root-app
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
selfHeal: true
Empty file added deploy/root-app/values.yaml
Empty file.

0 comments on commit dfd9b4d

Please sign in to comment.