-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sebastian Hoß <[email protected]>
- Loading branch information
Showing
37 changed files
with
24,218 additions
and
0 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
90 changes: 90 additions & 0 deletions
90
crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerbackups.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,90 @@ | ||
apiVersion: "apiextensions.k8s.io/v1" | ||
kind: "CustomResourceDefinition" | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: "v0.9.2" | ||
name: "apimanagerbackups.apps.3scale.net" | ||
spec: | ||
group: "apps.3scale.net" | ||
names: | ||
kind: "APIManagerBackup" | ||
listKind: "APIManagerBackupList" | ||
plural: "apimanagerbackups" | ||
singular: "apimanagerbackup" | ||
scope: "Namespaced" | ||
versions: | ||
- name: "v1alpha1" | ||
schema: | ||
openAPIV3Schema: | ||
description: "APIManagerBackup represents an APIManager backup" | ||
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: "APIManagerBackupSpec defines the desired state of APIManagerBackup" | ||
properties: | ||
backupDestination: | ||
description: "Backup data destination configuration" | ||
properties: | ||
persistentVolumeClaim: | ||
description: "PersistentVolumeClaim as backup data destination configuration" | ||
properties: | ||
resources: | ||
description: "Resources configuration for the backup data PersistentVolumeClaim. Ignored when VolumeName field is set" | ||
properties: | ||
requests: | ||
anyOf: | ||
- type: "integer" | ||
- type: "string" | ||
description: "Storage Resource requests to be used on the PersistentVolumeClaim. To learn more about resource requests see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" | ||
pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" | ||
x-kubernetes-int-or-string: true | ||
required: | ||
- "requests" | ||
type: "object" | ||
storageClass: | ||
description: "Storage class to be used by the PersistentVolumeClaim. Ignored when VolumeName field is set" | ||
type: "string" | ||
volumeName: | ||
description: "Name of an existing PersistentVolume to be bound to the backup data PersistentVolumeClaim" | ||
type: "string" | ||
type: "object" | ||
type: "object" | ||
required: | ||
- "backupDestination" | ||
type: "object" | ||
status: | ||
description: "APIManagerBackupStatus defines the observed state of APIManagerBackup" | ||
properties: | ||
apiManagerSourceName: | ||
description: "Name of the APIManager from which the backup has been performed" | ||
type: "string" | ||
backupPersistentVolumeClaimName: | ||
description: "Name of the backup data PersistentVolumeClaim. Only set when PersistentVolumeClaim is used as the backup data destination" | ||
type: "string" | ||
completed: | ||
description: "Set to true when backup has been completed" | ||
type: "boolean" | ||
completionTime: | ||
description: "Backup completion time. It is represented in RFC3339 form and is in UTC." | ||
format: "date-time" | ||
type: "string" | ||
mainStepsCompleted: | ||
description: "Set to true when main steps have been completed. At this point backup still cannot be considered fully completed due to some remaining post-backup tasks are pending (cleanup, ...)" | ||
type: "boolean" | ||
startTime: | ||
description: "Backup start time. It is represented in RFC3339 form and is in UTC." | ||
format: "date-time" | ||
type: "string" | ||
type: "object" | ||
type: "object" | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
87 changes: 87 additions & 0 deletions
87
crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerrestores.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,87 @@ | ||
apiVersion: "apiextensions.k8s.io/v1" | ||
kind: "CustomResourceDefinition" | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: "v0.9.2" | ||
name: "apimanagerrestores.apps.3scale.net" | ||
spec: | ||
group: "apps.3scale.net" | ||
names: | ||
kind: "APIManagerRestore" | ||
listKind: "APIManagerRestoreList" | ||
plural: "apimanagerrestores" | ||
singular: "apimanagerrestore" | ||
scope: "Namespaced" | ||
versions: | ||
- name: "v1alpha1" | ||
schema: | ||
openAPIV3Schema: | ||
description: "APIManagerRestore represents an APIManager restore" | ||
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: "APIManagerRestoreSpec defines the desired state of APIManagerRestore" | ||
properties: | ||
restoreSource: | ||
description: "APIManagerRestoreSource defines the backup data restore source configurability. It is a union type. Only one of the fields can be set" | ||
properties: | ||
persistentVolumeClaim: | ||
description: "Restore data soure configuration" | ||
properties: | ||
claimSource: | ||
description: "PersistentVolumeClaim source of an existing PersistentVolumeClaim. See" | ||
properties: | ||
claimName: | ||
description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" | ||
type: "string" | ||
readOnly: | ||
description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." | ||
type: "boolean" | ||
required: | ||
- "claimName" | ||
type: "object" | ||
required: | ||
- "claimSource" | ||
type: "object" | ||
type: "object" | ||
required: | ||
- "restoreSource" | ||
type: "object" | ||
status: | ||
description: "APIManagerRestoreStatus defines the observed state of APIManagerRestore" | ||
properties: | ||
apiManagerToRestoreRef: | ||
description: "Name of the APIManager to be restored" | ||
properties: | ||
name: | ||
description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" | ||
type: "string" | ||
type: "object" | ||
x-kubernetes-map-type: "atomic" | ||
completed: | ||
description: "Set to true when backup has been completed" | ||
type: "boolean" | ||
completionTime: | ||
description: "Restore completion time. It is represented in RFC3339 form and is in UTC." | ||
format: "date-time" | ||
type: "string" | ||
mainStepsCompleted: | ||
description: "Set to true when main steps have been completed. At this point restore still cannot be considered fully completed due to some remaining post-backup tasks are pending (cleanup, ...)" | ||
type: "boolean" | ||
startTime: | ||
description: "Restore start time. It is represented in RFC3339 form and is in UTC." | ||
format: "date-time" | ||
type: "string" | ||
type: "object" | ||
type: "object" | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.