diff --git a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go index d5ebcc91c5..9d1213c709 100644 --- a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go +++ b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go @@ -301,6 +301,12 @@ type AWSPlatformSpec struct { // There must be only one ServiceEndpoint for a service. // +optional ServiceEndpoints []AWSServiceEndpoint `json:"serviceEndpoints,omitempty"` + + // userTags is a list of additional tags to apply to AWS resources created for the cluster. Changes made to userTags + // will not be reflected in existing AWS resources. The userTags are only applied to an AWS resource when the + // resource is created. + // +optional + UserTags []AWSUserTag `json:"userTags,omitempty"` } // AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider. @@ -315,6 +321,14 @@ type AWSPlatformStatus struct { ServiceEndpoints []AWSServiceEndpoint `json:"serviceEndpoints,omitempty"` } +// AWSUserTag is a tag to apply to AWS resources created for the cluster. +type AWSUserTag struct { + // key is the key of the tag + Key string `json:"key"` + // value is the value of the tag + Value string `json:"value"` +} + // AzurePlatformSpec holds the desired state of the Azure infrastructure provider. // This only includes fields that can be modified in the cluster. type AzurePlatformSpec struct{} diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go index 16cdc034c5..b38097e38b 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go @@ -186,6 +186,11 @@ func (in *AWSPlatformSpec) DeepCopyInto(out *AWSPlatformSpec) { *out = make([]AWSServiceEndpoint, len(*in)) copy(*out, *in) } + if in.UserTags != nil { + in, out := &in.UserTags, &out.UserTags + *out = make([]AWSUserTag, len(*in)) + copy(*out, *in) + } return } @@ -236,6 +241,22 @@ func (in *AWSServiceEndpoint) DeepCopy() *AWSServiceEndpoint { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AWSUserTag) DeepCopyInto(out *AWSUserTag) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSUserTag. +func (in *AWSUserTag) DeepCopy() *AWSUserTag { + if in == nil { + return nil + } + out := new(AWSUserTag) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AdmissionConfig) DeepCopyInto(out *AdmissionConfig) { *out = *in diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go index b038e8ec40..be5a2b8575 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go @@ -715,6 +715,7 @@ func (RegistrySources) SwaggerDoc() map[string]string { var map_AWSPlatformSpec = map[string]string{ "": "AWSPlatformSpec holds the desired state of the Amazon Web Services infrastructure provider. This only includes fields that can be modified in the cluster.", "serviceEndpoints": "serviceEndpoints list contains custom endpoints which will override default service endpoint of AWS Services. There must be only one ServiceEndpoint for a service.", + "userTags": "userTags is a list of additional tags to apply to AWS resources created for the cluster. Changes made to userTags will not be reflected in existing AWS resources. The userTags are only applied to an AWS resource when the resource is created.", } func (AWSPlatformSpec) SwaggerDoc() map[string]string { @@ -741,6 +742,16 @@ func (AWSServiceEndpoint) SwaggerDoc() map[string]string { return map_AWSServiceEndpoint } +var map_AWSUserTag = map[string]string{ + "": "AWSUserTag is a tag to apply to AWS resources created for the cluster.", + "key": "key is the key of the tag", + "value": "value is the value of the tag", +} + +func (AWSUserTag) SwaggerDoc() map[string]string { + return map_AWSUserTag +} + var map_AzurePlatformSpec = map[string]string{ "": "AzurePlatformSpec holds the desired state of the Azure infrastructure provider. This only includes fields that can be modified in the cluster.", }