Skip to content

Commit 1650e9d

Browse files
committed
codegen
On-behalf-of: @SAP [email protected]
1 parent 2285d35 commit 1650e9d

File tree

6 files changed

+148
-17
lines changed

6 files changed

+148
-17
lines changed

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

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ spec:
286286
type: string
287287
type: array
288288
group:
289-
description: The API group, for example "myservice.example.com".
289+
description: The API group, for example "myservice.example.com". Leave empty to not modify the API group.
290290
type: string
291291
kind:
292292
description: |-
@@ -316,8 +316,28 @@ spec:
316316
type: string
317317
type: array
318318
version:
319-
description: The API version, for example "v1beta1".
319+
description: |-
320+
The API version, for example "v1beta1". Leave empty to not modify the version.
321+
322+
This field must not be set when multiple versions have been selected.
323+
324+
Deprecated: Use .versions instead.
320325
type: string
326+
versions:
327+
description: |-
328+
Versions allows to map API versions onto new values in kcp. Leave empty to not modify the
329+
versions.
330+
items:
331+
properties:
332+
from:
333+
type: string
334+
to:
335+
type: string
336+
required:
337+
- from
338+
- to
339+
type: object
340+
type: array
321341
type: object
322342
related:
323343
items:
@@ -674,12 +694,23 @@ spec:
674694
description: The resource Kind, for example "Database".
675695
type: string
676696
version:
677-
description: The API version, for example "v1beta1".
697+
description: |-
698+
The API version, for example "v1beta1". Setting this field will only publish
699+
the given version, otherwise all versions for the group/kind will be
700+
published.
701+
702+
Deprecated: Use .versions instead.
678703
type: string
704+
versions:
705+
description: |-
706+
Versions allows to select a subset of versions to publish. Leave empty
707+
to publish all available versions.
708+
items:
709+
type: string
710+
type: array
679711
required:
680712
- apiGroup
681713
- kind
682-
- version
683714
type: object
684715
required:
685716
- resource

sdk/apis/syncagent/v1alpha1/zz_generated.deepcopy.go

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/applyconfiguration/syncagent/v1alpha1/resourceprojection.go

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

sdk/applyconfiguration/syncagent/v1alpha1/sourceresourcedescriptor.go

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

sdk/applyconfiguration/syncagent/v1alpha1/versionprojection.go

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

sdk/applyconfiguration/utils.go

Lines changed: 2 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)