You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "yalindogusahin (via GitHub)" <gi...@apache.org> on 2026/07/27 15:12:25 UTC

[PR] Console: add kmsUnavailable option for S3 catalogs [polaris-tools]

yalindogusahin opened a new pull request, #261:
URL: https://github.com/apache/polaris-tools/pull/261

   ## Summary
   - Adds the `kmsUnavailable` field (already supported by the Polaris REST API's `AwsStorageConfigInfo`, added upstream in apache/polaris#3501 and exposed via the CLI's `--no-kms` flag on `catalogs create`) to the console's `StorageConfigInfo` type, the create/edit catalog forms, the details view, and the checked-in OpenAPI spec.
   - Lets console users mark an S3 (or S3-compatible: MinIO, Ceph RGW, VAST, etc.) catalog as not supporting KMS, so Polaris skips adding wildcard KMS IAM policy statements when vending scoped credentials.
   - Mirrors the existing `stsUnavailable`/`pathStyleAccess` boolean field pattern already used in both catalog modals.
   
   ## Changes
   - `console/src/types/api.ts`: add `kmsUnavailable?: boolean` to `StorageConfigInfo`
   - `console/spec/polaris-management-service.yml`: add `kmsUnavailable` to `AwsStorageConfigInfo`, matching the upstream Polaris spec wording
   - `console/src/components/forms/CreateCatalogModal.tsx` / `EditCatalogModal.tsx`: add the `s3_kmsUnavailable` form field, checkbox UI, and payload wiring
   - `console/src/pages/CatalogDetails.tsx`: display `KMS Unavailable: true` in the S3 storage config section when set
   
   ## Test plan
   - [x] `npm run lint` passes with no warnings/errors
   - [x] `npx tsc -b --noEmit` passes with no errors
   - [ ] Manual click-through in a running console against a live Polaris backend (not performed in this environment — no browser tooling available)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org