forked from niulechuan/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from niulechuan/helm-rename
Change image name and rename crds
- Loading branch information
Showing
17 changed files
with
279 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
charts/hwameistor/crds/localstorage.hwameistor.io_localstoragealerts_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: localstoragealerts.localstorage.hwameistor.io | ||
spec: | ||
group: localstorage.hwameistor.io | ||
names: | ||
kind: LocalStorageAlert | ||
listKind: LocalStorageAlertList | ||
plural: localstoragealerts | ||
shortNames: | ||
- lsalert | ||
singular: localstoragealert | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Alert severity | ||
jsonPath: .spec.severity | ||
name: severity | ||
type: integer | ||
- description: Module of the alert | ||
jsonPath: .spec.module | ||
name: module | ||
type: string | ||
- description: Resource name of the alert | ||
jsonPath: .spec.resource | ||
name: resource | ||
type: string | ||
- description: Alert event | ||
jsonPath: .spec.event | ||
name: event | ||
type: string | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: LocalStorageAlert is the Schema for the localstoragealerts API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: LocalStorageAlertSpec defines the desired state of LocalStorageAlert | ||
properties: | ||
details: | ||
type: string | ||
event: | ||
type: string | ||
module: | ||
type: string | ||
resource: | ||
type: string | ||
severity: | ||
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster | ||
Important: Run "operator-sdk generate k8s" to regenerate code after | ||
modifying this file Add custom validation using kubebuilder tags: | ||
https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html' | ||
type: integer | ||
required: | ||
- details | ||
- event | ||
- module | ||
- resource | ||
- severity | ||
type: object | ||
status: | ||
description: LocalStorageAlertStatus defines the observed state of LocalStorageAlert | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
4 changes: 2 additions & 2 deletions
4
...rds/hwameistor_localstoragenodes_crd.yaml → ....hwameistor.io_localstoragenodes_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/hwameistor_localvolumeconverts_crd.yaml → ...wameistor.io_localvolumeconverts_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ds/hwameistor_localvolumeexpands_crd.yaml → ...hwameistor.io_localvolumeexpands_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/hwameistor_localvolumemigrates_crd.yaml → ...wameistor.io_localvolumemigrates_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/hwameistor_localvolumereplicas_crd.yaml → ...wameistor.io_localvolumereplicas_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...tor/crds/hwameistor_localvolumes_crd.yaml → ...orage.hwameistor.io_localvolumes_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.