Skip to content

Commit

Permalink
Schema Pattern Fix (F5Networks#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
nandakishorepeddi authored Dec 13, 2022
1 parent 4b8c018 commit f904c69
Showing 1 changed file with 61 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ spec:
pattern: '^(([a-zA-Z0-9\*]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$'
hostGroup:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]*[A-z0-9]*$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]*[A-z0-9]*$'
httpTraffic:
type: string
enum: [allow, none, redirect]
ipamLabel:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]+[A-z0-9]+$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]+[A-z0-9]+$'
snat:
type: string
pattern: '^$|^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'
pattern: '^$|^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'
tlsProfileName:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]+[A-z0-9]+$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]+[A-z0-9]+$'
persistenceProfile:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
profiles:
type: object
properties:
Expand All @@ -58,26 +58,26 @@ spec:
pattern: '^\/([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
dos:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
botDefense:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
policyName:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]+[A-z0-9]+$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]+[A-z0-9]+$'
rewriteAppRoot:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)*([-A-z0-9_.:]+\/?)*$'
waf:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
profileMultiplex:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
allowVlans:
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.]+\/?)*$'
type: array
allowSourceRange:
items:
Expand All @@ -87,7 +87,7 @@ spec:
type: array
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
serviceAddress:
type: array
maxItems: 1
Expand All @@ -114,13 +114,13 @@ spec:
properties:
name:
type: string
pattern: '^[A-z]+([-A-z0-9_.+:])*([A-z0-9])+$'
pattern: '^[a-zA-Z]+([-A-z0-9_.+:])*([A-z0-9])+$'
path:
type: string
pattern: '^\/([A-z0-9-_+]+\/)*([-A-z0-9_.:]+\/?)*$'
service:
type: string
pattern: '^[A-z]+([-A-z0-9_.+])*([A-z0-9])+$'
pattern: '^[a-zA-Z]+([-A-z0-9_.+])*([A-z0-9])+$'
loadBalancingMethod:
type: string
pattern: '^[a-z]+[a-z_-]+[a-z]+$'
Expand All @@ -136,7 +136,7 @@ spec:
pattern: '^\/([A-z0-9-_+]+\/)*([-A-z0-9_.:]+\/?)*$'
serviceNamespace:
type: string
pattern: '^[A-z]+([-A-z0-9_.+:])*([A-z0-9])+$'
pattern: '^[a-zA-Z]+([-A-z0-9_.+:])*([A-z0-9])+$'
monitor:
type: object
properties:
Expand All @@ -155,7 +155,7 @@ spec:
type: integer
name:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
reference:
type: string
enum: [bigip]
Expand All @@ -179,7 +179,7 @@ spec:
type: integer
name:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
reference:
type: string
enum: [bigip]
Expand All @@ -194,7 +194,7 @@ spec:
pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$'
virtualServerName:
type: string
pattern: '^[A-z]+([A-z0-9-_+])*([A-z0-9])$'
pattern: '^[a-zA-Z]+([A-z0-9-_+])*([A-z0-9])$'
virtualServerHTTPPort:
type: integer
minimum: 1
Expand Down Expand Up @@ -286,20 +286,20 @@ spec:
enum: [edge, reencrypt, passthrough]
clientSSL:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
clientSSLs:
type: array
items:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
serverSSL:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
serverSSLs:
type: array
items:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
reference:
type: string
enum: [bigip, secret]
Expand Down Expand Up @@ -341,13 +341,13 @@ spec:
maximum: 65535
virtualServerName:
type: string
pattern: '^[A-z]+([A-z0-9-_+])*([A-z0-9])$'
pattern: '^[a-zA-Z]+([A-z0-9-_+])*([A-z0-9])$'
host:
type: string
pattern: '^(([a-zA-Z0-9\*]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$'
hostGroup:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]*[A-z0-9]*$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]*[A-z0-9]*$'
policyName:
type: string
pattern: '^([A-z0-9-_+])*([A-z0-9])$'
Expand All @@ -359,7 +359,7 @@ spec:
enum: [tcp, udp, sctp]
snat:
type: string
pattern: '^$|^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'
pattern: '^$|^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'
profiles:
type: object
properties:
Expand All @@ -368,32 +368,32 @@ spec:
properties:
client:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
server:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
persistenceProfile:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
dos:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
profileL4:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
allowVlans:
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.]+\/?)*$'
type: array
iRules:
type: array
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
ipamLabel:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]+[A-z0-9]+$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]+[A-z0-9]+$'
serviceAddress:
type: array
maxItems: 1
Expand All @@ -412,16 +412,16 @@ spec:
type: boolean
trafficGroup:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pool:
type: object
properties:
name:
type: string
pattern: '^[A-z]+([-A-z0-9_.+:])*([A-z0-9])+$'
pattern: '^[a-zA-Z]+([-A-z0-9_.+:])*([A-z0-9])+$'
service:
type: string
pattern: '^[A-z]+([-A-z0-9_.+])*([A-z0-9])+$'
pattern: '^[a-zA-Z]+([-A-z0-9_.+])*([A-z0-9])+$'
servicePort:
type: integer
minimum: 1
Expand All @@ -446,7 +446,7 @@ spec:
type: integer
name:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
reference:
type: string
enum: [bigip]
Expand All @@ -466,7 +466,7 @@ spec:
type: integer
name:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
reference:
type: string
enum: [bigip]
Expand Down Expand Up @@ -567,7 +567,7 @@ spec:
properties:
dataServerName:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
dnsRecordType:
type: string
pattern: 'A'
Expand Down Expand Up @@ -661,12 +661,12 @@ spec:
pattern: '^(([a-zA-Z0-9\*]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$'
ipamLabel:
type: string
pattern: '^[A-z]+[-A-z0-9_.:]+[A-z0-9]+$'
pattern: '^[a-zA-Z]+[-A-z0-9_.:]+[A-z0-9]+$'
iRules:
type: array
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
selector:
properties:
matchLabels:
Expand Down Expand Up @@ -726,31 +726,31 @@ spec:
properties:
dos:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
botDefense:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
firewallPolicy:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([A-z0-9]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([A-z0-9]+\/?)*$'
allowSourceRange:
items:
type: string
type: array
allowVlans:
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)*([A-z0-9-_.\s]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)*([A-z0-9-_.\s]+\/?)*$'
type: array
ltmPolicies:
type: object
properties:
insecure:
type: string
pattern: '^\/[A-z]+([-A-z0-9_+:]+\/)+([A-z0-9]+\/?)*$'
pattern: '^\/[a-zA-Z]+([-A-z0-9_+:]+\/)+([A-z0-9]+\/?)*$'
secure:
type: string
pattern: '^\/[A-z]+([-A-z0-9_+:]+\/)+([A-z0-9]+\/?)*$'
pattern: '^\/[a-zA-Z]+([-A-z0-9_+:]+\/)+([A-z0-9]+\/?)*$'
priority:
type: string
enum: [low, high]
Expand All @@ -759,10 +759,10 @@ spec:
properties:
insecure:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
secure:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
priority:
type: string
enum: [ low, high ]
Expand All @@ -774,36 +774,36 @@ spec:
properties:
client:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
server:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
udp:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
http:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
http2:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
persistenceProfile:
type: string
pattern: '^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
pattern: '^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)*$'
profileL4:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
profileMultiplex:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([-A-z0-9_.:]+\/?)*$'
rewriteProfile:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)+([A-z0-9]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)+([A-z0-9]+\/?)*$'
logProfiles:
items:
type: string
pattern: '^\/[A-z]+([A-z0-9-_+]+\/)*([-A-z0-9._\s]+\/?)*$'
pattern: '^\/[a-zA-Z]+([A-z0-9-_+]+\/)*([-A-z0-9._\s]+\/?)*$'
type: array
snat:
type: string
pattern: '^$|^\/?[A-z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'
pattern: '^$|^\/?[a-zA-Z]+([-A-z0-9_+]+\/)*([-A-z0-9_.:]+\/?)+$'

0 comments on commit f904c69

Please sign in to comment.