Skip to content

Commit 336a802

Browse files
committed
fix bug in values.yaml
Signed-off-by: Tim Ramlot <[email protected]>
1 parent 22ca1e7 commit 336a802

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

deploy/charts/venafi-kubernetes-agent/README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,16 @@ Control Plane.
440440
> ```
441441
442442
Enable or disable the PodDisruptionBudget resource, which helps prevent downtime during voluntary disruptions such as during a Node upgrade.
443+
#### **podDisruptionBudget.minAvailable** ~ `number`
444+
445+
Configure the minimum available pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).
446+
Cannot be used if `maxUnavailable` is set.
447+
448+
#### **podDisruptionBudget.maxUnavailable** ~ `number`
449+
450+
Configure the maximum unavailable pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).
451+
Cannot be used if `minAvailable` is set.
452+
443453
### CRDs
444454
445455
@@ -465,20 +475,5 @@ This option makes it so that the "helm.sh/resource-policy": keep annotation is a
465475
> ```
466476
467477
When set to false, the rendered output does not contain the. VenafiConnection CRDs and RBAC. This is useful for when the. Venafi Connection resources are already installed separately.
468-
#### **podDisruptionBudget.enabled** ~ `bool`
469-
> Default value:
470-
> ```yaml
471-
> false
472-
> ```
473-
#### **podDisruptionBudget.minAvailable** ~ `number`
474-
> Default value:
475-
> ```yaml
476-
> 1
477-
> ```
478-
#### **podDisruptionBudget.maxUnavailable** ~ `number`
479-
> Default value:
480-
> ```yaml
481-
> 1
482-
> ```
483478
484479
<!-- /AUTO-GENERATED -->

deploy/charts/venafi-kubernetes-agent/values.schema.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,14 +477,15 @@
477477
},
478478
"helm-values.podDisruptionBudget.enabled": {
479479
"default": false,
480+
"description": "Enable or disable the PodDisruptionBudget resource, which helps prevent downtime during voluntary disruptions such as during a Node upgrade.",
480481
"type": "boolean"
481482
},
482483
"helm-values.podDisruptionBudget.maxUnavailable": {
483-
"default": 1,
484+
"description": "Configure the maximum unavailable pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).\nCannot be used if `minAvailable` is set.",
484485
"type": "number"
485486
},
486487
"helm-values.podDisruptionBudget.minAvailable": {
487-
"default": 1,
488+
"description": "Configure the minimum available pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).\nCannot be used if `maxUnavailable` is set.",
488489
"type": "number"
489490
},
490491
"helm-values.podSecurityContext": {

deploy/charts/venafi-kubernetes-agent/values.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,13 @@ podDisruptionBudget:
254254
# Configure the minimum available pods for disruptions. Can either be set to
255255
# an integer (e.g. 1) or a percentage value (e.g. 25%).
256256
# Cannot be used if `maxUnavailable` is set.
257+
# +docs:property
257258
# minAvailable: 1
258259

259260
# Configure the maximum unavailable pods for disruptions. Can either be set to
260261
# an integer (e.g. 1) or a percentage value (e.g. 25%).
261262
# Cannot be used if `minAvailable` is set.
263+
# +docs:property
262264
# maxUnavailable: 1
263265

264266
# +docs:section=CRDs
@@ -284,8 +286,3 @@ crds:
284286
# VenafiConnection CRDs and RBAC. This is useful for when the
285287
# Venafi Connection resources are already installed separately.
286288
include: false
287-
288-
podDisruptionBudget:
289-
enabled: false
290-
minAvailable: 1
291-
maxUnavailable: 1

0 commit comments

Comments
 (0)