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:
InstallCommand
UpgradeCommand
TemplateCommand
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
Summary
This feature request adds support for Helm's
--skip-crdsflag to the Java client, allowing users to skip Custom Resource Definition (CRD) installation during chart operations.Motivation
The native Helm CLI supports the
--skip-crdsflag forinstall,upgrade, andtemplatecommands. This flag is useful when:Currently, the Helm Java client does not expose this functionality.
Proposed Changes
Add
skipCrds()method to:InstallCommandUpgradeCommandTemplateCommandUsage Example
Implementation
Implementation requires changes across all layers:
PR created: #317