Skip to content

Commit

Permalink
Add AppProject
Browse files Browse the repository at this point in the history
  • Loading branch information
theJaxon committed Jul 19, 2023
1 parent 794ccfa commit 5917837
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions AppProject/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: dev
namespace: argocd
spec:
description: dev environment project
# Allow manifests to deploy from any Git repos
sourceRepos:
- '*'
# Only permit applications to deploy to the dev namespace in the same cluster
destinations:
- namespace: dev
server: https://kubernetes.default.svc
# Allow all resources
clusterResourceWhitelist:
- group: '*'
kind: '*'
18 changes: 18 additions & 0 deletions AppProject/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: test
namespace: argocd
spec:
description: test environment project
# Allow manifests to deploy from any Git repos
sourceRepos:
- '*'
# Only permit applications to deploy to the test namespace in the same cluster
destinations:
- namespace: test
server: https://kubernetes.default.svc
# Allow all resources
clusterResourceWhitelist:
- group: '*'
kind: '*'

0 comments on commit 5917837

Please sign in to comment.