# Kyverno v1.15.2

2025-09-18 · [릴리스 노트 원문](https://github.com/kyverno/kyverno/releases/tag/v1.15.2) · [전체 정리](https://ratatosk.io/ko/releases/kyverno/v1.15.2)

호환성 변경 4 · 중요 수정 6 · 기타 7

## 호환성 변경 (4)

### 네임스페이스 종료 중 보고서 오류를 DEBUG로 로깅

- 영향 대상: 검증 적용 및 감사 경로의 보고서 생성

이전에는 네임스페이스 종료 중 예상되는 보고서 생성 실패를 ERROR로 로깅했습니다. 실제 접근 거부 오류와 그 밖의 Forbidden 오류는 계속 ERROR로 로깅됩니다.

근거: “This PR fixes noisy ERROR logs in Kyverno when reports fail during namespace termination. Such expected errors are now logged at DEBUG instead of ERROR, reducing unnecessary alerts. Genuine access issues remain logged at ERROR, ensuring real security problems are still visible.” https://github.com/kyverno/kyverno/pull/13866

> * Fixed namespace termination logging (#13866)

### VAP, MAP 및 신규 Kyverno 정책 유형의 백그라운드 스캔에 리소스 필터링 추가

- 영향 대상: `skipRespourceFilter`가 false로 설정되고 `resourceFilter`가 구성된 VAP, MAP 또는 신규 Kyverno 정책 유형의 백그라운드 스캔

이러한 스캔에서는 구성된 `resourceFilter`와 일치하는 리소스를 건너뜁니다.

근거: “Applies resourceFilter on VAPs / MAPs and the new Kyverno policy types during background scan when skipRespourceFilter is set to false.” https://github.com/kyverno/kyverno/pull/13919

> * Fixed background scan reporting to consume `resourceFilter` for new policy types (#13919)

### `PolicyException` 네임스페이스 매칭에 리소스 네임스페이스 레이블 사용

- 영향 대상: 네임스페이스 셀렉터가 있는 `PolicyException` 리소스를 클러스터 범위에서 처리하는 경우 (추정)

리소스 네임스페이스 조회에 실패하면 어떤 예외도 매칭되지 않습니다.

근거: “This PR retrieves the resource's namespace labels in order to check if the exception's namespace selector matches it.” https://github.com/kyverno/kyverno/pull/13975

> * Fixed namespace selector matching for PolicyException (#13975)

### OpenReports CRD 설치를 위한 별도 설정

- 영향 대상: OpenReports를 사용하는 Helm 차트 설정 (추정)
- 필요 조치: CRD 설치 시 `openreports.installCrds`가 true이면 `openreports.enabled`도 true여야 하는 조건

이전에는 `openreports.enabled: true`로 설정하면 OpenReports CRD도 설치했습니다. 이제는 `openreports.installCrds`로 설치 여부를 제어하며, 기본값은 `false`입니다. 따라서 이 값을 지정하지 않은 설정에서는 더 이상 CRD를 설치하지 않습니다.

근거: “| openreports.installCrds | bool | `false` | Whether to install CRDs from the upstream OpenReports chart. Setting this to true requires enabled to also be true.” https://github.com/kyverno/kyverno/pull/13924

> * Split openreports CRD installation from controller flag enabling in the helm chart (#13924)

## 중요 수정 (6)

### API 서버가 생성하는 리소스 이름의 어드미션 매칭 수정

- 영향 대상: VAP 또는 MAP 어드미션 매칭에서 `resourceNames`를 설정한 경우 (추정)

어드미션 리소스의 이름이 비어 있고 API 서버가 이름을 생성할 예정이면, 이제 `generateName`이 설정된 `resourceNames` 항목 중 하나로 시작할 때 매처가 해당 리소스를 매칭합니다. 일치하는 접두사가 없으면 이름 매칭을 건너뜁니다.

> * Fixed resource name matching for edge case when name is auto-generated (#13584)

### CLI 평가 시 VAP 및 MAP에 사용자 정보 전달

- 영향 대상: 사용자 정보가 제공된 VAP 또는 MAP의 CLI 평가 (추정)

> * Fixed issue to evaluate userInfo for VAPs and MAPs in the CLI (#13920)

### Kyverno CLI `apply`에서 건너뛴 generate 규칙을 skip으로 매핑

- 영향 대상: `kyverno apply`를 통해 generate 규칙으로 평가되는 리소스 (추정)

이전에는 표시된 건너뛰기 응답이 `fail: 1`로 집계되어 명령이 종료 코드 1로 끝났지만, 이제 종료 코드 0으로 끝납니다.

> * Fixed CLI apply command return code regardless of output format (#12629)

### Helm 차트 검증에 reports-server CRD 설정 사용

- 영향 대상: Kyverno Helm 차트의 reports-server CRD 설정 (추정)

`.Values.reportsServer.enabled`가 없으면 `helm template` 실행이 nil-pointer 오류로 실패했습니다. 이제 검증 로직은 `.Values.crds.reportsServer.enabled`를 읽습니다.

> * Updated conditional logic to correct `reportsServer` value reference (#13893)

### 어드미션 단계에서 차단되는 뮤테이팅 정책 컴파일 오류

- 영향 대상: JSON 패치 또는 apply-configuration 표현식을 사용하는 뮤테이팅 정책 (추정)

뮤테이팅 정책에 컴파일 오류가 있으면 어드미션 응답에 경고가 포함됩니다.

> * Fixed issue to block mutating policies upon compilation errors (#13972)

### `webhooksCleanup` 이미지 저장소 처리 수정

- 영향 대상: `webhooksCleanup.image.repository` 또는 `webhooksCleanup.image.registry`를 사용자 지정하는 Helm 차트 구성 (추정)

`webhooksCleanup.image.repository`를 `myCustomRepo`로 설정하면 정리 이미지 경로가 `myCustomRepo/registry.k8s.io/kubectl`이 됩니다.

> * Fixed repository customization for helm hooks (#13933)

## 기타 (7)

- Helm 사전 삭제 훅 Job 접미사 단축
- Helm 차트 VAP 요구 사항 경고 제거
- `validate.assert`가 이제 `AssertionTree` 포인터를 사용합니다
- `pkg/background/dynamic_watcher.go` 단위 테스트 추가
- 서브리소스와 매칭되는 VAP 테스트 추가
- Chainsaw 테스트 수정
- 백그라운드 컨트롤러의 네임스페이스 조회에 네임스페이스 리스터 사용

---

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.
