-
Notifications
You must be signed in to change notification settings - Fork 95
/
application.yml
56 lines (56 loc) · 1.22 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
apiVersion: apps.open-cluster-management.io/v1
kind: Channel
metadata:
name: mariadb-app
namespace: mariadb
spec:
type: Git
pathname: https://github.com/michaelkotelnikov/rhacm-workshop.git
---
apiVersion: apps.open-cluster-management.io/v1
kind: PlacementRule
metadata:
name: prod-clusters
namespace: mariadb
spec:
clusterConditions:
- type: ManagedClusterConditionAvailable
status: "True"
clusterSelector:
matchLabels:
environment: production
---
apiVersion: apps.open-cluster-management.io/v1
kind: Subscription
metadata:
name: mariadb-app
namespace: mariadb
labels:
app: mariadb-app
annotations:
apps.open-cluster-management.io/github-path: 07.Ansible-Tower-Integration/demo-application/mariadb-resources
apps.open-cluster-management.io/git-branch: master
spec:
channel: mariadb/mariadb-app
placement:
placementRef:
kind: PlacementRule
name: prod-clusters
---
apiVersion: app.k8s.io/v1beta1
kind: Application
metadata:
name: mariadb-app
namespace: mariadb
spec:
componentKinds:
- group: apps.open-cluster-management.io
kind: Subscription
descriptor: {}
selector:
matchExpressions:
- key: app
operator: In
values:
- mariadb-app