Description
Currently, executing dapr mtls renew-certificate -k attempts to fetch/download external resources (such as Helm charts or binaries) over the internet.
In strict air-gapped / offline production environments where nodes or operator workstations do not have outbound internet access, this command hangs or fails due to network timeouts.
We need a way to perform mTLS certificate renewal entirely offline by providing local file paths or flags.
Proposed Solution
- Add a parameter to specify a local Helm chart or local binaries/templates:
- Provide a flag like
--chart-path <path-to-chart.tgz> or --use-local-chart so the CLI can render/apply manifests locally without contacting external registries/GitHub.
- Ensure complete air-gapped capability:
- If
--cert-path is provided along with a local chart/manifest source, dapr mtls renew-certificate should perform zero network outbound calls and rely purely on local files and the target Kubernetes API server.
Context & Impact
- Environment: Air-gapped / Enterprise Kubernetes Clusters (No internet access).
- Impact: Operators currently cannot use the official
dapr mtls renew-certificate CLI workflow in isolated environments during certificate rotation windows and must resort to manual openssl + kubectl workarounds.
Suggested Flags
--chart-path string: Path to a local Dapr Helm chart tarball or directory.
--offline: Explicitly force the CLI to use only local resources and disable all remote fetching.
Description
Currently, executing
dapr mtls renew-certificate -kattempts to fetch/download external resources (such as Helm charts or binaries) over the internet.In strict air-gapped / offline production environments where nodes or operator workstations do not have outbound internet access, this command hangs or fails due to network timeouts.
We need a way to perform mTLS certificate renewal entirely offline by providing local file paths or flags.
Proposed Solution
--chart-path <path-to-chart.tgz>or--use-local-chartso the CLI can render/apply manifests locally without contacting external registries/GitHub.--cert-pathis provided along with a local chart/manifest source,dapr mtls renew-certificateshould perform zero network outbound calls and rely purely on local files and the target Kubernetes API server.Context & Impact
dapr mtls renew-certificateCLI workflow in isolated environments during certificate rotation windows and must resort to manualopenssl+kubectlworkarounds.Suggested Flags
--chart-path string: Path to a local Dapr Helm chart tarball or directory.--offline: Explicitly force the CLI to use only local resources and disable all remote fetching.