chart: Format the YAML files
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
This commit is contained in:
parent
5d6319aba0
commit
a22706cf1e
@ -537,44 +537,44 @@ spec:
|
|||||||
listKind: BackupTargetList
|
listKind: BackupTargetList
|
||||||
plural: backuptargets
|
plural: backuptargets
|
||||||
shortNames:
|
shortNames:
|
||||||
- lhbt
|
- lhbt
|
||||||
singular: backuptarget
|
singular: backuptarget
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
spec:
|
spec:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
status:
|
status:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: URL
|
- name: URL
|
||||||
type: string
|
type: string
|
||||||
description: The backup target URL
|
description: The backup target URL
|
||||||
jsonPath: .spec.backupTargetURL
|
jsonPath: .spec.backupTargetURL
|
||||||
- name: Credential
|
- name: Credential
|
||||||
type: string
|
type: string
|
||||||
description: The backup target credential secret
|
description: The backup target credential secret
|
||||||
jsonPath: .spec.credentialSecret
|
jsonPath: .spec.credentialSecret
|
||||||
- name: Interval
|
- name: Interval
|
||||||
type: string
|
type: string
|
||||||
description: The backup target poll interval
|
description: The backup target poll interval
|
||||||
jsonPath: .spec.pollInterval
|
jsonPath: .spec.pollInterval
|
||||||
- name: Available
|
- name: Available
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicate whether the backup target is available or not
|
description: Indicate whether the backup target is available or not
|
||||||
jsonPath: .status.available
|
jsonPath: .status.available
|
||||||
- name: LastSyncedAt
|
- name: LastSyncedAt
|
||||||
type: string
|
type: string
|
||||||
description: The backup target last synced time
|
description: The backup target last synced time
|
||||||
jsonPath: .status.lastSyncedAt
|
jsonPath: .status.lastSyncedAt
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
@ -589,40 +589,40 @@ spec:
|
|||||||
listKind: BackupVolumeList
|
listKind: BackupVolumeList
|
||||||
plural: backupvolumes
|
plural: backupvolumes
|
||||||
shortNames:
|
shortNames:
|
||||||
- lhbv
|
- lhbv
|
||||||
singular: backupvolume
|
singular: backupvolume
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
spec:
|
spec:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
status:
|
status:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: CreatedAt
|
- name: CreatedAt
|
||||||
type: string
|
type: string
|
||||||
description: The backup volume creation time
|
description: The backup volume creation time
|
||||||
jsonPath: .status.createdAt
|
jsonPath: .status.createdAt
|
||||||
- name: LastBackupName
|
- name: LastBackupName
|
||||||
type: string
|
type: string
|
||||||
description: The backup volume last backup name
|
description: The backup volume last backup name
|
||||||
jsonPath: .status.lastBackupName
|
jsonPath: .status.lastBackupName
|
||||||
- name: LastBackupAt
|
- name: LastBackupAt
|
||||||
type: string
|
type: string
|
||||||
description: The backup volume last backup time
|
description: The backup volume last backup time
|
||||||
jsonPath: .status.lastBackupAt
|
jsonPath: .status.lastBackupAt
|
||||||
- name: LastSyncedAt
|
- name: LastSyncedAt
|
||||||
type: string
|
type: string
|
||||||
description: The backup volume last synced time
|
description: The backup volume last synced time
|
||||||
jsonPath: .status.lastSyncedAt
|
jsonPath: .status.lastSyncedAt
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
@ -637,44 +637,44 @@ spec:
|
|||||||
listKind: BackupList
|
listKind: BackupList
|
||||||
plural: backups
|
plural: backups
|
||||||
shortNames:
|
shortNames:
|
||||||
- lhb
|
- lhb
|
||||||
singular: backup
|
singular: backup
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
spec:
|
spec:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
status:
|
status:
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: SnapshotName
|
- name: SnapshotName
|
||||||
type: string
|
type: string
|
||||||
description: The snapshot name
|
description: The snapshot name
|
||||||
jsonPath: .status.snapshotName
|
jsonPath: .status.snapshotName
|
||||||
- name: SnapshotSize
|
- name: SnapshotSize
|
||||||
type: string
|
type: string
|
||||||
description: The snapshot size
|
description: The snapshot size
|
||||||
jsonPath: .status.size
|
jsonPath: .status.size
|
||||||
- name: SnapshotCreatedAt
|
- name: SnapshotCreatedAt
|
||||||
type: string
|
type: string
|
||||||
description: The snapshot creation time
|
description: The snapshot creation time
|
||||||
jsonPath: .status.snapshotCreatedAt
|
jsonPath: .status.snapshotCreatedAt
|
||||||
- name: State
|
- name: State
|
||||||
type: string
|
type: string
|
||||||
description: The backup state
|
description: The backup state
|
||||||
jsonPath: .status.state
|
jsonPath: .status.state
|
||||||
- name: LastSyncedAt
|
- name: LastSyncedAt
|
||||||
type: string
|
type: string
|
||||||
description: The backup last synced time
|
description: The backup last synced time
|
||||||
jsonPath: .status.lastSyncedAt
|
jsonPath: .status.lastSyncedAt
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
@ -689,70 +689,70 @@ spec:
|
|||||||
listKind: RecurringJobList
|
listKind: RecurringJobList
|
||||||
plural: recurringjobs
|
plural: recurringjobs
|
||||||
shortNames:
|
shortNames:
|
||||||
- lhrj
|
- lhrj
|
||||||
singular: recurringjob
|
singular: recurringjob
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
|
type: string
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
groups:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
type: string
|
type: string
|
||||||
spec:
|
task:
|
||||||
type: object
|
type: string
|
||||||
properties:
|
pattern: "^snapshot|backup$"
|
||||||
groups:
|
cron:
|
||||||
type: array
|
type: string
|
||||||
items:
|
retain:
|
||||||
type: string
|
type: integer
|
||||||
task:
|
concurrency:
|
||||||
type: string
|
type: integer
|
||||||
pattern: "^snapshot|backup$"
|
labels:
|
||||||
cron:
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
type: string
|
status:
|
||||||
retain:
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
type: integer
|
subresources:
|
||||||
concurrency:
|
status: {}
|
||||||
type: integer
|
additionalPrinterColumns:
|
||||||
labels:
|
- name: Groups
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
type: string
|
||||||
status:
|
description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume.
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
jsonPath: .spec.groups
|
||||||
subresources:
|
- name: Task
|
||||||
status: {}
|
type: string
|
||||||
additionalPrinterColumns:
|
description: Should be one of "backup" or "snapshot".
|
||||||
- name: Groups
|
jsonPath: .spec.task
|
||||||
type: string
|
- name: Cron
|
||||||
description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume.
|
type: string
|
||||||
jsonPath: .spec.groups
|
description: The cron expression represents recurring job scheduling.
|
||||||
- name: Task
|
jsonPath: .spec.cron
|
||||||
type: string
|
- name: Retain
|
||||||
description: Should be one of "backup" or "snapshot".
|
type: integer
|
||||||
jsonPath: .spec.task
|
description: The number of snapshots/backups to keep for the volume.
|
||||||
- name: Cron
|
jsonPath: .spec.retain
|
||||||
type: string
|
- name: Concurrency
|
||||||
description: The cron expression represents recurring job scheduling.
|
type: integer
|
||||||
jsonPath: .spec.cron
|
description: The concurrent job to run by each cron job.
|
||||||
- name: Retain
|
jsonPath: .spec.concurrency
|
||||||
type: integer
|
- name: Age
|
||||||
description: The number of snapshots/backups to keep for the volume.
|
type: date
|
||||||
jsonPath: .spec.retain
|
jsonPath: .metadata.creationTimestamp
|
||||||
- name: Concurrency
|
- name: Labels
|
||||||
type: integer
|
type: string
|
||||||
description: The concurrent job to run by each cron job.
|
description: Specify the labels
|
||||||
jsonPath: .spec.concurrency
|
jsonPath: .spec.labels
|
||||||
- name: Age
|
|
||||||
type: date
|
|
||||||
jsonPath: .metadata.creationTimestamp
|
|
||||||
- name: Labels
|
|
||||||
type: string
|
|
||||||
description: Specify the labels
|
|
||||||
jsonPath: .spec.labels
|
|
||||||
---
|
---
|
||||||
|
@ -91,7 +91,6 @@ spec:
|
|||||||
{{- if .Values.longhornManager.priorityClass }}
|
{{- if .Values.longhornManager.priorityClass }}
|
||||||
priorityClassName: {{ .Values.longhornManager.priorityClass | quote}}
|
priorityClassName: {{ .Values.longhornManager.priorityClass | quote}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: longhorn-service-account
|
|
||||||
{{- if .Values.longhornManager.tolerations }}
|
{{- if .Values.longhornManager.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{ toYaml .Values.longhornManager.tolerations | indent 6 }}
|
{{ toYaml .Values.longhornManager.tolerations | indent 6 }}
|
||||||
@ -100,6 +99,7 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }}
|
{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
serviceAccountName: longhorn-service-account
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxUnavailable: "100%"
|
maxUnavailable: "100%"
|
||||||
|
Loading…
Reference in New Issue
Block a user