-
Notifications
You must be signed in to change notification settings - Fork 41
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 #83 from ciaranRoche/elasticache-snapshot
Allow arbitrary redis and elasticache snapshots
- Loading branch information
Showing
41 changed files
with
2,450 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: integreatly.org/v1alpha1 | ||
kind: PostgresSnapshot | ||
metadata: | ||
name: example-postgressnapshot | ||
spec: | ||
# The postgres resource name for the snapshot you want to take | ||
resourceName: REPLACE_ME |
52 changes: 52 additions & 0 deletions
52
deploy/crds/integreatly_v1alpha1_postgressnapshot_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,52 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: postgressnapshots.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: PostgresSnapshot | ||
listKind: PostgresSnapshotList | ||
plural: postgressnapshots | ||
singular: postgressnapshot | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
resourceName: | ||
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: string | ||
required: | ||
- resourceName | ||
type: object | ||
status: | ||
properties: | ||
message: | ||
type: string | ||
phase: | ||
type: string | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
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,7 @@ | ||
apiVersion: integreatly.org/v1alpha1 | ||
kind: RedisSnapshot | ||
metadata: | ||
name: example-redissnapshot | ||
spec: | ||
# The redis resource name for the snapshot you want to take | ||
resourceName: REPLACE_ME |
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,52 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: redissnapshots.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: RedisSnapshot | ||
listKind: RedisSnapshotList | ||
plural: redissnapshots | ||
singular: redissnapshot | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
resourceName: | ||
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: string | ||
required: | ||
- resourceName | ||
type: object | ||
status: | ||
properties: | ||
message: | ||
type: string | ||
phase: | ||
type: string | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
356 changes: 356 additions & 0 deletions
356
deploy/olm-catalog/cloud-resources/0.6.0/cloud-resources.v0.6.0.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
deploy/olm-catalog/cloud-resources/0.6.0/integreatly_v1alpha1_blobstorage_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,76 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: blobstorages.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: BlobStorage | ||
listKind: BlobStorageList | ||
plural: blobstorages | ||
singular: blobstorage | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
skipCreate: | ||
type: boolean | ||
tier: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- type | ||
- tier | ||
- secretRef | ||
type: object | ||
status: | ||
properties: | ||
message: | ||
type: string | ||
phase: | ||
type: string | ||
provider: | ||
type: string | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
strategy: | ||
type: string | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
76 changes: 76 additions & 0 deletions
76
deploy/olm-catalog/cloud-resources/0.6.0/integreatly_v1alpha1_postgres_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,76 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: postgres.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: Postgres | ||
listKind: PostgresList | ||
plural: postgres | ||
singular: postgres | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
skipCreate: | ||
type: boolean | ||
tier: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- type | ||
- tier | ||
- secretRef | ||
type: object | ||
status: | ||
properties: | ||
message: | ||
type: string | ||
phase: | ||
type: string | ||
provider: | ||
type: string | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
strategy: | ||
type: string | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
52 changes: 52 additions & 0 deletions
52
deploy/olm-catalog/cloud-resources/0.6.0/integreatly_v1alpha1_postgressnapshot_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,52 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: postgressnapshots.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: PostgresSnapshot | ||
listKind: PostgresSnapshotList | ||
plural: postgressnapshots | ||
singular: postgressnapshot | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
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/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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
resourceName: | ||
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: string | ||
required: | ||
- resourceName | ||
type: object | ||
status: | ||
properties: | ||
message: | ||
type: string | ||
phase: | ||
type: string | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
Oops, something went wrong.