mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: turash
|
|
namespace: argocd
|
|
labels:
|
|
name: turash
|
|
spec:
|
|
description: Turash Backend Application Project
|
|
sourceRepos:
|
|
- 'https://github.com/SamyRai/turash.git'
|
|
- '*'
|
|
destinations:
|
|
- namespace: turash
|
|
server: https://kubernetes.default.svc
|
|
- namespace: '*'
|
|
server: https://kubernetes.default.svc
|
|
clusterResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
namespaceResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
roles:
|
|
- name: admin
|
|
description: Admin role for Turash project
|
|
policies:
|
|
- p, proj:turash:admin, applications, *, turash/*, allow
|
|
- p, proj:turash:admin, repositories, *, *, allow
|
|
- p, proj:turash:admin, clusters, *, *, allow
|
|
groups:
|
|
- turash-admins
|
|
- name: developer
|
|
description: Developer role for Turash project
|
|
policies:
|
|
- p, proj:turash:developer, applications, get, turash/*, allow
|
|
- p, proj:turash:developer, applications, sync, turash/*, allow
|
|
groups:
|
|
- turash-developers
|
|
|