Skip to content

Commit

Permalink
update values.schema.json
Browse files Browse the repository at this point in the history
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
  • Loading branch information
KyriosGN0 committed Feb 11, 2025
1 parent a7f5081 commit 45ba129
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deploy/charts/trust-manager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
"helm-values.app.leaderElection": {
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "#/$defs/helm-values.app.leaderElection.enabled"
},
"leaseDuration": {
"$ref": "#/$defs/helm-values.app.leaderElection.leaseDuration"
},
Expand All @@ -131,6 +134,11 @@
},
"type": "object"
},
"helm-values.app.leaderElection.enabled": {
"default": true,
"description": "Whether to enable leader election for trust-manager.",
"type": "boolean"
},
"helm-values.app.leaderElection.leaseDuration": {
"default": "15s",
"description": "The duration that non-leader candidates will wait to force acquire leadership. The default should be sufficient in a healthy cluster but can be slightly increased to prevent trust-manager from restart-looping when the API server is overloaded.",
Expand Down

0 comments on commit 45ba129

Please sign in to comment.