feat(make-space): add namespaces, Tekton CI app, and prod auto-sync
This commit is contained in:
1 parent
2b65a583b9
commit
eb96f56349
4 files changed
+61
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: make-space-ci
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "6"
|
||||
spec:
|
||||
project: ci
|
||||
source:
|
||||
repoURL: https://git.dahyeon.us/dahyeon/service-state.git
|
||||
targetRevision: main
|
||||
path: ci/make-space
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: tekton-ci
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- SkipDryRunOnMissingResource=true
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: "{{index .path.segments 1}}-prod"
|
||||
templatePatch: |
|
||||
{{- if eq (index .path.segments 1) "url-shortener" }}
|
||||
{{- if or (eq (index .path.segments 1) "url-shortener") (eq (index .path.segments 1) "make-space") }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
|
||||
Reference in new issue
Block a user