-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Summary
This feature request adds support for Helm's --skip-crds flag to the Java client, allowing users to skip Custom Resource Definition (CRD) installation during chart operations.
Motivation
The native Helm CLI supports the --skip-crds flag for install, upgrade, and template commands. This flag is useful when:
- CRDs are managed separately from chart releases
- Installing charts in environments where CRDs are already present
- Performing dry-run operations without CRD validation
Currently, the Helm Java client does not expose this functionality.
Proposed Changes
Add skipCrds() method to:
InstallCommandUpgradeCommandTemplateCommand
Usage Example
// Install without CRDs
Helm.install("my-chart")
.withName("my-release")
.skipCrds()
.call();
// Upgrade without CRDs
Helm.upgrade("my-chart")
.withName("my-release")
.skipCrds()
.call();
// Template without CRDs
String manifests = Helm.template("my-chart")
.skipCrds()
.call();Implementation
Implementation requires changes across all layers:
- Go native layer (InstallOptions, UpgradeOptions, TemplateOptions)
- C bindings (FFI layer)
- JNA bridge layer
- Java API layer
PR created: #317
Metadata
Metadata
Assignees
Labels
No labels