khuedoan-homelab/bootstrap/root/templates/stack.yaml

39 lines
954 B
YAML
Raw Normal View History

refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
{{- range $index, $stack := .Values.stacks }}
---
2021-09-03 12:36:52 +07:00
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: {{ $stack.name }}
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
namespace: {{ $.Release.Namespace }}
2021-09-03 12:36:52 +07:00
spec:
generators:
2021-12-26 12:36:14 +07:00
- git:
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
repoURL: {{ $.Values.gitops.repo }}
revision: {{ $.Values.gitops.revision }}
2021-12-26 12:36:14 +07:00
directories:
- path: {{ $stack.name }}/*
2021-09-03 12:36:52 +07:00
template:
metadata:
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
name: '{{ `{{path.basename}}` }}'
2021-09-03 12:36:52 +07:00
spec:
destination:
name: in-cluster
namespace: '{{ default `{{path.basename}}` $stack.namespace }}'
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
project: default # TODO
2021-09-03 12:36:52 +07:00
source:
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
repoURL: {{ $.Values.gitops.repo }}
path: '{{ `{{path}}` }}'
2021-09-03 12:36:52 +07:00
syncPolicy:
automated:
prune: true
selfHeal: true
retry:
limit: 10
backoff:
duration: 1m
factor: 2
maxDuration: 16m
refactor(bootstrap)!: switch to Helm with better templates Squashed commit of the following: commit c2d2def93933d5dd6ca5618385de226cd75dab3f Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:39:32 2021 +0700 refactor(bootstrap): switch branch to master commit a84a3f6ff14ee484c374f4eb13aa92495917249c Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:36:41 2021 +0700 fix(bootstrap): add missing fields commit 9d8f3d2e2374dba06c76a83241f1ea161094b241 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:25:04 2021 +0700 build(bootstrap): update dependencies if needed before apply commit 4d725efa82b4283eb701263a8b76a7c371db1e2b Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 17:15:46 2021 +0700 feat(bootstrap): port changes from master commit 7cb8d09a73cc17232314d742de52ae15daac1565 Merge: 3dc1417 d493de3 Author: Khue Doan <khuedoan98@gmail.com> Date: Mon Dec 27 16:33:06 2021 +0700 Merge branch 'master' into bootstrap-rework commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:43:28 2021 +0700 build(bootstrap): change make targets commit e81abd30158ca312edc64bfb88f88e7349d16a3e Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 13:42:44 2021 +0700 feat(bootstrap): add global values commit 69371afacf7645c935fd89807ec101670d5009d2 Merge: 370b1ca e89aea8 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Dec 1 12:19:33 2021 +0700 Merge branch 'master' into bootstrap-rework commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9 Author: Khue Doan <khuedoan98@gmail.com> Date: Wed Nov 17 00:43:13 2021 +0700 fix namespace commit 9ca055cd40b060bf2288832eb78d14a287a2aa46 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 22:05:29 2021 +0700 disable cert commit 1575fc7121b149a4426d6865db0b988b25feaa62 Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:54:36 2021 +0700 sync wave based on index commit e3dfb4027265e238b02b840e78523b3970f8669d Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 21:02:27 2021 +0700 feat(bootstrap): add project per stack commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb Author: Khue Doan <khuedoan98@gmail.com> Date: Tue Nov 16 11:18:18 2021 +0700 Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
syncOptions:
- CreateNamespace=true
{{- end }}