initial demo
This commit is contained in:
15
argocd/project.yaml
Normal file
15
argocd/project.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: demo
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Demo project for GitOps customer demo
|
||||
sourceRepos:
|
||||
- '*'
|
||||
destinations:
|
||||
- namespace: demo-app
|
||||
server: https://kubernetes.default.svc
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
13
argocd/repo-secret.yaml
Normal file
13
argocd/repo-secret.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: repo-gitops-demo
|
||||
namespace: argocd
|
||||
labels:
|
||||
argocd.argoproj.io/secret-type: repository
|
||||
stringData:
|
||||
url: http://gitea-http.gitea.svc.cluster.local:3000/demo-admin/gitops-demo.git
|
||||
username: demo-admin
|
||||
password: demo-admin-ChangeMe123!
|
||||
name: gitops-demo
|
||||
type: git
|
||||
Reference in New Issue
Block a user