File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed
Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ components:
1212 - resourcemanager.miloapis.com/
1313 - iam.miloapis.com/
1414 - dns.networking.miloapis.com/
15+ - search.miloapis.com/
Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1alpha1
2+ kind : Component
3+
4+ resources :
5+ - user-resourceindexpolicy.yaml
6+
7+ # Use explicit sorting options so we can guarantee order in which resources are
8+ # applied.
9+ sortOptions :
10+ order : fifo
11+
12+ labels :
13+ - includeSelectors : true
14+ pairs :
15+ app.kubernetes.io/component : search-miloapis-com
16+ app.kubernetes.io/part-of : datum-cloud
Original file line number Diff line number Diff line change 1+ apiVersion : search.miloapis.com/v1alpha1
2+ kind : ResourceIndexPolicy
3+ metadata :
4+ name : user-resource-index-policy
5+ spec :
6+ conditions :
7+ - expression : has(metadata.name)
8+ name : has-name
9+ fields :
10+ - path : .metadata.name
11+ searchable : true
12+ - path : .spec.email
13+ searchable : true
14+ - path : .spec.firstName
15+ searchable : true
16+ - path : .spec.lastName
17+ searchable : true
18+ targetResource :
19+ group : iam.miloapis.com
20+ kind : User
21+ version : v1alpha1
You can’t perform that action at this time.
0 commit comments