Skip to content

Commit 6966a5b

Browse files
committed
Add SchemaHero
1 parent dd7f3e1 commit 6966a5b

11 files changed

+3405
-0
lines changed

argocd/schema-hero.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: schema-hero
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: production
11+
source:
12+
repoURL: https://github.com/vfarcic/idp-demo
13+
targetRevision: HEAD
14+
path: schema-hero
15+
destination:
16+
server: https://kubernetes.default.svc
17+
namespace: schemahero-system
18+
syncPolicy:
19+
automated:
20+
selfHeal: true
21+
prune: true
22+
allowEmpty: true
23+
syncOptions:
24+
- CreateNamespace=true

infra/schema-hero.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: schema-hero
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: production
11+
source:
12+
repoURL: https://github.com/vfarcic/idp-demo
13+
targetRevision: HEAD
14+
path: schema-hero
15+
destination:
16+
server: https://kubernetes.default.svc
17+
namespace: schemahero-system
18+
syncPolicy:
19+
automated:
20+
selfHeal: true
21+
prune: true
22+
allowEmpty: true
23+
syncOptions:
24+
- CreateNamespace=true

schema-hero/cluster-role-binding.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
creationTimestamp: null
5+
name: schemahero-rolebinding
6+
roleRef:
7+
apiGroup: rbac.authorization.k8s.io
8+
kind: ClusterRole
9+
name: schemahero-role
10+
subjects:
11+
- kind: ServiceAccount
12+
name: default
13+
namespace: schemahero-system

schema-hero/cluster-role.yaml

+154
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: schemahero-role
6+
rules:
7+
- apiGroups:
8+
- apps
9+
resources:
10+
- deployments
11+
- statefulsets
12+
verbs:
13+
- get
14+
- list
15+
- watch
16+
- create
17+
- update
18+
- patch
19+
- delete
20+
- apiGroups:
21+
- apps
22+
resources:
23+
- deployments/status
24+
- statefulset/status
25+
verbs:
26+
- get
27+
- update
28+
- patch
29+
- apiGroups:
30+
- ""
31+
resources:
32+
- pods
33+
verbs:
34+
- get
35+
- list
36+
- watch
37+
- create
38+
- update
39+
- patch
40+
- delete
41+
- apiGroups:
42+
- ""
43+
resources:
44+
- pods/log
45+
verbs:
46+
- get
47+
- apiGroups:
48+
- ""
49+
resources:
50+
- secrets
51+
verbs:
52+
- get
53+
- list
54+
- watch
55+
- create
56+
- update
57+
- patch
58+
- delete
59+
- apiGroups:
60+
- ""
61+
resources:
62+
- serviceaccounts
63+
verbs:
64+
- get
65+
- list
66+
- create
67+
- update
68+
- delete
69+
- watch
70+
- apiGroups:
71+
- rbac.authorization.k8s.io
72+
resources:
73+
- roles
74+
- rolebindings
75+
verbs:
76+
- get
77+
- list
78+
- create
79+
- update
80+
- delete
81+
- watch
82+
- apiGroups:
83+
- admissionregistration.k8s.io
84+
resources:
85+
- mutatingwebhookconfigurations
86+
- validatingwebhookconfigurations
87+
verbs:
88+
- get
89+
- list
90+
- watch
91+
- create
92+
- update
93+
- patch
94+
- delete
95+
- apiGroups:
96+
- databases.schemahero.io
97+
resources:
98+
- databases
99+
verbs:
100+
- get
101+
- list
102+
- watch
103+
- create
104+
- update
105+
- patch
106+
- delete
107+
- apiGroups:
108+
- databases.schemahero.io
109+
resources:
110+
- databases/status
111+
verbs:
112+
- get
113+
- update
114+
- patch
115+
- apiGroups:
116+
- schemas.schemahero.io
117+
resources:
118+
- migrations
119+
verbs:
120+
- get
121+
- list
122+
- watch
123+
- create
124+
- update
125+
- patch
126+
- delete
127+
- apiGroups:
128+
- schemas.schemahero.io
129+
resources:
130+
- migrations/status
131+
verbs:
132+
- get
133+
- update
134+
- patch
135+
- apiGroups:
136+
- schemas.schemahero.io
137+
resources:
138+
- tables
139+
verbs:
140+
- get
141+
- list
142+
- watch
143+
- create
144+
- update
145+
- patch
146+
- delete
147+
- apiGroups:
148+
- schemas.schemahero.io
149+
resources:
150+
- tables/status
151+
verbs:
152+
- get
153+
- update
154+
- patch

0 commit comments

Comments
 (0)