Skip to content

Commit

Permalink
Added kafka ops request
Browse files Browse the repository at this point in the history
Signed-off-by: obaydullahmhs <[email protected]>
  • Loading branch information
obaydullahmhs committed Sep 28, 2023
1 parent 7e910e1 commit 355f5f0
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/kubedb-ops-manager/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ rules:
resources:
- elasticsearchopsrequests/finalizers
- etcdopsrequests/finalizers
- kafkaopsrequests/finalizers
- mariadbopsrequests/finalizers
- memcachedopsrequests/finalizers
- mongodbopsrequests/finalizers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ webhooks:
admissionReviewVersions: ["v1beta1"]
failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }}
sideEffects: None
- name: kafkaopsrequestwebhook.validators.ops.kubedb.com
clientConfig:
service:
namespace: default
name: kubernetes
path: /apis/validators.ops.kubedb.com/v1alpha1/kafkaopsrequestwebhooks
caBundle: {{ $caCrt }}
rules:
- apiGroups: ["ops.kubedb.com"]
apiVersions: ["*"]
resources: ["kafkaopsrequests"]
operations: ["CREATE", "UPDATE", "DELETE"]
admissionReviewVersions: ["v1beta1"]
failurePolicy: Fail
sideEffects: None
- name: redisopsrequestwebhook.validators.ops.kubedb.com
clientConfig:
service:
Expand Down
Loading

0 comments on commit 355f5f0

Please sign in to comment.