Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: SPLAT-1790: allow additional tags to be specified in a failure domain #2025

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config/v1/types_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,13 @@ type VSpherePlatformFailureDomainSpec struct {
// + Validation is applied via a patch, we validate the format as either ipv4, ipv6 or hostname
Server string `json:"server"`

// tagIDs is an optional set of tags to add to an instance. Specified tagIDs
// must use URN-notation instead of display names. A maximum of 10 tag IDs may be specified.
// +listType=set
// +kubebuilder:example=urn:vmomi:InventoryServiceTag:5736bf56-49f5-4667-b38c-b97e09dc9578:GLOBAL
// +optional
TagIDs []string `json:"tagIDs,omitempty"`

// Topology describes a given failure domain using vSphere constructs
// +kubebuilder:validation:Required
Topology VSpherePlatformTopology `json:"topology"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
5 changes: 5 additions & 0 deletions config/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags to add
to an instance. Specified tagIDs must use URN-notation
instead of display names. A maximum of 10 tag IDs
may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure domain
using vSphere constructs
Expand Down
1 change: 1 addition & 0 deletions config/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,15 @@ spec:
maxLength: 255
minLength: 1
type: string
tagIDs:
description: tagIDs is an optional set of tags
to add to an instance. Specified tagIDs must
use URN-notation instead of display names.
A maximum of 10 tag IDs may be specified.
items:
type: string
type: array
x-kubernetes-list-type: set
topology:
description: Topology describes a given failure
domain using vSphere constructs
Expand Down
Loading