---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  creationTimestamp: "2025-10-29T11:53:40Z"
  generation: 1
  labels:
    cdi.kubevirt.io: cdi-api
  managedFields:
  - apiVersion: admissionregistration.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:cdi.kubevirt.io: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"1d55906a-5bc9-4c45-99c4-eb4c575b061f"}: {}
      f:webhooks:
        .: {}
        k:{"name":"pvc-mutate.cdi.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-cdi-operator
    operation: Update
    time: "2025-10-29T11:53:40Z"
  name: cdi-api-pvc-mutate
  ownerReferences:
  - apiVersion: cdi.kubevirt.io/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: CDI
    name: cdi-kubevirt-hyperconverged
    uid: 1d55906a-5bc9-4c45-99c4-eb4c575b061f
  resourceVersion: "2145282"
  uid: 11ad1cbd-7b85-4298-bcac-1d0d8e8e13c7
webhooks:
- admissionReviewVersions:
  - v1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURWVENDQWoyZ0F3SUJBZ0lJZjFlTVp4L244Nzh3RFFZSktvWklodmNOQVFFTEJRQXdPREUyTURRR0ExVUUKQXd3dGIzQmxibk5vYVdaMExXTnVkbDlqWkdrdFlYQnBjMlZ5ZG1WeUxYTnBaMjVsY2tBeE56WXhOek00T0RBMQpNQjRYRFRJMU1UQXlPVEV4TlRNeU5Gb1hEVEkxTVRBek1URXhOVE15Tl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VFdZdkoxWHN1SHRtWnJVZ1lEYnd3bkVDClIzNDFyRTB1S2dEa0Y4dVl2NDMyS0xCN1R4M043R1ZwNXU0c2VVcmVNNlVNUmppL0NQNXhDZWVFYXFzRk16RnEKUEVkVTBmTnJMbHRFQTQrVVo3WGowc1ZCbXFmcVE5UjU0Y2VxcHYwVElKWWFiVTN0Q0NsV1pwZEhrNlJPdnh1dwpJcGpydisrUjEwQWFOQnRDSFJGZFJGbHZMTEs0ZFVYRHFnMUZtLy9pUVQyVFFQUHhyVXpHQ0RzPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    service:
      name: cdi-api
      namespace: openshift-cnv
      path: /pvc-mutate
      port: 443
  failurePolicy: Fail
  matchPolicy: Exact
  name: pvc-mutate.cdi.kubevirt.io
  namespaceSelector: {}
  objectSelector:
    matchLabels:
      cdi.kubevirt.io/applyStorageProfile: "true"
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - ""
    apiVersions:
    - v1
    operations:
    - CREATE
    resources:
    - persistentvolumeclaims
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10
