Skip to content

Commit

Permalink
refactor: update schema
Browse files Browse the repository at this point in the history
Signed-off-by: falcorocks <[email protected]>
  • Loading branch information
falcorocks committed Jan 20, 2025
1 parent 9633759 commit d12ec31
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions charts/policy-controller/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,40 @@
"title": "cosignPub",
"type": "string"
},
"webhookName": {
"default": "policy.sigstore.dev",
"required": [],
"title": "webhookName",
"type": "string"
},
"timeoutSeconds": {
"additionalProperties": false,
"title": "timeoutSeconds",
"type": "object",
"properties": {
"mutating": {
"default": 10,
"description": "timeoutSeconds allows configuring how long the API server should wait for a webhook to respond before treating the call as a failure",
"required": [],
"title": "mutating",
"type": "integer"
},
"validating": {
"default": 10,
"description": "timeoutSeconds allows configuring how long the API server should wait for a webhook to respond before treating the call as a failure",
"required": [],
"title": "validating",
"type": "integer"
}
}
},
"required": [
"mutating",
"validating"
],
"title": "timeoutSeconds",
"type": "object"
},
"webhookName": {
"default": "policy.sigstore.dev",
"required": [],
"title": "webhookName",
"type": "string"
}
},
"required": [
"cosignPub",
"webhookName"
"webhookName",
"timeoutSeconds"
],
"title": "cosign",
"type": "object"
Expand Down Expand Up @@ -209,8 +212,8 @@
"type": "string"
},
"version": {
"default": "sha256:f291fce5b9c1a69ba54990eda7e0fe4114043b1afefb0f4ee3e6f84ec9ef1605",
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.8.2",
"default": "sha256:f3b57d4c906fcbd7229c3069c055ce2b2862e01106c2b85df1322f1e3a232829",
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.11.0",
"required": [],
"title": "version",
"type": "string"
Expand Down Expand Up @@ -614,7 +617,8 @@
"volumes",
"namespaceSelector",
"registryCaBundle",
"webhookNames"
"webhookNames",
"webhookTimeoutSeconds"
],
"title": "webhook",
"type": "object"
Expand Down

0 comments on commit d12ec31

Please sign in to comment.