Skip to content

🤵New configuration for Maid Café cluster boilerplate #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 26, 2025
33 changes: 33 additions & 0 deletions kubernetes/argocd/maid-cafe-stacks/appsets/pr-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: pr-preview
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- pullRequest:
github:
owner: acm-uic
repo: IaC
labels:
- ':wheel_of_dharma: k8s'
- ':eyes: preview'
requeueAfterSeconds: 60
template:
metadata:
name: '{{if ne .head_short_sha .target_branch_sha}}pr-{{end}}{{.branch_slug}}-{{.number}}'
namespace: argocd
spec:
source:
repoURL: 'git@github.com:acm-uic/IaC.git'
targetRevision: '{{.head_sha}}'
path: kubernetes/argocd/maid-cafe-stacks/appsets
project: default
destination:
server: https://kubernetes.default.svc
namespace: '{{if ne .head_short_sha .target_branch_sha}}pr-{{end}}{{.branch_slug}}-{{.number}}'
syncPolicy:
syncOptions:
- CreateNamespace=true
21 changes: 21 additions & 0 deletions kubernetes/argocd/maid-cafe-stacks/iac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: iac
namespace: argocd
spec:
destination:
namespace: argocd
server: https://kubernetes.default.svc
project: default
source:
path: kubernetes/argocd/maid-cafe-stacks/appsets
repoURL: 'git@github.com:acm-uic/IaC.git'
targetRevision: 'feature/maid-cafe-argo'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
Loading