-
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 #625 from KevFan/MGDAPI-5078
MGDAPI-5078 - feat: allow applying redis node size changes immediately
- Loading branch information
Showing
20 changed files
with
954 additions
and
37 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
13 changes: 13 additions & 0 deletions
13
....0/manifests/cloud-resource-operator-metrics_monitoring.coreos.com_v1_servicemonitor.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,13 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
name: cloud-resource-operator | ||
name: cloud-resource-operator-metrics | ||
spec: | ||
endpoints: | ||
- path: /metrics | ||
port: http-metrics | ||
selector: | ||
matchLabels: | ||
name: cloud-resource-operator |
368 changes: 368 additions & 0 deletions
368
bundles/0.44.0/manifests/cloud-resource-operator.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
98 changes: 98 additions & 0 deletions
98
bundles/0.44.0/manifests/integreatly.org_blobstorages.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,98 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.9.2 | ||
creationTimestamp: null | ||
name: blobstorages.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: BlobStorage | ||
listKind: BlobStorageList | ||
plural: blobstorages | ||
singular: blobstorage | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: BlobStorage is the Schema for the blobstorages 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: | ||
properties: | ||
applyImmediately: | ||
description: ApplyImmediately is only available to Postgres cr, for | ||
blobstorage and redis cr's currently does nothing | ||
type: boolean | ||
maintenanceWindow: | ||
type: boolean | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
size: | ||
description: Size allows defining the node size. It is only available | ||
to Redis CR. Blobstorage and Postgres CR's currently does nothing | ||
type: string | ||
skipCreate: | ||
type: boolean | ||
tier: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- secretRef | ||
- tier | ||
- type | ||
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 | ||
version: | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
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,98 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.9.2 | ||
creationTimestamp: null | ||
name: postgres.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: Postgres | ||
listKind: PostgresList | ||
plural: postgres | ||
singular: postgres | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Postgres is the Schema for the postgres 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: | ||
properties: | ||
applyImmediately: | ||
description: ApplyImmediately is only available to Postgres cr, for | ||
blobstorage and redis cr's currently does nothing | ||
type: boolean | ||
maintenanceWindow: | ||
type: boolean | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
size: | ||
description: Size allows defining the node size. It is only available | ||
to Redis CR. Blobstorage and Postgres CR's currently does nothing | ||
type: string | ||
skipCreate: | ||
type: boolean | ||
tier: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- secretRef | ||
- tier | ||
- type | ||
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 | ||
version: | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
65 changes: 65 additions & 0 deletions
65
bundles/0.44.0/manifests/integreatly.org_postgressnapshots.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,65 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.9.2 | ||
creationTimestamp: null | ||
name: postgressnapshots.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: PostgresSnapshot | ||
listKind: PostgresSnapshotList | ||
plural: postgressnapshots | ||
singular: postgressnapshot | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: PostgresSnapshot is the Schema for the postgressnapshots 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: PostgresSnapshotSpec defines the desired state of PostgresSnapshot | ||
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 | ||
snapshotID: | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
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,98 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.9.2 | ||
creationTimestamp: null | ||
name: redis.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: Redis | ||
listKind: RedisList | ||
plural: redis | ||
singular: redis | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Redis is the Schema for the redis 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: | ||
properties: | ||
applyImmediately: | ||
description: ApplyImmediately is only available to Postgres cr, for | ||
blobstorage and redis cr's currently does nothing | ||
type: boolean | ||
maintenanceWindow: | ||
type: boolean | ||
secretRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
size: | ||
description: Size allows defining the node size. It is only available | ||
to Redis CR. Blobstorage and Postgres CR's currently does nothing | ||
type: string | ||
skipCreate: | ||
type: boolean | ||
tier: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- secretRef | ||
- tier | ||
- type | ||
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 | ||
version: | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
Oops, something went wrong.