-
Bug
-
Resolution: Done
-
Undefined
-
OSSM 2.3.0
-
None
Version-Release number of selected component (if applicable):
CNV 4.11.1-92
servicemeshoperator.v2.3.0
Steps to Reproduce:
1. Run cnv-test's test_deprecated_apis_in_audit_logs
Actual results:
15:29:07 tests.deprecated_api.test_deprecation_audit_logs.DeprecatedAPIError: Component: istio-operator/v0.0.0 (linux/amd64) kubernetes/$Format
15:29:07
15:29:07 Calls:
15:29:07 {'kind': 'Event', 'apiVersion': 'audit.k8s.io/v1', 'level': 'Metadata', 'auditID': 'cc9bb37e-c69b-4e15-bda3-960ef0da78c4', 'stage': 'ResponseComplete', 'requestURI': '/apis/autoscaling/v2beta1/horizontalpodautoscalers?labelSelector=app.kubernetes.io%2Fmanaged-by%3Dmaistra-istio-operator%2Capp.kubernetes.io%2Fversion%21%3D2.3.0-1-1%2Cmaistra.io%2Fowner%3Distio-system', 'verb': 'list', 'user': {'username': 'system:serviceaccount:openshift-operators:istio-operator', 'uid': '40853817-4fc3-4438-87ba-b33d7e71ce51', 'groups': ['system:serviceaccounts', 'system:serviceaccounts:openshift-operators', 'system:authenticated'], 'extra': {'authentication.kubernetes.io/pod-name': ['istio-operator-67db4bddbb-fpdxf'], 'authentication.kubernetes.io/pod-uid': ['3101c44d-b5b9-4bb4-8498-d01d0c00e937']}}, 'sourceIPs': ['10.9.96.80'], 'userAgent': 'istio-operator/v0.0.0 (linux/amd64) kubernetes/$Format', 'objectRef':
, 'responseStatus': {'metadata': {}, 'code': 200}, 'requestReceivedTimestamp': '2022-11-24T11:18:24.808639Z', 'stageTimestamp': '2022-11-24T11:18:27.074946Z', 'annotations': {'apiserver.latency.k8s.io/etcd': '2.265240744s', 'apiserver.latency.k8s.io/response-write': '393ns', 'apiserver.latency.k8s.io/serialize-response-object': '382.038µs', 'apiserver.latency.k8s.io/total': '2.266306597s', 'apiserver.latency.k8s.io/transform-response-object': '2.422µs', 'authorization.k8s.io/decision': 'allow', 'authorization.k8s.io/reason': 'RBAC: allowed by ClusterRoleBinding "servicemeshoperator.v2.3.0-56bd9688d6" of ClusterRole "servicemeshoperator.v2.3.0-56bd9688d6" to ServiceAccount "istio-operator/openshift-operators"', 'k8s.io/deprecated': 'true', 'k8s.io/removed-release': '1.25'}}
- duplicates
-
OSSM-2314 Seeing use of deprecated autoscaling/v2beta1 HorizontalPodAutoscaler in audit logs of a4.11 cluster
- Closed
- mentioned on