---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  annotations:
    certificates.kubevirt.io/secret: kubevirt-virt-api-certs
    kubevirt.io/customizer-identifier: bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f
    kubevirt.io/generation: "2"
    kubevirt.io/install-strategy-identifier: 2dc5f715e9a54162bc06e47f8e4f741a60504588
    kubevirt.io/install-strategy-registry: ""
    kubevirt.io/install-strategy-version: sha256:f3434d66f6d0d99c98a9c7428ed9a85c5c83bb9c1caeb1bc3617c37b2ad2ee81
  creationTimestamp: "2025-10-29T11:53:49Z"
  generation: 1
  labels:
    app.kubernetes.io/component: compute
    app.kubernetes.io/managed-by: virt-operator
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.19.11
    kubevirt.io: virt-api-mutator
  managedFields:
  - apiVersion: admissionregistration.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:certificates.kubevirt.io/secret: {}
          f:kubevirt.io/customizer-identifier: {}
          f:kubevirt.io/generation: {}
          f:kubevirt.io/install-strategy-identifier: {}
          f:kubevirt.io/install-strategy-registry: {}
          f:kubevirt.io/install-strategy-version: {}
        f:labels:
          .: {}
          f:app.kubernetes.io/component: {}
          f:app.kubernetes.io/managed-by: {}
          f:app.kubernetes.io/part-of: {}
          f:app.kubernetes.io/version: {}
          f:kubevirt.io: {}
      f:webhooks:
        .: {}
        k:{"name":"migrations-mutator.kubevirt.io"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:caBundle: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:reinvocationPolicy: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
        k:{"name":"virtualmachineclones-mutator.kubevirt.io"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:caBundle: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:reinvocationPolicy: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
        k:{"name":"virtualmachineinstances-mutator.kubevirt.io"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:caBundle: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:reinvocationPolicy: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
        k:{"name":"virtualmachines-mutator.kubevirt.io"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:caBundle: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:reinvocationPolicy: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
    manager: virt-operator
    operation: Update
    time: "2025-10-29T11:53:49Z"
  name: virt-api-mutator
  resourceVersion: "2145594"
  uid: f2a6ed9a-6dcd-4655-b6f0-e180a9942ec2
webhooks:
- admissionReviewVersions:
  - v1
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVNDZ0F3SUJBZ0lJTkZqWEJNbXlIdTR3Q2dZSUtvWkl6ajBFQXdJd0lURWZNQjBHQTFVRUF3d1cKYTNWaVpYWnBjblF1YVc5QU1UYzJNVGN6T0RneU9UQWVGdzB5TlRFd01qa3hNVFV6TkRsYUZ3MHlOVEV3TXpFeApNVFV6TkRsYU1DRXhIekFkQmdOVkJBTU1GbXQxWW1WMmFYSjBMbWx2UURFM05qRTNNemc0TWprd1dUQVRCZ2NxCmhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBU1FyTlY3MVUzTmxPcWhMamliRjExeWFnYVFnNVBCTTNkb2NURVMKVnd3MU94bmhSZ1VLMUxHdHU1bTRQeHpsM2tvanVpZ1FwZjlwNjdwdXhDRnp6cHMzbzBJd1FEQU9CZ05WSFE4QgpBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVxdjgyNjRPeTBGd1NDazJPCjl1R0NBKzd0TWo0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJZ2ZrZmN2SzVHeDV5YzFJZG00TFEvdk5UOEtXZm0KVXdJWkdiRTltT3JsbUVnQ0lRRENFNjJWcng5YnBkK29rSFBKODFRNHRtK3VhWktMVnBNQzQ2b3QzMjAyQ1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    service:
      name: virt-api
      namespace: openshift-cnv
      path: /virtualmachines-mutate
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: virtualmachines-mutator.kubevirt.io
  namespaceSelector: {}
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - kubevirt.io
    apiVersions:
    - v1alpha3
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - virtualmachines
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
- admissionReviewVersions:
  - v1
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVNDZ0F3SUJBZ0lJTkZqWEJNbXlIdTR3Q2dZSUtvWkl6ajBFQXdJd0lURWZNQjBHQTFVRUF3d1cKYTNWaVpYWnBjblF1YVc5QU1UYzJNVGN6T0RneU9UQWVGdzB5TlRFd01qa3hNVFV6TkRsYUZ3MHlOVEV3TXpFeApNVFV6TkRsYU1DRXhIekFkQmdOVkJBTU1GbXQxWW1WMmFYSjBMbWx2UURFM05qRTNNemc0TWprd1dUQVRCZ2NxCmhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBU1FyTlY3MVUzTmxPcWhMamliRjExeWFnYVFnNVBCTTNkb2NURVMKVnd3MU94bmhSZ1VLMUxHdHU1bTRQeHpsM2tvanVpZ1FwZjlwNjdwdXhDRnp6cHMzbzBJd1FEQU9CZ05WSFE4QgpBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVxdjgyNjRPeTBGd1NDazJPCjl1R0NBKzd0TWo0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJZ2ZrZmN2SzVHeDV5YzFJZG00TFEvdk5UOEtXZm0KVXdJWkdiRTltT3JsbUVnQ0lRRENFNjJWcng5YnBkK29rSFBKODFRNHRtK3VhWktMVnBNQzQ2b3QzMjAyQ1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    service:
      name: virt-api
      namespace: openshift-cnv
      path: /virtualmachineinstances-mutate
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: virtualmachineinstances-mutator.kubevirt.io
  namespaceSelector: {}
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - kubevirt.io
    apiVersions:
    - v1alpha3
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - virtualmachineinstances
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
- admissionReviewVersions:
  - v1
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVNDZ0F3SUJBZ0lJTkZqWEJNbXlIdTR3Q2dZSUtvWkl6ajBFQXdJd0lURWZNQjBHQTFVRUF3d1cKYTNWaVpYWnBjblF1YVc5QU1UYzJNVGN6T0RneU9UQWVGdzB5TlRFd01qa3hNVFV6TkRsYUZ3MHlOVEV3TXpFeApNVFV6TkRsYU1DRXhIekFkQmdOVkJBTU1GbXQxWW1WMmFYSjBMbWx2UURFM05qRTNNemc0TWprd1dUQVRCZ2NxCmhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBU1FyTlY3MVUzTmxPcWhMamliRjExeWFnYVFnNVBCTTNkb2NURVMKVnd3MU94bmhSZ1VLMUxHdHU1bTRQeHpsM2tvanVpZ1FwZjlwNjdwdXhDRnp6cHMzbzBJd1FEQU9CZ05WSFE4QgpBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVxdjgyNjRPeTBGd1NDazJPCjl1R0NBKzd0TWo0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJZ2ZrZmN2SzVHeDV5YzFJZG00TFEvdk5UOEtXZm0KVXdJWkdiRTltT3JsbUVnQ0lRRENFNjJWcng5YnBkK29rSFBKODFRNHRtK3VhWktMVnBNQzQ2b3QzMjAyQ1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    service:
      name: virt-api
      namespace: openshift-cnv
      path: /migration-mutate-create
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: migrations-mutator.kubevirt.io
  namespaceSelector: {}
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - kubevirt.io
    apiVersions:
    - v1alpha3
    - v1
    operations:
    - CREATE
    resources:
    - virtualmachineinstancemigrations
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
- admissionReviewVersions:
  - v1
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVNDZ0F3SUJBZ0lJTkZqWEJNbXlIdTR3Q2dZSUtvWkl6ajBFQXdJd0lURWZNQjBHQTFVRUF3d1cKYTNWaVpYWnBjblF1YVc5QU1UYzJNVGN6T0RneU9UQWVGdzB5TlRFd01qa3hNVFV6TkRsYUZ3MHlOVEV3TXpFeApNVFV6TkRsYU1DRXhIekFkQmdOVkJBTU1GbXQxWW1WMmFYSjBMbWx2UURFM05qRTNNemc0TWprd1dUQVRCZ2NxCmhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBU1FyTlY3MVUzTmxPcWhMamliRjExeWFnYVFnNVBCTTNkb2NURVMKVnd3MU94bmhSZ1VLMUxHdHU1bTRQeHpsM2tvanVpZ1FwZjlwNjdwdXhDRnp6cHMzbzBJd1FEQU9CZ05WSFE4QgpBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVxdjgyNjRPeTBGd1NDazJPCjl1R0NBKzd0TWo0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJZ2ZrZmN2SzVHeDV5YzFJZG00TFEvdk5UOEtXZm0KVXdJWkdiRTltT3JsbUVnQ0lRRENFNjJWcng5YnBkK29rSFBKODFRNHRtK3VhWktMVnBNQzQ2b3QzMjAyQ1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    service:
      name: virt-api
      namespace: openshift-cnv
      path: /vm-clone-mutate-create
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: virtualmachineclones-mutator.kubevirt.io
  namespaceSelector: {}
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - clone.kubevirt.io
    apiVersions:
    - v1beta1
    operations:
    - CREATE
    resources:
    - virtualmachineclones
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
