Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions chart/templates/applicationdisruptionbudget-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ spec:
metadata:
type: object
spec:
description: ApplicationDisruptionBudgetSpec defines the desired state of
ApplicationDisruptionBudget
description: ApplicationDisruptionBudgetSpec defines the desired state
of ApplicationDisruptionBudget
properties:
healthHook:
description: |-
Expand All @@ -66,8 +66,24 @@ spec:
roots on the apiserver are used.
type: string
url:
description: URL that will be called by the hook, in standard URL
form (`scheme://host:port/path`).
description: URL that will be called by the hook, in standard
URL form (`scheme://host:port/path`).
type: string
type: object
hookV2BasePath:
description: |-
HookV2BasePath holds the base path for the prepare, ready, cancel hooks that will be
called at different stages of the NodeDisruption lifecycle.
A POST http request containing a Disruption that is being reconciled is sent ot each of the hooks.
properties:
caBundle:
description: a PEM encoded CA bundle which will be used to validate
the webhook's server certificate. If unspecified, system trust
roots on the apiserver are used.
type: string
url:
description: URL that will be called by the hook, in standard
URL form (`scheme://host:port/path`).
type: string
type: object
maxDisruptions:
Expand Down Expand Up @@ -104,11 +120,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down Expand Up @@ -149,11 +167,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand All @@ -164,6 +184,14 @@ spec:
type: object
type: object
x-kubernetes-map-type: atomic
supportedNodeDisruptionTypes:
description: |-
SupportedNodeDisruptionTypes is the list of node disruption types that this budget supports.
When set, this budget will only be considered during reconciliation of NodeDisruptions whose type
is in this list. When empty, the controller's default node disruption types are used.
items:
type: string
type: array
required:
- maxDisruptions
type: object
Expand Down Expand Up @@ -218,4 +246,4 @@ status:
kind: ""
plural: ""
conditions: []
storedVersions: []
storedVersions: []
17 changes: 15 additions & 2 deletions chart/templates/nodedisruption-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
spec:
description: NodeDisruptionSpec defines the desired state of NodeDisruption
properties:
duration:
description: Duration of the disruption once granted
type: string
nodeSelector:
description: Label query over nodes that will be impacted by the disruption
properties:
Expand Down Expand Up @@ -75,11 +78,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand All @@ -91,7 +96,8 @@ spec:
type: object
x-kubernetes-map-type: atomic
retry:
description: Configure the retrying behavior of a NodeDisruption
description: Retry configuration allows to retry a disruption after
rejection until the given deadline
properties:
deadline:
description: Deadline after which the disruption is not retried
Expand All @@ -101,6 +107,10 @@ spec:
description: Enable retrying
type: boolean
type: object
startDate:
description: StartDate when the disruption should start
format: date-time
type: string
type:
description: Type of the node disruption
type: string
Expand All @@ -115,6 +125,8 @@ spec:
properties:
ok:
type: boolean
preparing:
type: boolean
reason:
type: string
reference:
Expand All @@ -134,6 +146,7 @@ spec:
type: object
required:
- ok
- preparing
- reason
type: object
type: array
Expand Down Expand Up @@ -165,4 +178,4 @@ status:
kind: ""
plural: ""
conditions: []
storedVersions: []
storedVersions: []
16 changes: 13 additions & 3 deletions chart/templates/nodedisruptionbudget-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ spec:
nodes selected by selectors are unavailable after the disruption.
type: integer
nodeSelector:
description: NodeSelector query over pods whose nodes are managed by
the disruption budget.
description: NodeSelector query over pods whose nodes are managed
by the disruption budget.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
Expand Down Expand Up @@ -94,11 +94,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand All @@ -109,6 +111,14 @@ spec:
type: object
type: object
x-kubernetes-map-type: atomic
supportedNodeDisruptionTypes:
description: |-
SupportedNodeDisruptionTypes is the list of node disruption types that this budget supports.
When set, this budget will only be considered during reconciliation of NodeDisruptions whose type
is in this list. When empty, the controller's default node disruption types are used.
items:
type: string
type: array
required:
- maxDisruptedNodes
- minUndisruptedNodes
Expand Down Expand Up @@ -164,4 +174,4 @@ status:
kind: ""
plural: ""
conditions: []
storedVersions: []
storedVersions: []
Loading