RATATOSK
← 전체 릴리스

Fluxv2.10.1

보안 1호환성 변경 1중요 수정 11기능·개선 1의존성 갱신 7기타 3

Flux 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

업그레이드 전 확인

업그레이드 안내1
지원 중단 예정 베타 API 전환을 위한 Flux v2.7+ 업그레이드 절차
ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](https://github.com/fluxcd/flux2/discussions/5572) for a smooth upgrade from Flux v2.6 to the latest version.
github.com/fluxcd/flux2/releases/tag/v2.10.1

보안1

[release/v2.10.x] Strip credentials from the push artifact source URL by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6179

영향 대상릴리스 노트에 언급 없음
원문 보기
* [release/v2.10.x] Strip credentials from the push artifact source URL by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6179
github.com/fluxcd/flux2/releases/tag/v2.10.1

호환성 변경1

Git HTTP/S 기본 인증의 불완전한 자격 증명 거부

영향 대상HTTP/S 기본 인증을 사용하는 Git 시크릿 생성, 소스 생성 및 부트스트랩(추정)

이제 사용자 이름이나 비밀번호가 일부만 입력되면 오류를 반환하며, Git 시크릿이나 소스 매니페스트를 생성하지 않습니다. 토큰 인증에서는 비어 있지 않은 사용자 이름과 비밀번호를 사용할 수 있습니다. 이 검사는 SSH 비밀번호에는 적용되지 않으며, --secret-ref를 통한 소스 생성은 소스 생성 검사에서 검증되지 않습니다.

근거“for Git over HTTP/S, basic authentication requires both a username and a password; for token-based authentication, use the token as the password with any non-empty username” fluxcd/flux2/pull/6185 ↗
원문 보기
* [release/v2.10.x] Reject partial basic auth in secret commands by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6185
github.com/fluxcd/flux2/releases/tag/v2.10.1

중요 수정11

  • kustomize-controller의 reconcile-duration 메트릭 시리즈 삭제
    영향 대상더 이상 존재하지 않을 수 있는 오브젝트의 reconcile-duration 메트릭을 수집하는 구성(추정)

    오브젝트가 더 이상 존재하지 않으면 메트릭 시리즈가 삭제됩니다.

    - Delete the reconcile duration metric series for objects that no longer exist (kustomize-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • 부트스트랩 --team 권한 파싱 수정
    영향 대상team:permission 형식의 부트스트랩 --team 항목(추정)

    이전에는 파싱할 때 전체 team:permission 문자열도 기본 권한으로 추가했습니다. 이제 팀 이름에 지정된 권한만 매핑하며, 권한을 명시하지 않은 항목에는 계속 기본 권한을 적용합니다.

    * [release/v2.10.x] Fix --team parsing in bootstrap commands by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6213
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • 어노테이션 변경 시 ServiceAccount 자격 증명 캐시 업데이트
    영향 대상helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller 또는 image-automation-controller의 credential.auth.fluxcd.io/username이나 gcp.auth.fluxcd.io/workload-identity-provider 어노테이션이 설정된 ServiceAccount

    이 수정 전에는 두 어노테이션 중 하나를 변경해도 기존에 캐시된 인증기가 만료되거나 컨트롤러가 재시작할 때까지 계속 사용됐습니다. 다음 reconcile부터 새 자격 증명 사용자 이름이나 GCP 워크로드 아이덴티티 프로바이더를 사용합니다.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix the credentials cache key so changes to the credential username or the GCP workload identity provider take effect on the next reconcile (helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller, image-automation-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • source-controller의 레지스트리 인증 복구
    영향 대상source-controller가 인증하는 레지스트리

    레지스트리의 토큰 서비스가 사설 주소에서 실행되거나, 인증 과정에서 같은 호스트로 HTTP에서 HTTPS로 리디렉션할 때 인증에 실패했습니다. 이제 ORAS v2.7.0에서는 두 경우 모두 정상적으로 동작합니다.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Restore authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0 (source-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • source-controller Git 체크아웃에서 상대 심볼릭 링크 대상 삭제 문제 수정
    영향 대상source-controller의 Git 체크아웃

    체크아웃한 리비전에서 상대 심볼릭 링크를 제거하면 체크아웃 과정에서 해당 링크의 대상까지 삭제했습니다. 이제는 이런 상황에서 대상이 삭제되지 않습니다.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix Git checkouts deleting the target of a relative symlink when the checked-out revision removes the symlink (source-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • image-automation-controller Git 체크아웃 멈춤 문제 수정
    영향 대상image-automation-controller의 Git 체크아웃

    푸시 브랜치에서 상대 심볼릭 링크가 가리키는 파일을 제거하면 체크아웃이 영구적으로 멈출 수 있었습니다.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix Git checkouts getting stuck when the push branch removes a file that relative symlinks point to (image-automation-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • flux migrate의 커스텀 리소스 페이지 단위 목록 조회
    영향 대상flux migrate로 실행하는 커스텀 리소스 마이그레이션

    이전에는 flux migrate가 CRD의 모든 커스텀 리소스를 한 번의 요청으로 조회한 다음 처리했습니다. 이제 전체 목록을 한꺼번에 불러오는 대신 페이지로 나뉜 목록 응답을 처리합니다.

    * [release/v2.10.x] Paginate resource listing in flux migrate by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6196
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • 만료된 continuation 토큰에 대한 flux migrate 재시도
    영향 대상flux migrate로 실행하는 커스텀 리소스 마이그레이션(추정)

    페이지네이션으로 목록을 조회하는 도중 continuation 토큰이 만료되면, 청크 단위 마이그레이션은 처음부터 다시 시작하는 대신 목록 조회 오류를 반환했습니다. 이제 일부 오브젝트를 패치한 뒤 토큰이 만료되면 마이그레이션이 첫 페이지부터 다시 시작하고 이미 패치한 오브젝트는 건너뜁니다. 아무 오브젝트도 패치하기 전에 토큰이 만료되면 마이그레이션은 계속 오류를 반환합니다.

    * [release/v2.10.x] Prevent infinite loop on flux migrate by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6205
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • 읽기 전용 심볼릭 링크 대상의 아티팩트 복사 권한 수정
    영향 대상심볼릭 링크를 해석하는 아티팩트 빌드

    심볼릭 링크가 읽기 전용 디렉터리로 해석되면 복사된 디렉터리에 쓰기 권한이 없어 복사 워크플로가 완료되지 않을 수 있었습니다. 이제 복사본은 소스의 권한 비트를 유지하면서 소유자에게 읽기, 쓰기, 실행 권한을 추가하므로 쓸 수 있고 제거할 수도 있습니다.

    * [release/v2.10.x] Fix resolve-symlinks for read-only directories by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6207
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Kustomization 파일 stat 오류로 인한 패닉 수정
    영향 대상flux build kustomization 또는 flux diff kustomization에 전달하는 Kustomization 파일 경로(추정)

    두 명령 중 하나에 os.Stat이 오류를 반환하는 Kustomization 파일 경로를 전달하면 파일 정보를 사용할 수 없어 패닉이 발생할 수 있었습니다. 이제 대신 invalid kustomization file 오류를 보고합니다.

    * [release/v2.10.x] Fix panic on unreadable kustomization file by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6208
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • flux tree kustomization 짧은 페이로드로 인한 패닉 수정
    영향 대상flux tree kustomization으로 검사하는 Helm 릴리스 저장소(추정)

    base64로 디코딩한 Helm 릴리스 페이로드가 3바이트 gzip 헤더보다 짧으면, 검증 없이 수행한 슬라이스 연산에서 패닉이 발생할 수 있었습니다. 이제 명령은 이 패닉을 방지합니다. gzip 형식이 아닌 데이터는 여전히 압축되지 않은 JSON으로 처리되며, 유효하지 않은 페이로드는 여전히 디코딩 오류를 반환할 수 있습니다.

    * [release/v2.10.x] Fix panic decoding short Helm release storage in tree by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6211
    github.com/fluxcd/flux2/releases/tag/v2.10.1

기능·개선1

  • 비밀번호에 콜론이 포함된 경우를 허용하는 --registry-creds
    * [release/v2.10.x] Allow colons in --registry-creds password by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6212
    github.com/fluxcd/flux2/releases/tag/v2.10.1

의존성 갱신7

    그 외 7건 · 보안 언급 없음
    • - source-controller [v1.10.2](https://github.com/fluxcd/source-controller/blob/v1.10.2/CHANGELOG.md)
    • - kustomize-controller [v1.10.2](https://github.com/fluxcd/kustomize-controller/blob/v1.10.2/CHANGELOG.md)
    • - notification-controller [v1.10.1](https://github.com/fluxcd/notification-controller/blob/v1.10.1/CHANGELOG.md)
    • - helm-controller [v1.7.2](https://github.com/fluxcd/helm-controller/blob/v1.7.2/CHANGELOG.md)
    • - image-reflector-controller [v1.3.1](https://github.com/fluxcd/image-reflector-controller/blob/v1.3.1/CHANGELOG.md)
    • - image-automation-controller [v1.3.1](https://github.com/fluxcd/image-automation-controller/blob/v1.3.1/CHANGELOG.md)
    • * [release/v2.10.x] Update toolkit components by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6210
    기타3
    • kustomize-controller의 기본 복호화 ServiceAccount 지연 조회
      Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
      - Resolve the default decryption ServiceAccount lazily, only when a cloud KMS or Vault backend is used (kustomize-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1
    • source-controller, image-reflector-controller, image-automation-controller의 기본 ServiceAccount 확인 수정
      - Fix resolving the default ServiceAccount for providers that don't use one (source-controller, image-reflector-controller, image-automation-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1
    • Flux 컨트롤러에서 남아 있던 오브젝트 수준 워크로드 아이덴티티 로그 메시지 제거
      - Remove leftover object-level workload identity log message (helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller, image-automation-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1

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