--- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingAdmissionPolicy metadata: creationTimestamp: "2026-11-03T21:07:18Z" generation: 1 labels: hypershift.openshift.io/managed: "true" managedFields: - apiVersion: admissionregistration.k8s.io/v1 fieldsType: FieldsV1 fieldsV1: f:status: f:observedGeneration: {} f:typeChecking: {} manager: validatingadmissionpolicy-status operation: Apply subresource: status time: "2026-11-03T21:07:18Z" - apiVersion: admissionregistration.k8s.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: .: {} f:hypershift.openshift.io/managed: {} f:spec: f:failurePolicy: {} f:matchConstraints: {} f:validations: {} manager: hosted-cluster-config-operator-manager operation: Update time: "2026-11-03T21:07:18Z" name: mirror resourceVersion: "1468" uid: cb19eba9-d16c-4c40-99a7-3c89205d5a0b spec: failurePolicy: Fail matchConstraints: matchPolicy: Equivalent namespaceSelector: {} objectSelector: {} resourceRules: - apiGroups: - config.openshift.io apiVersions: - v1 operations: - '*' resources: - imagedigestmirrorsets - imagetagmirrorsets - operatorhubs scope: '*' validations: - expression: request.userInfo.username in ['system:hosted-cluster-config', 'system:kas-bootstrap-container'] || (has(object.spec) && has(oldObject.spec) && object.spec == oldObject.spec) message: This resource cannot be created, updated, or deleted. Please ask your administrator to modify the resource in the HostedCluster object. reason: Invalid status: observedGeneration: 1 typeChecking: {}