This commit is contained in:
ari committed 2025-04-17 15:34:07 -04:00
1 parent 7d0609feb1
commit 8cb1ec043e
6 files changed
+49 -50

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@ apiVersion: v2
name: cluster
description: An infrastructure collection of manifests for homelab
type: application
version: 0.1.7
version: 0.1.8
@@ -0,0 +1,31 @@
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: apps
namespace: "{{ .Values.ns.argocd }}"
spec:
generators:
- git:
directories:
- path: charts/apps/*
repoURL: git@github.com:{{ .Values.gitops.repo }}.git
revision: "{{ .Values.gitops.revision }}"
template:
metadata: {}
spec:
destination: {}
project: ""
template:
metadata:
name: "{{`apps-{{path.basename}}`}}"
spec:
destination:
namespace: "{{`{{path.basename}}`}}"
server: https://kubernetes.default.svc
project: default
revisionHistoryLimit: 10
source:
path: '{{`{{path}}`}}'
repoURL: git@github.com:{{ .Values.gitops.repo }}.git
targetRevision: "{{ .Values.gitops.revision }}"
@@ -0,0 +1,16 @@
---
apiVersion: v1
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: repository
name: homelab
namespace: plugin-argo-cd
type: Opaque
stringData:
name: homelab
type: git
username: git
url: git@github.com:{{ .Values.gitops.repo }}.git
data:
sshPrivateKey: "{{ .Values.gitops.sshkey | b64enc }}"