Skip to content

Commit

Permalink
fix: added new vars to schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DrackThor committed Aug 30, 2024
1 parent dfb98de commit 15ce201
Showing 1 changed file with 69 additions and 46 deletions.
115 changes: 69 additions & 46 deletions charts/snyk-broker/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,29 @@
"pattern": "^http(s?):\/\/.*"
}
},
"urlWithSchema":{
"type":"string",
"urlWithSchema": {
"type": "string",
"pattern": "^$|^http(s?):\/\/.*"
}
},
"type": "object",
"properties": {
"brokerTokenSecret": {
"type": "string"
},
"brokerTokenSecretKey": {
"type": "string"
},
"brokerToken": {
"anyOf": [
{ "type": "string", "format": "uuid" },
{ "type": "string", "format": "" }
{
"type": "string",
"format": "uuid"
},
{
"type": "string",
"format": ""
}
]
},
"brokerClientUrl": {
Expand Down Expand Up @@ -79,16 +91,22 @@
"container-registry-agent"
]
},
"scmToken":{
"scmToken": {
"type": "string"
},
"scmTokenPool":{
"type":"string"
"scmTokenSecret": {
"type": "string"
},
"scmTokenSecretKey": {
"type": "string"
},
"useExternalSecretScmTokenPool":{
"scmTokenPool": {
"type": "string"
},
"useExternalSecretScmTokenPool": {
"type": "boolean"
},
"github":{
"github": {
"$ref": "#/$defs/urlNoSchema"
},
"githubApi": {
Expand All @@ -112,25 +130,25 @@
"bitbucketApi": {
"$ref": "#/$defs/urlNoSchema"
},
"gitlab":{
"gitlab": {
"$ref": "#/$defs/urlNoSchema"
},
"azureReposOrg": {
"type": "string"
},
"azureReposHost":{
"azureReposHost": {
"$ref": "#/$defs/urlNoSchema"
},
"azureReposToken":{
"azureReposToken": {
"type": "string"
},
"artifactoryUrl":{
"artifactoryUrl": {
"$ref": "#/$defs/urlNoSchema"
},
"baseNexusUrl":{
"baseNexusUrl": {
"$ref": "#/$defs/urlWithSchema"
},
"nexusUrl":{
"nexusUrl": {
"$ref": "#/$defs/urlWithSchema"
},
"brokerClientValidationUrl": {
Expand All @@ -150,7 +168,7 @@
},
"crType": {
"type": "string",
"enum":[
"enum": [
"",
"artifactory-cr",
"harbor-cr",
Expand Down Expand Up @@ -203,7 +221,7 @@
""
]
},
"enableCodeAgent":{
"enableCodeAgent": {
"type": [
"boolean",
"string"
Expand All @@ -216,9 +234,14 @@
]
},
"upstreamUrlCodeAgent": {

},
"snykToken":{
"snyTokenSecret": {
"type": "string"
},
"snykTokenSecretKey": {
"type": "string"
},
"snykToken": {
"anyOf": [
{
"type": "string",
Expand All @@ -237,24 +260,24 @@
"gitClientUrl": {
"type": "string"
},
"logLevel":{
"logLevel": {
"type": "string",
"enum":[
"enum": [
"info",
"debug"
]
},
"logEnableBody":{
"logEnableBody": {
"type": "string",
"enum":[
"enum": [
"false",
"true"
]
},
"enableBrokerLocalWebserverOverHttps":{
"enableBrokerLocalWebserverOverHttps": {
"type": "boolean"
},
"httpsCert":{
"httpsCert": {
"type": "string"
},
"httpsKey": {
Expand All @@ -270,13 +293,13 @@
"disableCaCertTrust": {
"type": "boolean"
},
"tlsRejectUnauthorized":{
"tlsRejectUnauthorized": {
"type": [
"string",
"boolean",
"integer"
],
"enum":[
"enum": [
"",
0,
"0",
Expand All @@ -285,32 +308,32 @@
"disable"
]
},
"httpProxy":{
"httpProxy": {
"$ref": "#/$defs/urlWithSchema"
},
"httpsProxy":{
"httpsProxy": {
"$ref": "#/$defs/urlWithSchema"
},
"noProxy": {
"$ref": "#/$defs/urlWithSchema"
},
"acceptJson":{
"acceptJson": {
"type": "string"
},
"image": {
"type": "object",
"additionalProperties": false,
"properties":{
"repository":{
"properties": {
"repository": {
"type": "string"
},
"crRepository":{
"crRepository": {
"type": "string"
},
"caRepository":{
"caRepository": {
"type": "string"
},
"pullPolicy":{
"pullPolicy": {
"type": "string",
"enum": [
"Always",
Expand All @@ -326,7 +349,7 @@
"imagePullSecrets": {
"type": "array"
},
"healthCheckPath":{
"healthCheckPath": {
"type": "string"
},
"systemCheckPath": {
Expand Down Expand Up @@ -374,7 +397,7 @@
"deployment": {
"type": "object"
},
"serviceAccount":{
"serviceAccount": {
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -404,10 +427,10 @@
"securityContextCa": {
"type": "object"
},
"service":{
"service": {
"type": "object",
"additionalProperties": false,
"properties":{
"properties": {
"brokerType": {
"type": "string"
},
Expand All @@ -421,7 +444,7 @@
"type": "integer"
},
"tls": {
"type" :"array"
"type": "array"
}
}
},
Expand All @@ -431,7 +454,7 @@
"enabled": {
"type": "boolean"
},
"ingressClassName":{
"ingressClassName": {
"type": "string"
},
"annotations": {
Expand All @@ -446,18 +469,18 @@
"pathType": {
"type": "string"
},
"hosts":{
"hosts": {
"type": "array"
},
"extraPaths":{
"extraPaths": {
"type": "array"
},
"tls":{
"tls": {
"type": "array"
}
}
},
"extraObjects":{
"extraObjects": {
"type": "array"
},
"extraVolumes": {
Expand All @@ -472,7 +495,7 @@
"extraPodSpecs": {
"nullable": true
},
"extraPodSpecsCr":{
"extraPodSpecsCr": {
"nullable": true
}
},
Expand Down

0 comments on commit 15ce201

Please sign in to comment.