Skip to content

Commit

Permalink
add additonal attributes for appOfAppsRepo
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Kleinlercher <[email protected]>
  • Loading branch information
jkleinlercher committed May 23, 2024
1 parent 5787d62 commit e4185b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions platform-apps/charts/argocd/templates/app-of-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ spec:
server: https://kubernetes.default.svc
project: {{ .name }}-project
sources:
- path: .
repoURL: {{ .appOfAppsRepo }}
targetRevision: main
- path: {{ .appOfAppsRepo.path }}
repoURL: {{ .appOfAppsRepo.repoURL }}
targetRevision: {{ .appOfAppsRepo.revision }}
syncPolicy:
automated:
prune: true
Expand Down
10 changes: 8 additions & 2 deletions platform-apps/charts/argocd/values-k3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ teams:
- name: team1
sourceRepos:
- '*'
appOfAppsRepo: https://github.com/suxess-it/approved-application
appOfAppsRepo:
repoURL: https://github.com/suxess-it/team1-apps
path: k3d-apps
revision: main
- name: team2
sourceRepos:
- '*'
appOfAppsRepo: https://github.com/suxess-it/approved-application
appOfAppsRepo:
repoURL: https://github.com/suxess-it/team2-apps
path: k3d-apps
revision: main
# in the future maybe also some attributes for an scm / git application-set instead of appOfApps possible
scmAppSet: ~
gitAppSet: ~
Expand Down

0 comments on commit e4185b7

Please sign in to comment.