Add appsets to repo
All checks were successful
build-and-push / docker (push) Successful in 28s

This commit is contained in:
dobiadi
2024-10-25 00:36:38 +02:00
parent 9a6c8a47b9
commit bd61684255
2 changed files with 70 additions and 0 deletions

34
appset.yaml Normal file
View File

@@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: demo-appset
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- scmProvider:
filters:
- repositoryMatch: ^demo-app$
gitea:
owner: demo
api: https://shaggy.dobiadi.dev/
allBranches: false
requeueAfterSeconds: 120
template:
metadata:
name: 'demo-app'
spec:
source:
repoURL: 'https://shaggy.dobiadi.dev/dobiadi/argo-app-template.git'
targetRevision: 'HEAD'
path: .
helm:
parameters:
- name: "image.tag"
value: "{{.short_sha_7}}"
project: "default"
syncPolicy:
automated: {}
destination:
server: https://kubernetes.default.svc
namespace: demo-app