Skip to content

Commit

Permalink
operator helm for v0.1.3 release version was implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
DoodgeMatvey committed Dec 7, 2023
1 parent 4369c91 commit 33f5fa1
Show file tree
Hide file tree
Showing 18 changed files with 858 additions and 108 deletions.
4 changes: 2 additions & 2 deletions charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.6
version: 0.1.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.2"
appVersion: "0.1.3"
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ spec:
type: string
inUse:
type: boolean
state:
type: string
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
id:
description: The Instaclustr ID of the IAM Principal ARN
type: string
state:
description: State describe current state of the resource
type: string
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ spec:
status:
description: NodeReloadStatus defines the observed state of NodeReload
properties:
completedNodes:
items:
properties:
nodeID:
type: string
required:
- nodeID
type: object
type: array
currentOperationStatus:
properties:
message:
Expand All @@ -68,13 +77,31 @@ spec:
- timeCreated
- timeModified
type: object
failedNodes:
items:
properties:
nodeID:
type: string
required:
- nodeID
type: object
type: array
nodeInProgress:
properties:
nodeID:
type: string
required:
- nodeID
type: object
pendingNodes:
items:
properties:
nodeID:
type: string
required:
- nodeID
type: object
type: array
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: opensearchegressrules.clusterresources.instaclustr.com
spec:
group: clusterresources.instaclustr.com
names:
kind: OpenSearchEgressRules
listKind: OpenSearchEgressRulesList
plural: opensearchegressrules
singular: opensearchegressrules
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: OpenSearchEgressRules is the Schema for the opensearchegressrules
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:
clusterId:
type: string
openSearchBindingId:
type: string
source:
type: string
type:
type: string
required:
- clusterId
- openSearchBindingId
- source
type: object
status:
properties:
id:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
67 changes: 63 additions & 4 deletions charts/operator/crds/clusters.instaclustr.com_cadences.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ spec:
type: boolean
privateNetworkCluster:
type: boolean
resizeSettings:
items:
properties:
concurrency:
type: integer
notifySupportContacts:
type: boolean
type: object
type: array
sharedProvisioning:
items:
properties:
Expand Down Expand Up @@ -340,6 +349,60 @@ spec:
- advertisedHostname
type: object
type: array
resizeOperations:
items:
properties:
completed:
description: Timestamp of the completion of the operation
type: string
concurrentResizes:
description: Number of nodes that can be concurrently
resized at a given time
type: integer
created:
description: Timestamp of the creation of the operation
type: string
id:
description: ID of the operation
type: string
instaclustrSupportAlerted:
description: Timestamp of when Instaclustr Support has
been alerted to the resize operation.
type: string
newNodeSize:
description: New size of the node
type: string
nodePurpose:
description: Purpose of the node
type: string
replaceOperations:
description: Replace operations
items:
properties:
created:
description: Timestamp of the creation of the node
replacement operation
type: string
id:
description: ID of the node replacement operation
type: string
newNodeId:
description: ID of the new node in the replacement
operation
type: string
nodeId:
description: ID of the node being replaced
type: string
status:
description: Status of the node replacement operation
type: string
type: object
type: array
status:
description: Status of the operation
type: string
type: object
type: array
status:
type: string
type: object
Expand Down Expand Up @@ -430,10 +493,6 @@ spec:
- isFinalized
type: object
type: array
required:
- inProgress
- past
- upcoming
type: object
type: array
options:
Expand Down
107 changes: 94 additions & 13 deletions charts/operator/crds/clusters.instaclustr.com_cassandras.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,30 +119,46 @@ spec:
type: boolean
privateNetworkCluster:
type: boolean
resizeSettings:
items:
properties:
concurrency:
type: integer
notifySupportContacts:
type: boolean
type: object
type: array
restoreFrom:
properties:
cdcInfos:
cdcConfigs:
description: An optional list of cluster data centres for which
custom VPC settings will be used.
items:
properties:
cdcId:
type: string
customVpcId:
type: string
customVpcNetwork:
customVpcSettings:
properties:
network:
type: string
vpcId:
type: string
required:
- network
- vpcId
type: object
restoreMode:
type: string
restoreToSameVpc:
type: boolean
required:
- cdcId
- customVpcSettings
- restoreMode
type: object
type: array
clusterID:
description: Original cluster ID. Backup from that cluster will
be used for restore
type: string
clusterNameOverride:
description: The display name of the restored cluster.
type: string
clusterNetwork:
description: The cluster network for this cluster to be restored
to.
Expand All @@ -156,6 +172,9 @@ spec:
up data will be restored for this point in time.
format: int64
type: integer
restoredClusterName:
description: The display name of the restored cluster.
type: string
required:
- clusterID
type: object
Expand Down Expand Up @@ -205,6 +224,18 @@ spec:
status:
description: CassandraStatus defines the observed state of Cassandra
properties:
availableUsers:
items:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
type: array
cdcid:
type: string
currentClusterOperationStatus:
Expand Down Expand Up @@ -252,6 +283,60 @@ spec:
- advertisedHostname
type: object
type: array
resizeOperations:
items:
properties:
completed:
description: Timestamp of the completion of the operation
type: string
concurrentResizes:
description: Number of nodes that can be concurrently
resized at a given time
type: integer
created:
description: Timestamp of the creation of the operation
type: string
id:
description: ID of the operation
type: string
instaclustrSupportAlerted:
description: Timestamp of when Instaclustr Support has
been alerted to the resize operation.
type: string
newNodeSize:
description: New size of the node
type: string
nodePurpose:
description: Purpose of the node
type: string
replaceOperations:
description: Replace operations
items:
properties:
created:
description: Timestamp of the creation of the node
replacement operation
type: string
id:
description: ID of the node replacement operation
type: string
newNodeId:
description: ID of the new node in the replacement
operation
type: string
nodeId:
description: ID of the node being replaced
type: string
status:
description: Status of the node replacement operation
type: string
type: object
type: array
status:
description: Status of the operation
type: string
type: object
type: array
status:
type: string
type: object
Expand Down Expand Up @@ -342,10 +427,6 @@ spec:
- isFinalized
type: object
type: array
required:
- inProgress
- past
- upcoming
type: object
type: array
options:
Expand Down
Loading

0 comments on commit 33f5fa1

Please sign in to comment.