Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 10c5f71

Browse files
committed
Add APIBinding to make controller work
1 parent 733db4e commit 10c5f71

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

config/kcp/apibinding.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: apis.kcp.dev/v1alpha1
2+
kind: APIBinding
3+
metadata:
4+
name: data.my.domain
5+
spec:
6+
reference:
7+
workspace:
8+
exportName: data.my.domain

config/kcp/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resources:
33
- apiexport.yaml
44
- clusterrole.yaml
55
- clusterrolebinding.yaml
6+
- apibinding.yaml
67

78
configurations:
89
- kustomizeconfig.yaml

config/kcp/kustomizeconfig.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ nameReference:
33
fieldSpecs:
44
- kind: APIExport
55
path: spec/latestResourceSchemas
6+
- kind: APIExport
7+
fieldSpecs:
8+
- kind: APIBinding
9+
path: spec/reference/workspace/exportName
10+

0 commit comments

Comments
 (0)