Skip to content

Commit 9ae0e4a

Browse files
committed
Generate CRDS for aws: resource tag key prefix validation
1 parent d4eab97 commit 9ae0e4a

File tree

40 files changed

+169
-3
lines changed

40 files changed

+169
-3
lines changed

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-CustomNoUpgrade.crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ spec:
13091309
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
13101310
Key should consist of between 1 and 128 characters, and may
13111311
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1312+
Key must not be start with 'aws:'.
13121313
maxLength: 128
13131314
minLength: 1
13141315
type: string
@@ -1318,6 +1319,9 @@ spec:
13181319
space (' '), '_', '.', '/', '=', '+', '-', ':',
13191320
'@'
13201321
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1322+
- message: the prefix 'aws:' is reserved for AWS system
1323+
usage and cannot be used at the beginning of a key
1324+
rule: '!self.startsWith(''aws:'')'
13211325
value:
13221326
description: |-
13231327
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ spec:
11891189
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11901190
Key should consist of between 1 and 128 characters, and may
11911191
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1192+
Key must not be start with 'aws:'.
11921193
maxLength: 128
11931194
minLength: 1
11941195
type: string
@@ -1198,6 +1199,9 @@ spec:
11981199
space (' '), '_', '.', '/', '=', '+', '-', ':',
11991200
'@'
12001201
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1202+
- message: the prefix 'aws:' is reserved for AWS system
1203+
usage and cannot be used at the beginning of a key
1204+
rule: '!self.startsWith(''aws:'')'
12011205
value:
12021206
description: |-
12031207
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-DevPreviewNoUpgrade.crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ spec:
13091309
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
13101310
Key should consist of between 1 and 128 characters, and may
13111311
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1312+
Key must not be start with 'aws:'.
13121313
maxLength: 128
13131314
minLength: 1
13141315
type: string
@@ -1318,6 +1319,9 @@ spec:
13181319
space (' '), '_', '.', '/', '=', '+', '-', ':',
13191320
'@'
13201321
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1322+
- message: the prefix 'aws:' is reserved for AWS system
1323+
usage and cannot be used at the beginning of a key
1324+
rule: '!self.startsWith(''aws:'')'
13211325
value:
13221326
description: |-
13231327
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-TechPreviewNoUpgrade.crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ spec:
13091309
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
13101310
Key should consist of between 1 and 128 characters, and may
13111311
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1312+
Key must not be start with 'aws:'.
13121313
maxLength: 128
13131314
minLength: 1
13141315
type: string
@@ -1318,6 +1319,9 @@ spec:
13181319
space (' '), '_', '.', '/', '=', '+', '-', ':',
13191320
'@'
13201321
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1322+
- message: the prefix 'aws:' is reserved for AWS system
1323+
usage and cannot be used at the beginning of a key
1324+
rule: '!self.startsWith(''aws:'')'
13211325
value:
13221326
description: |-
13231327
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AAA_ungated.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,7 @@ spec:
11621162
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11631163
Key should consist of between 1 and 128 characters, and may
11641164
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1165+
Key must not be start with 'aws:'.
11651166
maxLength: 128
11661167
minLength: 1
11671168
type: string
@@ -1171,6 +1172,9 @@ spec:
11711172
space (' '), '_', '.', '/', '=', '+', '-', ':',
11721173
'@'
11731174
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1175+
- message: the prefix 'aws:' is reserved for AWS system
1176+
usage and cannot be used at the beginning of a key
1177+
rule: '!self.startsWith(''aws:'')'
11741178
value:
11751179
description: |-
11761180
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/AWSClusterHostedDNS.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,7 @@ spec:
12591259
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
12601260
Key should consist of between 1 and 128 characters, and may
12611261
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1262+
Key must not be start with 'aws:'.
12621263
maxLength: 128
12631264
minLength: 1
12641265
type: string
@@ -1268,6 +1269,9 @@ spec:
12681269
space (' '), '_', '.', '/', '=', '+', '-', ':',
12691270
'@'
12701271
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1272+
- message: the prefix 'aws:' is reserved for AWS system
1273+
usage and cannot be used at the beginning of a key
1274+
rule: '!self.startsWith(''aws:'')'
12711275
value:
12721276
description: |-
12731277
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/BareMetalLoadBalancer.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ spec:
11551155
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11561156
Key should consist of between 1 and 128 characters, and may
11571157
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1158+
Key must not be start with 'aws:'.
11581159
maxLength: 128
11591160
minLength: 1
11601161
type: string
@@ -1164,6 +1165,9 @@ spec:
11641165
space (' '), '_', '.', '/', '=', '+', '-', ':',
11651166
'@'
11661167
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1168+
- message: the prefix 'aws:' is reserved for AWS system
1169+
usage and cannot be used at the beginning of a key
1170+
rule: '!self.startsWith(''aws:'')'
11671171
value:
11681172
description: |-
11691173
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPClusterHostedDNS.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ spec:
11551155
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11561156
Key should consist of between 1 and 128 characters, and may
11571157
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1158+
Key must not be start with 'aws:'.
11581159
maxLength: 128
11591160
minLength: 1
11601161
type: string
@@ -1164,6 +1165,9 @@ spec:
11641165
space (' '), '_', '.', '/', '=', '+', '-', ':',
11651166
'@'
11661167
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1168+
- message: the prefix 'aws:' is reserved for AWS system
1169+
usage and cannot be used at the beginning of a key
1170+
rule: '!self.startsWith(''aws:'')'
11671171
value:
11681172
description: |-
11691173
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/GCPLabelsTags.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ spec:
11551155
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11561156
Key should consist of between 1 and 128 characters, and may
11571157
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1158+
Key must not be start with 'aws:'.
11581159
maxLength: 128
11591160
minLength: 1
11601161
type: string
@@ -1164,6 +1165,9 @@ spec:
11641165
space (' '), '_', '.', '/', '=', '+', '-', ':',
11651166
'@'
11661167
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1168+
- message: the prefix 'aws:' is reserved for AWS system
1169+
usage and cannot be used at the beginning of a key
1170+
rule: '!self.startsWith(''aws:'')'
11671171
value:
11681172
description: |-
11691173
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

config/v1/zz_generated.featuregated-crd-manifests/infrastructures.config.openshift.io/HighlyAvailableArbiter.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,7 @@ spec:
11601160
key sets the key of the AWS resource tag key-value pair. Key is required when defining an AWS resource tag.
11611161
Key should consist of between 1 and 128 characters, and may
11621162
contain only the set of alphanumeric characters, space (' '), '_', '.', '/', '=', '+', '-', ':', and '@'.
1163+
Key must not be start with 'aws:'.
11631164
maxLength: 128
11641165
minLength: 1
11651166
type: string
@@ -1169,6 +1170,9 @@ spec:
11691170
space (' '), '_', '.', '/', '=', '+', '-', ':',
11701171
'@'
11711172
rule: self.matches('^[0-9A-Za-z_.:/=+-@ ]+$')
1173+
- message: the prefix 'aws:' is reserved for AWS system
1174+
usage and cannot be used at the beginning of a key
1175+
rule: '!self.startsWith(''aws:'')'
11721176
value:
11731177
description: |-
11741178
value sets the value of the AWS resource tag key-value pair. Value is required when defining an AWS resource tag.

0 commit comments

Comments
 (0)