App-of-apps scaffolding for registering Drools/KIE rule containers after artifacts are published to GitHub Packages.
This repo is intended to be managed by Argo CD. It contains the ApplicationSet
that discovers rule app repositories and syncs their manifests/ directories.
No business rule source code or per-app manifests should live here.
- Create an Argo CD ApplicationSet from
manifests/applicationset.yaml. - Tag each rules app repo with the GitHub topic
drools-rules-app. - In each rules app repo, add a
manifests/directory with the registration and Workbench import jobs. - Commit and push; Argo CD will auto-discover repos with the topic and sync them.
- Argo CD namespace
argocd, projectrules-apps. - Argo CD SCM token secret
github-scm-tokenwith keytoken(for repo discovery). - Vault Kubernetes auth role
droolsallows the Job service account. - KIE Server reachable at:
http://kie-server.drools.svc.cluster.local:8080/kie-server/services/rest/server - KIE Server Maven settings include access to GitHub Packages for the rules artifacts.
- Workbench import uses a GitHub token with repo read/write for the rule repo.