declarative application definition 101

This commit is contained in:
2024-03-29 13:26:12 +01:00
parent 218fa8d45c
commit b65e2e7a47
8 changed files with 43 additions and 66 deletions

View File

@ -1,20 +1,17 @@
API Version: argoproj.io/v1alpha1
Name: website
Namespace: argocd
Annotations:
argocd-image-updater.argoproj.io/image-list: website=illiumst/website
argocd-image-updater.argoproj.io/website.update-strategy: latest
Kind: Application
Spec:
Destination:
Name: in-cluster
Namespace: website
Project: default
Source:
Path: projects/website
Repo URL: https://github.com/illiumst/kubedeploy.git
Target Revision: HEAD
Sync Policy:
Sync Options:
CreateNamespace=true
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: website
namespace: argocd
spec:
destination:
name: in-cluster
namespace: website
project: default
source:
path: projects/website
repoURL: https://github.com/illiumst/kubedeploy.git
targetRevision: HEAD
syncPolicy:
syncOptions:
- CreateNamespace=true