Remove minimum and maximum markers from CRD
Fix the helm upgrade failure on kuberenetes v1.18. Root cause: https://github.com/kubernetes/kubernetes/issues/87675 Longhorn 3631 Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
parent
342ed8d932
commit
8512678932
@ -1808,14 +1808,12 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
engineManagerCPURequest:
|
engineManagerCPURequest:
|
||||||
minimum: 0
|
|
||||||
type: integer
|
type: integer
|
||||||
evictionRequested:
|
evictionRequested:
|
||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
replicaManagerCPURequest:
|
replicaManagerCPURequest:
|
||||||
minimum: 0
|
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
items:
|
items:
|
||||||
@ -2029,7 +2027,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
concurrency:
|
concurrency:
|
||||||
description: The concurrency of taking the snapshot/backup.
|
description: The concurrency of taking the snapshot/backup.
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
cron:
|
cron:
|
||||||
description: The cron setting.
|
description: The cron setting.
|
||||||
@ -2049,8 +2046,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
retain:
|
retain:
|
||||||
description: The retain count of the snapshot/backup.
|
description: The retain count of the snapshot/backup.
|
||||||
maximum: 50
|
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
task:
|
task:
|
||||||
description: The recurring job type. Can be "snapshot" or "backup".
|
description: The recurring job type. Can be "snapshot" or "backup".
|
||||||
@ -2626,7 +2621,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
numberOfReplicas:
|
numberOfReplicas:
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
recurringJobs:
|
recurringJobs:
|
||||||
description: Deprecated. Replaced by a separate resource named "RecurringJob"
|
description: Deprecated. Replaced by a separate resource named "RecurringJob"
|
||||||
|
@ -1979,14 +1979,12 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
engineManagerCPURequest:
|
engineManagerCPURequest:
|
||||||
minimum: 0
|
|
||||||
type: integer
|
type: integer
|
||||||
evictionRequested:
|
evictionRequested:
|
||||||
type: boolean
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
replicaManagerCPURequest:
|
replicaManagerCPURequest:
|
||||||
minimum: 0
|
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
items:
|
items:
|
||||||
@ -2204,7 +2202,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
concurrency:
|
concurrency:
|
||||||
description: The concurrency of taking the snapshot/backup.
|
description: The concurrency of taking the snapshot/backup.
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
cron:
|
cron:
|
||||||
description: The cron setting.
|
description: The cron setting.
|
||||||
@ -2224,8 +2221,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
retain:
|
retain:
|
||||||
description: The retain count of the snapshot/backup.
|
description: The retain count of the snapshot/backup.
|
||||||
maximum: 50
|
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
task:
|
task:
|
||||||
description: The recurring job type. Can be "snapshot" or "backup".
|
description: The recurring job type. Can be "snapshot" or "backup".
|
||||||
@ -2817,7 +2812,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
numberOfReplicas:
|
numberOfReplicas:
|
||||||
minimum: 1
|
|
||||||
type: integer
|
type: integer
|
||||||
recurringJobs:
|
recurringJobs:
|
||||||
description: Deprecated. Replaced by a separate resource named "RecurringJob"
|
description: Deprecated. Replaced by a separate resource named "RecurringJob"
|
||||||
@ -3038,7 +3032,7 @@ rules:
|
|||||||
verbs: ["list", "watch"]
|
verbs: ["list", "watch"]
|
||||||
- apiGroups: ["admissionregistration.k8s.io"]
|
- apiGroups: ["admissionregistration.k8s.io"]
|
||||||
resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
|
resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
|
||||||
verbs: ["list", "create", "patch"]
|
verbs: ["get", "list", "create", "patch", "delete"]
|
||||||
---
|
---
|
||||||
# Source: longhorn/templates/clusterrolebinding.yaml
|
# Source: longhorn/templates/clusterrolebinding.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user