-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add missing vendored tool version commands (#2232)
## Description This PR adds missing version commands to the bundled tools. ## Related Issue Fixes #2142 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow) followed Signed-off-by: Eddie Zaneski <[email protected]> Co-authored-by: Wayne Starr <[email protected]>
- Loading branch information
Showing
15 changed files
with
160 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
docs/2-the-zarf-cli/100-cli-commands/zarf_tools_archiver_version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# zarf tools archiver version | ||
<!-- Auto-generated by hack/gen-cli-docs.sh --> | ||
|
||
Print the version | ||
|
||
``` | ||
zarf tools archiver version [flags] | ||
``` | ||
|
||
## Options | ||
|
||
``` | ||
-h, --help help for version | ||
``` | ||
|
||
## Options inherited from parent commands | ||
|
||
``` | ||
-a, --architecture string Architecture for OCI images and Zarf packages | ||
--insecure Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture. | ||
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info") | ||
--no-color Disable colors in output | ||
--no-log-file Disable log file creation | ||
--no-progress Disable fancy UI progress bars, spinners, logos, etc | ||
--tmpdir string Specify the temporary directory to use for intermediate files | ||
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache") | ||
``` | ||
|
||
## SEE ALSO | ||
|
||
* [zarf tools archiver](zarf_tools_archiver.md) - Compresses/Decompresses generic archives, including Zarf packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
docs/2-the-zarf-cli/100-cli-commands/zarf_tools_helm_version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# zarf tools helm version | ||
<!-- Auto-generated by hack/gen-cli-docs.sh --> | ||
|
||
Print the version | ||
|
||
``` | ||
zarf tools helm version [flags] | ||
``` | ||
|
||
## Options | ||
|
||
``` | ||
-h, --help help for version | ||
``` | ||
|
||
## Options inherited from parent commands | ||
|
||
``` | ||
--burst-limit int client-side default throttling limit (default 100) | ||
--debug enable verbose output | ||
--kube-apiserver string the address and the port for the Kubernetes API server | ||
--kube-as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups. | ||
--kube-as-user string username to impersonate for the operation | ||
--kube-ca-file string the certificate authority file for the Kubernetes API server connection | ||
--kube-context string name of the kubeconfig context to use | ||
--kube-insecure-skip-tls-verify if true, the Kubernetes API server's certificate will not be checked for validity. This will make your HTTPS connections insecure | ||
--kube-tls-server-name string server name to use for Kubernetes API server certificate validation. If it is not provided, the hostname used to contact the server is used | ||
--kube-token string bearer token used for authentication | ||
--kubeconfig string path to the kubeconfig file | ||
-n, --namespace string namespace scope for this request | ||
--qps float32 queries per second used when communicating with the Kubernetes API, not including bursting | ||
--registry-config string path to the registry config file | ||
--repository-cache string path to the file containing cached repository indexes | ||
--repository-config string path to the file containing repository names and URLs | ||
``` | ||
|
||
## SEE ALSO | ||
|
||
* [zarf tools helm](zarf_tools_helm.md) - Subset of the Helm CLI included with Zarf to help manage helm charts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
docs/2-the-zarf-cli/100-cli-commands/zarf_tools_registry_version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# zarf tools registry version | ||
<!-- Auto-generated by hack/gen-cli-docs.sh --> | ||
|
||
Print the version | ||
|
||
## Synopsis | ||
|
||
The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. | ||
|
||
This could be an arbitrary string, if specified via -ldflags. | ||
This could also be the go module version, if built with go modules (often "(devel)"). | ||
|
||
``` | ||
zarf tools registry version [flags] | ||
``` | ||
|
||
## Options | ||
|
||
``` | ||
-h, --help help for version | ||
``` | ||
|
||
## Options inherited from parent commands | ||
|
||
``` | ||
--allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers | ||
--insecure Allow image references to be fetched without TLS | ||
--platform string Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default "all") | ||
-v, --verbose Enable debug logs | ||
``` | ||
|
||
## SEE ALSO | ||
|
||
* [zarf tools registry](zarf_tools_registry.md) - Tools for working with container registries using go-containertools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters