-
Notifications
You must be signed in to change notification settings - Fork 0
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 #23 from instaclustr/issue-22
Operator helm for v0.1.2 release version was implemented
- Loading branch information
Showing
18 changed files
with
1,684 additions
and
191 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
68 changes: 68 additions & 0 deletions
68
charts/operator/crds/clusterresources.instaclustr.com_awsendpointserviceprincipals.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,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: {} |
69 changes: 69 additions & 0 deletions
69
charts/operator/crds/clusterresources.instaclustr.com_exclusionwindows.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,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: {} |
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
82 changes: 82 additions & 0 deletions
82
charts/operator/crds/clusterresources.instaclustr.com_postgresqlusers.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,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: {} |
Oops, something went wrong.