@@ -256,7 +256,7 @@ definitions:
256
256
$ref : ' #/definitions/k8sContext'
257
257
description : Optional. Must be set for development mode and must point to an existing context in KUBECONFIG.
258
258
name :
259
- $ref : ' #/definitions/clusterName '
259
+ $ref : ' #/definitions/idName '
260
260
description : Short name that will be used in construction of cluster domain and messaging.
261
261
owner :
262
262
$ref : ' #/definitions/idName'
@@ -267,9 +267,6 @@ definitions:
267
267
required :
268
268
- name
269
269
- provider
270
- clusterName :
271
- $ref : ' #/definitions/wordCharacterPattern'
272
- type : string
273
270
containerSpecNoSec :
274
271
properties :
275
272
image :
@@ -314,7 +311,7 @@ definitions:
314
311
description : PV backups
315
312
properties :
316
313
name :
317
- $ref : ' #/definitions/wordCharacterPattern '
314
+ $ref : ' #/definitions/idName '
318
315
ttl :
319
316
$ref : ' #/definitions/backupTtl'
320
317
schedule :
@@ -621,7 +618,7 @@ definitions:
621
618
type : object
622
619
properties :
623
620
name :
624
- type : string
621
+ $ref : ' #/definitions/idName '
625
622
title : Network Policy name
626
623
description : ' A unique name for the network policy'
627
624
ruleType :
@@ -656,7 +653,7 @@ definitions:
656
653
title : Selector label value
657
654
description : ' The value of the Pod selector label'
658
655
fromNamespace :
659
- type : string
656
+ $ref : ' #/definitions/idName '
660
657
title : Namespace name
661
658
description : ' The name of the namespace'
662
659
required :
@@ -1030,9 +1027,8 @@ definitions:
1030
1027
description : Points to the backing k8s service (only used when 'svc' is set).
1031
1028
ingressClassName :
1032
1029
description : Ingress class name
1033
- type : string
1030
+ $ref : ' #/definitions/idName '
1034
1031
default : platform
1035
- pattern : ' ^[a-z0-9]([-a-z0-9]*[a-z0-9])+$'
1036
1032
svc :
1037
1033
$ref : ' #/definitions/idName'
1038
1034
description : When given a backing k8s service is expected to be deployed with this name, which will be exposed through this team service.
@@ -1051,7 +1047,7 @@ definitions:
1051
1047
type : string
1052
1048
tlsSecretName :
1053
1049
description : Kubernetes secret name of type TLS (not required if the tlsPass flag is set to true).
1054
- type : string
1050
+ $ref : ' #/definitions/idName '
1055
1051
type :
1056
1052
nullable : true
1057
1053
default : public
@@ -1247,11 +1243,11 @@ definitions:
1247
1243
properties :
1248
1244
name :
1249
1245
description : Name must match mount name.
1250
- $ref : ' #/definitions/wordCharacterPattern '
1246
+ $ref : ' #/definitions/idName '
1251
1247
configMap :
1252
1248
properties :
1253
1249
name :
1254
- $ref : ' #/definitions/wordCharacterPattern '
1250
+ $ref : ' #/definitions/idName '
1255
1251
type : array
1256
1252
wordCharacterPattern :
1257
1253
type : string
@@ -1263,7 +1259,7 @@ definitions:
1263
1259
properties :
1264
1260
name :
1265
1261
description : Name of the project
1266
- $ref : ' #/definitions/wordCharacterPattern '
1262
+ $ref : ' #/definitions/idName '
1267
1263
required :
1268
1264
- name
1269
1265
policies :
@@ -1274,7 +1270,7 @@ definitions:
1274
1270
properties :
1275
1271
name :
1276
1272
description : Name of the image
1277
- $ref : ' #/definitions/wordCharacterPattern '
1273
+ $ref : ' #/definitions/idName '
1278
1274
tag :
1279
1275
description : Image tag
1280
1276
$ref : ' #/definitions/imageTag'
@@ -1291,7 +1287,7 @@ definitions:
1291
1287
description : Select to scan source
1292
1288
secretName :
1293
1289
description : The name of the secret with the credentials of the external private Git repository
1294
- type : string
1290
+ $ref : ' #/definitions/idName '
1295
1291
mode :
1296
1292
properties :
1297
1293
docker :
@@ -1350,9 +1346,9 @@ definitions:
1350
1346
description : Define location of code to build
1351
1347
properties :
1352
1348
name :
1353
- type : string
1349
+ $ref : ' #/definitions/idName '
1354
1350
namespace :
1355
- type : string
1351
+ $ref : ' #/definitions/idName '
1356
1352
immutable :
1357
1353
description : ' Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).'
1358
1354
type : boolean
@@ -1383,7 +1379,7 @@ definitions:
1383
1379
description : Define location of the application's manifests or chart
1384
1380
properties :
1385
1381
name :
1386
- $ref : ' #/definitions/wordCharacterPattern '
1382
+ $ref : ' #/definitions/idName '
1387
1383
url :
1388
1384
description : URL to either Helm or Git repository
1389
1385
$ref : ' #/definitions/url'
@@ -1415,7 +1411,7 @@ definitions:
1415
1411
default : ' '
1416
1412
namespace :
1417
1413
description : Workload namespace. Applicable only for team-admin. Default value is 'team-<team_id>'
1418
- $ref : ' #/definitions/domain '
1414
+ $ref : ' #/definitions/idName '
1419
1415
imageUpdateStrategy :
1420
1416
description : Automatically update the image. Only supported wit Helm charts in local Gitea repository and images stored in Harbor.
1421
1417
title : Auto Image Updater
@@ -1604,7 +1600,7 @@ properties:
1604
1600
description : |
1605
1601
The name of a custom secret in the istio-system namespace that contains a trusted certificate and private key.
1606
1602
To be used with issuer externally-managed-tls-secret.
1607
- type : string
1603
+ $ref : ' #/definitions/idName '
1608
1604
customRootCA :
1609
1605
x-secret : ' '
1610
1606
type : string
0 commit comments