feat(application): bootstrap application
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: application
|
||||||
@@ -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
|
||||||
@@ -6,3 +6,4 @@ resources:
|
|||||||
- cert-manager.yaml
|
- cert-manager.yaml
|
||||||
- cert-manager-config.yaml
|
- cert-manager-config.yaml
|
||||||
- web-test.yaml
|
- web-test.yaml
|
||||||
|
- application.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user