Skip to content

Commit

Permalink
Merge branch 'master' into kubedb/apimachinery@1777f43d
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiak-appscode[bot] authored Nov 8, 2024
2 parents ee71a62 + eeda19a commit 45953b8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,23 @@ webhooks:
failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }}
sideEffects: None
{{- end }}
{{- if $featureGates.Solr }}
- name: solrautoscalerwebhook.mutators.autoscaling.kubedb.com
clientConfig:
service:
namespace: default
name: kubernetes
path: /apis/mutators.autoscaling.kubedb.com/v1alpha1/solrautoscalerwebhooks
caBundle: {{ $caCrt }}
rules:
- apiGroups: ["autoscaling.kubedb.com"]
apiVersions: ["*"]
resources: ["solrautoscalers"]
operations: ["CREATE", "UPDATE"]
admissionReviewVersions: ["v1beta1"]
failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }}
sideEffects: None
{{- end }}
{{- end }}
{{- end }}

Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,23 @@ webhooks:
failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }}
sideEffects: None
{{- end }}
{{- if $featureGates.Solr }}
- name: solrautoscalerwebhook.validators.autoscaling.kubedb.com
clientConfig:
service:
namespace: default
name: kubernetes
path: /apis/validators.autoscaling.kubedb.com/v1alpha1/solrautoscalerwebhooks
caBundle: {{ $caCrt }}
rules:
- apiGroups: ["autoscaling.kubedb.com"]
apiVersions: ["*"]
resources: ["solrautoscalers"]
operations: ["CREATE", "UPDATE"]
admissionReviewVersions: ["v1beta1"]
failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }}
sideEffects: None
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 45953b8

Please sign in to comment.