Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add --config flag, an alternative to ZARF_CONFIG env var #2328

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ zarf COMMAND [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
-h, --help help for zarf
--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")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ See each sub-command's help for details on how to use the generated script.

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_completion_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ zarf completion bash

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_completion_fish.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ zarf completion fish [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ zarf completion powershell [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_completion_zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ zarf completion zsh [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ zarf connect { REGISTRY | GIT | connect-name } [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_connect_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ zarf connect list [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_destroy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ zarf destroy --confirm [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Commands useful for developing packages

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ zarf dev deploy [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_find-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ zarf dev find-images [ PACKAGE ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ zarf dev generate-config [ FILENAME ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ zarf dev generate podinfo --url https://github.com/stefanprodan/podinfo.git --ve

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ zarf dev lint [ DIRECTORY ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_patch-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ zarf dev patch-git HOST FILE [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_dev_sha256sum.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ zarf dev sha256sum { FILE | URL } [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ $ zarf init --artifact-push-password={PASSWORD} --artifact-push-username={USERNA

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Zarf package commands for creating, deploying, and inspecting packages

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ zarf package create [ DIRECTORY ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ zarf package deploy [ PACKAGE_SOURCE ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_inspect.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ zarf package inspect [ PACKAGE_SOURCE ] [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ zarf package list [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ $ zarf package mirror-resources <your-package.tar.zst> \

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ $ zarf package publish ./path/to/dir oci://my-registry.com/my-namespace

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $ zarf package pull oci://ghcr.io/defenseunicorns/packages/dos-games:1.0.0 -a sk

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_package_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ zarf package remove { PACKAGE_SOURCE | PACKAGE_NAME } --confirm [flags]

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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.
-k, --key string Path to public key file for validating signed packages
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Collection of additional tools to make airgap easier

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
1 change: 1 addition & 0 deletions site/src/content/docs/commands/zarf_tools_archiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Compresses/Decompresses generic archives, including Zarf packages

```
-a, --architecture string Architecture for OCI images and Zarf packages
--config-path string Specify the path of the configuration file to use
--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
Expand Down
Loading
Loading