feat(application): bootstrap application

This commit is contained in:
2026-07-26 20:38:14 +02:00
parent 4710c27c19
commit 12c53847eb
4 changed files with 34 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: application
+24
View File
@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: application
namespace: argocd
spec:
project: default
source:
repoURL: ssh://gitea@172.16.2.52:2222/baptiste/k8s.git
targetRevision: main
path: apps/application
destination:
server: https://kubernetes.default.svc
namespace: application
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
+1
View File
@@ -6,3 +6,4 @@ resources:
- cert-manager.yaml
- cert-manager-config.yaml
- web-test.yaml
- application.yaml