-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align zookeeperbackup with operator-sdk 1.13
Signed-off-by: ibumarskov <[email protected]>
- Loading branch information
1 parent
b5c4148
commit 246658f
Showing
12 changed files
with
97 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
config/crd/bases/zookeeper.pravega.io_zookeeperbackups.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,89 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.2 | ||
creationTimestamp: null | ||
name: zookeeperbackups.zookeeper.pravega.io | ||
spec: | ||
group: zookeeper.pravega.io | ||
names: | ||
kind: ZookeeperBackup | ||
listKind: ZookeeperBackupList | ||
plural: zookeeperbackups | ||
singular: zookeeperbackup | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ZookeeperBackup is the Schema for the zookeeperbackups 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: ZookeeperBackupSpec defines the desired state of ZookeeperBackup | ||
properties: | ||
backupsToKeep: | ||
default: "7" | ||
description: Number of backups to store | ||
type: string | ||
dataCapacity: | ||
default: 1Gi | ||
description: Data Storage Capacity | ||
type: string | ||
dataStorageClass: | ||
description: Data Storage Class name | ||
type: string | ||
image: | ||
description: Image for backup procedure | ||
properties: | ||
pullPolicy: | ||
description: PullPolicy describes a policy for if/when to pull | ||
a container image | ||
enum: | ||
- Always | ||
- Never | ||
- IfNotPresent | ||
type: string | ||
repository: | ||
type: string | ||
tag: | ||
type: string | ||
type: object | ||
schedule: | ||
default: 0 0 */1 * * | ||
description: Schedule in Cron format | ||
type: string | ||
zookeeperCluster: | ||
description: Name of the ZookeeperCluster to backup | ||
type: string | ||
required: | ||
- zookeeperCluster | ||
type: object | ||
status: | ||
description: ZookeeperBackupStatus defines the observed state of ZookeeperBackup | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
78 changes: 0 additions & 78 deletions
78
config/crd/bases/zookeeper.pravega.io_zookeeperbackups_crd.yaml
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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