Skip to content

Commit ab74462

Browse files
committed
add group to GVK projection
On-behalf-of: @SAP [email protected]
1 parent 3960f6a commit ab74462

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

deploy/crd/kcp.io/syncagent.kcp.io_publishedresources.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ spec:
285285
items:
286286
type: string
287287
type: array
288+
group:
289+
description: The API group, for example "myservice.example.com".
290+
type: string
288291
kind:
289292
description: |-
290293
The resource Kind, for example "Database". Setting this field will also overwrite

sdk/apis/syncagent/v1alpha1/published_resource.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ const (
282282

283283
// ResourceProjection describes how the source GVK should be modified before it's published in kcp.
284284
type ResourceProjection struct {
285+
// The API group, for example "myservice.example.com".
286+
Group string `json:"group,omitempty"`
285287
// The API version, for example "v1beta1".
286288
Version string `json:"version,omitempty"`
287289
// Whether or not the resource is namespaced.

sdk/applyconfiguration/syncagent/v1alpha1/resourceprojection.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)