Files
traces/operations/jsonnet-compiled/microservices/gen/ValidatingWebhookConfiguration-no-downscale-tracing.yaml
Zach LeslieandGitHub 876a397c80 [jsonnet/microservices]: use upstream rollout-operator (#5983)
* [jsonnet/microservices]: use upstream rollout-operator

* Include rollout operator in common

* Commit compiled updates

* Include vendor

* Include vendor

* Drop microservices vendor

* Update k8s lib

* Use upstream rollout_operator image version

* Make note of rollout-operator configuration

* Remove replica-template to use upstream
2026-01-07 15:22:08 +00:00

36 lines
777 B
YAML

apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
grafana.com/inject-rollout-operator-ca: "true"
grafana.com/namespace: tracing
name: no-downscale-tracing
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: rollout-operator
namespace: tracing
path: /admission/no-downscale
port: 443
failurePolicy: Fail
matchPolicy: Equivalent
name: no-downscale-tracing.grafana.com
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: tracing
rules:
- apiGroups:
- apps
apiVersions:
- v1
operations:
- UPDATE
resources:
- statefulsets
- statefulsets/scale
scope: Namespaced
sideEffects: None
timeoutSeconds: 10