Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-1, templates for the latest operator release were updated #8

Merged
merged 1 commit into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: redisusers.clusterresources.instaclustr.com
spec:
group: clusterresources.instaclustr.com
names:
kind: RedisUser
listKind: RedisUserList
plural: redisusers
singular: redisuser
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: RedisUser is the Schema for the redisusers 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: RedisUserSpec defines the desired state of RedisUser
properties:
clusterId:
type: string
initialPermissions:
type: string
passwordSecretName:
type: string
passwordSecretNamespace:
type: string
username:
type: string
required:
- clusterId
- initialPermissions
- passwordSecretName
- passwordSecretNamespace
- username
type: object
status:
description: RedisUserStatus defines the observed state of RedisUser
properties:
ID:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
20 changes: 20 additions & 0 deletions charts/operator/crds/clusters.instaclustr.com_cadences.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ spec:
required:
- archivalS3Region
- archivalS3Uri
- awsAccessKeySecretName
- awsAccessKeySecretNamespace
type: object
type: array
dataCentres:
Expand Down Expand Up @@ -124,6 +126,13 @@ spec:
type: boolean
replicationFactor:
type: integer
required:
- network
- nodeSize
- nodesNumber
- passwordAndUserAuth
- privateIPBroadcastForDiscovery
- replicationFactor
type: object
bundledKafkaSpec:
properties:
Expand All @@ -139,6 +148,10 @@ spec:
type: integer
required:
- network
- nodeSize
- nodesNumber
- partitionsNumber
- replicationFactor
type: object
bundledOpenSearchSpec:
properties:
Expand All @@ -150,10 +163,16 @@ spec:
type: integer
replicationFactor:
type: integer
required:
- network
- nodeSize
- nodesPerReplicationFactor
- replicationFactor
type: object
useAdvancedVisibility:
type: boolean
required:
- bundledCassandraSpec
- useAdvancedVisibility
type: object
type: array
Expand Down Expand Up @@ -243,6 +262,7 @@ spec:
version:
type: string
required:
- dataCentres
- useCadenceWebAuth
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ spec:
type: object
type: array
managedCluster:
description: Details to connect to a Instaclustr managed cluster.
description: Details to connect to an Instaclustr managed cluster.
Cannot be provided if targeting an external cluster.
items:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,26 @@ webhooks:
resources:
- postgresqls
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /mutate-clusters-instaclustr-com-v1alpha1-zookeeper
failurePolicy: Fail
name: mzookeeper.kb.io
rules:
- apiGroups:
- clusters.instaclustr.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- zookeepers
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
Expand Down Expand Up @@ -381,6 +401,26 @@ webhooks:
resources:
- redis
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /validate-clusters-instaclustr-com-v1alpha1-zookeeper
failurePolicy: Fail
name: vzookeeper.kb.io
rules:
- apiGroups:
- clusters.instaclustr.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- zookeepers
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down
8 changes: 7 additions & 1 deletion charts/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replicaCount: 1
image:
repository: doodgematvey/dm5
pullPolicy: IfNotPresent
tag: test77
tag: test82

port: 8080

Expand Down Expand Up @@ -43,6 +43,12 @@ kubeRBACProxy:
rbac:
type: ClusterRole
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- apiGroups:
- ""
resources:
Expand Down
Binary file modified docs/operator-0.1.0.tgz
Binary file not shown.
6 changes: 3 additions & 3 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ entries:
operator:
- apiVersion: v2
appVersion: 0.1.0
created: "2023-03-06T20:49:23.819647634+02:00"
created: "2023-03-14T13:50:39.278431581+02:00"
description: Operator helm chart
digest: 81a8b15c671d4476b7acdcfce8498fdd43b66e95c9b05919aaa3eefaea9e9da1
digest: 6f99b07d3b11330ea0b0acf9616655685e4526b7d62e1e11ee16c9feeacdffde
name: operator
type: application
urls:
- https://instaclustr.github.io/operator-helm/docs/operator-0.1.0.tgz
version: 0.1.0
generated: "2023-03-06T20:49:23.817369196+02:00"
generated: "2023-03-14T13:50:39.276101323+02:00"