Skip to content
Closed
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
31 changes: 31 additions & 0 deletions config/v1/0000_10_config-operator_01_infrastructure.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,37 @@ spec:
Services infrastructure provider.
type: object
properties:
resourceTags:
description: resourceTags is a list of additional tags to
apply to AWS resources created for the cluster. See https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
for information on tagging AWS resources. AWS supports a
maximum of 50 tags per resource. OpenShift reserves 25 tags
for its use, leaving 25 tags available for the user.
type: array
maxItems: 25
items:
description: AWSResourceTag is a tag to apply to AWS resources
created for the cluster.
type: object
required:
- key
- value
properties:
key:
description: key is the key of the tag
type: string
maxLength: 128
minLength: 1
pattern: ^[0-9A-Za-z_.:/=+-@]+$
value:
description: value is the value of the tag. Some AWS
service do not support empty values. Since tags are
added to resources in many services, the length of
the tag value must meet the requirements of all services.
type: string
maxLength: 256
minLength: 1
pattern: ^[0-9A-Za-z_.:/=+-@]+$
serviceEndpoints:
description: serviceEndpoints list contains custom endpoints
which will override default service endpoint of AWS Services.
Expand Down
8 changes: 8 additions & 0 deletions config/v1/types_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,14 @@ type AWSPlatformSpec struct {
// There must be only one ServiceEndpoint for a service.
// +optional
ServiceEndpoints []AWSServiceEndpoint `json:"serviceEndpoints,omitempty"`

// resourceTags is a list of additional tags to apply to AWS resources created for the cluster.
// See https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html for information on tagging AWS resources.
// AWS supports a maximum of 50 tags per resource. OpenShift reserves 25 tags for its use, leaving 25 tags
// available for the user.
// +kubebuilder:validation:MaxItems=25
// +optional
ResourceTags []AWSResourceTag `json:"resourceTags,omitempty"`
}

// AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider.
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.

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.