-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revendor
gardener/gardener@v1.38
and update Golang version to 1.17
(
#418) * Revendor gardener/gardener, update Golang version * Address PR review feedback
- Loading branch information
Showing
250 changed files
with
16,469 additions
and
6,618 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
197 changes: 197 additions & 0 deletions
197
example/20-crd-druid.gardener.cloud_etcdcopybackupstasks.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,197 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.7.0 | ||
creationTimestamp: null | ||
name: etcdcopybackupstasks.druid.gardener.cloud | ||
spec: | ||
group: druid.gardener.cloud | ||
names: | ||
kind: EtcdCopyBackupsTask | ||
listKind: EtcdCopyBackupsTaskList | ||
plural: etcdcopybackupstasks | ||
singular: etcdcopybackupstask | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: EtcdCopyBackupsTask is a task for copying etcd backups from a | ||
source to a target store. | ||
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: EtcdCopyBackupsTaskSpec defines the parameters for the copy | ||
backups task. | ||
properties: | ||
maxBackupAge: | ||
description: MaxBackupAge is the maximum age in days that a backup | ||
must have in order to be copied. By default all backups will be | ||
copied. | ||
format: int32 | ||
type: integer | ||
maxBackups: | ||
description: MaxBackups is the maximum number of backups that will | ||
be copied starting with the most recent ones. | ||
format: int32 | ||
type: integer | ||
sourceStore: | ||
description: SourceStore defines the specification of the source object | ||
store provider for storing backups. | ||
properties: | ||
container: | ||
description: Container is the name of the container the backup | ||
is stored at. | ||
type: string | ||
prefix: | ||
description: Prefix is the prefix used for the store. | ||
type: string | ||
provider: | ||
description: Provider is the name of the backup provider. | ||
type: string | ||
secretRef: | ||
description: SecretRef is the reference to the secret which used | ||
to connect to the backup store. | ||
properties: | ||
name: | ||
description: Name is unique within a namespace to reference | ||
a secret resource. | ||
type: string | ||
namespace: | ||
description: Namespace defines the space within which the | ||
secret name must be unique. | ||
type: string | ||
type: object | ||
required: | ||
- prefix | ||
type: object | ||
targetStore: | ||
description: TargetStore defines the specification of the target object | ||
store provider for storing backups. | ||
properties: | ||
container: | ||
description: Container is the name of the container the backup | ||
is stored at. | ||
type: string | ||
prefix: | ||
description: Prefix is the prefix used for the store. | ||
type: string | ||
provider: | ||
description: Provider is the name of the backup provider. | ||
type: string | ||
secretRef: | ||
description: SecretRef is the reference to the secret which used | ||
to connect to the backup store. | ||
properties: | ||
name: | ||
description: Name is unique within a namespace to reference | ||
a secret resource. | ||
type: string | ||
namespace: | ||
description: Namespace defines the space within which the | ||
secret name must be unique. | ||
type: string | ||
type: object | ||
required: | ||
- prefix | ||
type: object | ||
waitForFinalSnapshot: | ||
description: WaitForFinalSnapshot defines the parameters for waiting | ||
for a final full snapshot before copying backups. | ||
properties: | ||
enabled: | ||
description: Enabled specifies whether to wait for a final full | ||
snapshot before copying backups. | ||
type: boolean | ||
timeout: | ||
description: Timeout is the timeout for waiting for a final full | ||
snapshot. When this timeout expires, the copying of backups | ||
will be performed anyway. No timeout or 0 means wait forever. | ||
type: string | ||
required: | ||
- enabled | ||
type: object | ||
required: | ||
- sourceStore | ||
- targetStore | ||
type: object | ||
status: | ||
description: EtcdCopyBackupsTaskStatus defines the observed state of the | ||
copy backups task. | ||
properties: | ||
conditions: | ||
description: Conditions represents the latest available observations | ||
of an object's current state. | ||
items: | ||
description: Condition holds the information about the state of | ||
a resource. | ||
properties: | ||
lastTransitionTime: | ||
description: Last time the condition transitioned from one status | ||
to another. | ||
format: date-time | ||
type: string | ||
lastUpdateTime: | ||
description: Last time the condition was updated. | ||
format: date-time | ||
type: string | ||
message: | ||
description: A human readable message indicating details about | ||
the transition. | ||
type: string | ||
reason: | ||
description: The reason for the condition's last transition. | ||
type: string | ||
status: | ||
description: Status of the condition, one of True, False, Unknown. | ||
type: string | ||
type: | ||
description: Type of the Etcd condition. | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- lastUpdateTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
lastError: | ||
description: LastError represents the last occurred error. | ||
type: string | ||
observedGeneration: | ||
description: ObservedGeneration is the most recent generation observed | ||
for this resource. | ||
format: int64 | ||
type: integer | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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
Oops, something went wrong.