Skip to content

Commit 5c98946

Browse files
committed
Add ArgoCD resources including HelmRelease, HTTPRoute, and Namespace
1 parent 2a713a3 commit 5c98946

File tree

8 files changed

+94
-3
lines changed

8 files changed

+94
-3
lines changed

ToDeploy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
- [ ] BookStack
1010
- [ ] https://github.com/owncloud/helm-charts
1111
- [ ] n8n task runners https://docs.n8n.io/hosting/configuration/task-runners/#external-mode
12-
- [ ] https://go-vikunja.github.io/helm-chart/
13-
- [ ] https://goauthentik.io
12+
- [X] https://go-vikunja.github.io/helm-chart/
13+
- [X] https://goauthentik.io
1414
- [ ] https://github.com/openSUSE/osem/blob/master/INSTALL.md
1515
- [X] Keycloak
1616
- [ ] Nextcloud
1717
- [ ] Keycloak theme
1818
- [X] Openclaw
1919
- [X] Coder https://github.com/Azure-Samples/aks-kueue-sample/blob/main/coder/
2020
- [X] https://github.com/open-webui/helm-charts or https://www.librechat.ai
21-
- [ ] Grafana/Prometheus
21+
- [X] Grafana/Prometheus
2222
- [X] Forgejo
2323
- [X] Mailer and runners for ForgeJo
2424
- [ ] RustFS (https://s3.vps.kubespaces.cloud/)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
apiVersion: helm.toolkit.fluxcd.io/v2
3+
kind: HelmRelease
4+
metadata:
5+
name: argocd
6+
namespace: flux-system
7+
labels:
8+
app: argocd
9+
spec:
10+
interval: 10m
11+
timeout: 5m
12+
targetNamespace: argocd
13+
chart:
14+
spec:
15+
chart: argocd
16+
sourceRef:
17+
kind: HelmRepository
18+
name: argocd
19+
namespace: flux-system
20+
interval: 5m0s
21+
install:
22+
createNamespace: true
23+
remediation:
24+
retries: 3
25+
upgrade:
26+
remediation:
27+
retries: 3
28+
values:
29+
configs:
30+
params:
31+
server.insecure: "true"
32+
controller:
33+
clusterAdminAccess:
34+
enabled: false
35+
server:
36+
clusterAdminAccess:
37+
enabled: false
38+

gitops/argocd/argocd-helmrepo.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
apiVersion: source.toolkit.fluxcd.io/v1
3+
kind: HelmRepository
4+
metadata:
5+
name: argocd
6+
namespace: flux-system
7+
spec:
8+
interval: 1h
9+
url: https://argoproj.github.io/argo-helm
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: gateway.networking.k8s.io/v1
3+
kind: HTTPRoute
4+
metadata:
5+
name: argocd
6+
namespace: argocd
7+
spec:
8+
parentRefs:
9+
- name: gateway
10+
namespace: istio-system
11+
sectionName: http # listener name on the Gateway
12+
hostnames:
13+
- "argocd.vps.kubespaces.cloud" # Change this to your actual domain
14+
rules:
15+
- matches:
16+
- path:
17+
type: PathPrefix
18+
value: /
19+
backendRefs:
20+
- name: argocd
21+
port: 8080

gitops/argocd/kustomization.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
resources:
5+
- namespace.yaml
6+
- argocd-helmrepo.yaml
7+
- argocd-helmrelease.yaml
8+
- argocd-httproute.yaml

gitops/argocd/namespace.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
apiVersion: v1
3+
kind: Namespace
4+
metadata:
5+
name: argocd
6+
labels:
7+
name: argocd

gitops/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resources:
1313
- gateways/configmap.yaml
1414
- gateways/gateway.yaml
1515
- local-path-provisioner/local-path-provisioner.yaml
16+
- argocd
1617

1718
# Add more resources here as you create them
1819
# - deployment.yaml

ingress/traefik/dynamic.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ http:
2525
tls:
2626
certResolver: letsencrypt
2727

28+
argocd:
29+
rule: "Host(`argocd.vps.kubespaces.cloud`)"
30+
entryPoints: [websecure]
31+
service: backend-service
32+
tls:
33+
certResolver: letsencrypt
34+
2835
codimd:
2936
rule: "Host(`codimd.vps.kubespaces.cloud`)"
3037
entryPoints: [websecure]

0 commit comments

Comments
 (0)