Skip to content

Commit

Permalink
Merge pull request #23 from instaclustr/issue-22
Browse files Browse the repository at this point in the history
Operator helm for v0.1.2 release version was implemented
  • Loading branch information
DoodgeMatvey authored Sep 18, 2023
2 parents 43468d9 + a7c5397 commit 4369c91
Show file tree
Hide file tree
Showing 18 changed files with 1,684 additions and 191 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.5
version: 0.1.6

# 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.1"
appVersion: "0.1.2"
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: awsendpointserviceprincipals.clusterresources.instaclustr.com
spec:
group: clusterresources.instaclustr.com
names:
kind: AWSEndpointServicePrincipal
listKind: AWSEndpointServicePrincipalList
plural: awsendpointserviceprincipals
singular: awsendpointserviceprincipal
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: AWSEndpointServicePrincipal is the Schema for the awsendpointserviceprincipals
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: AWSEndpointServicePrincipalSpec defines the desired state
of AWSEndpointServicePrincipal
properties:
clusterDataCenterId:
description: The ID of the cluster data center
type: string
endPointServiceId:
description: The Instaclustr ID of the AWS endpoint service
type: string
principalArn:
description: The IAM Principal ARN
type: string
required:
- clusterDataCenterId
- principalArn
type: object
status:
description: AWSEndpointServicePrincipalStatus defines the observed state
of AWSEndpointServicePrincipal
properties:
endPointServiceId:
description: The Instaclustr ID of the AWS endpoint service
type: string
id:
description: The Instaclustr ID of the IAM Principal ARN
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: exclusionwindows.clusterresources.instaclustr.com
spec:
group: clusterresources.instaclustr.com
names:
kind: ExclusionWindow
listKind: ExclusionWindowList
plural: exclusionwindows
singular: exclusionwindow
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: ExclusionWindow is the Schema for the exclusionwindows 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: ExclusionWindowSpec defines the desired state of ExclusionWindow
properties:
clusterId:
type: string
dayOfWeek:
type: string
durationInHours:
format: int32
maximum: 40
type: integer
startHour:
format: int32
maximum: 23
minimum: 0
type: integer
required:
- clusterId
- dayOfWeek
- durationInHours
- startHour
type: object
status:
description: ExclusionWindowStatus defines the observed state of ExclusionWindow
properties:
id:
type: string
required:
- id
type: object
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -37,79 +37,37 @@ spec:
properties:
clusterId:
type: string
exclusionWindows:
items:
properties:
dayOfWeek:
type: string
durationInHours:
format: int32
type: integer
startHour:
format: int32
type: integer
required:
- dayOfWeek
- durationInHours
- startHour
type: object
type: array
maintenanceEventsReschedule:
items:
properties:
scheduleId:
maintenanceEventId:
type: string
scheduledStartTime:
type: string
required:
- scheduleId
- maintenanceEventId
- scheduledStartTime
type: object
type: array
required:
- clusterId
- maintenanceEventsReschedule
type: object
status:
description: MaintenanceEventsStatus defines the observed state of MaintenanceEvents
properties:
eventsStatuses:
items:
properties:
description:
type: string
id:
type: string
isFinalized:
type: boolean
scheduledEndTime:
type: string
scheduledStartTime:
type: string
scheduledStartTimeMax:
type: string
scheduledStartTimeMin:
type: string
type: object
type: array
exclusionWindowsStatuses:
items:
properties:
dayOfWeek:
type: string
durationInHours:
format: int32
type: integer
id:
type: string
startHour:
format: int32
type: integer
required:
- dayOfWeek
- durationInHours
- startHour
type: object
type: array
currentRescheduledEvent:
properties:
maintenanceEventId:
type: string
scheduledStartTime:
type: string
required:
- maintenanceEventId
- scheduledStartTime
type: object
required:
- currentRescheduledEvent
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: postgresqlusers.clusterresources.instaclustr.com
spec:
group: clusterresources.instaclustr.com
names:
kind: PostgreSQLUser
listKind: PostgreSQLUserList
plural: postgresqlusers
singular: postgresqluser
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: PostgreSQLUser is the Schema for the postgresqlusers 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: PostgreSQLUserSpec defines the desired state of PostgreSQLUser
properties:
secretRef:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
required:
- secretRef
type: object
status:
description: PostgreSQLUserStatus defines the observed state of PostgreSQLUser
properties:
clustersInfo:
additionalProperties:
properties:
defaultSecretNamespacedName:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
event:
type: string
required:
- defaultSecretNamespacedName
type: object
description: ClustersInfo efficiently stores data about clusters that
related to this user. The keys of the map represent the cluster
IDs, values are cluster info that consists of default secret namespaced
name or event.
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 4369c91

Please sign in to comment.