Skip to content

Commit

Permalink
Merge branch 'master' into kubedb/apimachinery@9b860192
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiak-appscode[bot] authored Nov 8, 2024
2 parents ec5b57a + eeda19a commit 56d7362
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 56d7362

Please sign in to comment.