Skip to content

feat: expose Helm service Values OpenAPI - #4976

Open
huanghongbo-hhb wants to merge 3 commits into
koderover:mainfrom
huanghongbo-hhb:feat/helm-service-values-openapi
Open

huanghongbo-hhb wants to merge 3 commits into
koderover:mainfrom
huanghongbo-hhb:feat/helm-service-values-openapi

Conversation

@huanghongbo-hhb

@huanghongbo-hhb huanghongbo-hhb commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Helm service lifecycle and environment Values OpenAPI endpoints.

Why

  • Expose existing backend capabilities to CLI and automation with revision-safe updates.

Main Changes

  • Add service template create/detail/update/delete and environment Values query/source/preview/update routes.
  • Reuse Zadig Values merging and shared sensitive-key masking; preserve Secret references.
  • Support project-scoped code hosts, manual other imports, and document the contract.

Risk / Compatibility

  • New endpoints are additive; existing routes and deployment flow remain unchanged.
  • effective_values_yaml reports saved Zadig configuration, not live Helm state.

Test

  • go test ./pkg/util -run TestSensitiveKeyOperationLogCompatibility -count=1
  • go test ./pkg/microservice/aslan/core/environment/service -run Test(OpenAPI|ValidateOpenAPI|BuildOpenAPI) -count=1
  • go test ./pkg/microservice/aslan/core/service/service -count=1
  • Handler packages compile with go test ... -run ^$.
  • Existing common/util full suite remains blocked by the pre-existing HookPayload.RawPayload error.

Contact


This change is Reviewable

Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Keep the OpenAPI implementation in this PR and drop the accompanying
docs file so it can be submitted separately.

Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant