Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanHoladay authored and UncleGedd committed Jun 7, 2024
1 parent e38b0be commit 91cb9cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions docs/overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ There are 3 ways to override the `UI_COLOR` variable:
{{% alert-note %}}
A variable that is not overridden by any of the methods above and has no default will be ignored.
{{% /alert-note %}}
{{% /alert-note %}}

#### Variable Precedence
Variable precedence is as follows:
Expand All @@ -242,7 +242,7 @@ Variables can be of either type `raw` or `file`. The type will default to raw if

{{% alert-caution %}}
If a variable is set to accept a file as its value, but is missing the `file` type, then the file will not be processed.
{{% /alert-caution %}}
{{% /alert-caution %}}

```yaml
kind: UDSBundle
Expand Down Expand Up @@ -287,7 +287,7 @@ If the file path is already set to the same relative path as the config, then no
UDS CLI does not encrypt or base64 encode any file contents before passing said data to Zarf or Helm.

For example, if the file contains a key to be used in a Kubernetes secret, it must be base64 encoded before being ingested by UDS CLI.
{{% /alert-note %}}
{{% /alert-note %}}

### Namespace
It's also possible to specify a namespace for a packaged Helm chart to be installed in. For example, to deploy the a chart in the `custom-podinfo` namespace, you can specify the `namespace` in the `overrides` block:
Expand Down
20 changes: 10 additions & 10 deletions docs/quickstart-and-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ There are 2 ways to create Bundles:

{{% alert-note %}}
The `--insecure` flag is necessary when interacting with a local registry, but not from secure, remote registries such as GHCR.
{{% /alert-note %}}
{{% /alert-note %}}

### Bundle Deploy
Deploys the bundle
Expand Down Expand Up @@ -119,9 +119,9 @@ As an example: `uds remove uds-bundle-<name>.tar.zst --packages init,nginx`

### Logs

{{% alert-note %}}
{{% alert-note %}}
Only works with `uds deploy` for now, may work for other operations but isn't guaranteed.
{{% /alert-note %}}
{{% /alert-note %}}

The `uds logs` command can be used to view the most recent logs of a bundle operation. Note that depending on your OS temporary directory and file settings, recent logs are purged after a certain amount of time, so this command may return an error if the logs are no longer available.

Expand All @@ -139,9 +139,9 @@ UDS CLI supports multi-arch bundles. This means you can push bundles with differ
### Architecture Validation
When deploying a local bundle, the bundle's architecture will be used for comparison against the cluster architecture to ensure compatability. If deploying a remote bundle, by default the bundle is pulled based on system architecture, which is then checked against the cluster.

{{% alert-note %}}
{{% alert-note %}}
It is possible to override the bundle architecture used at validation time by using the `--architecture` / `-a` flag.
{{% /alert-note %}}
{{% /alert-note %}}

If, for example, you have a multi-arch remote bundle that you want to deploy from an arm64 machine to an amd64 cluster, the validation with fail because the system arch does not match the cluster arch. However, you can pull the correct bundle version by specificying the arch with the command line architecture flag.

Expand Down Expand Up @@ -265,9 +265,9 @@ The naming conventions for deploying duplicate packages are as follows:
2. The duplicate packages must be deployed in different namespaces
3. In order to deploy duplicates of local packages, the `path` field must point to a Zarf package tarball instead of to a folder.

{{% alert-note %}}
{{% alert-note %}}
Today the duplicate packages feature is only supported for packages with Helm charts. This is because Helm charts' [namespaces can be overridden](https://github.com/defenseunicorns/uds-cli/blob/main/docs/overrides.md) at deploy time.
{{% /alert-note %}}
{{% /alert-note %}}

## Zarf Integration
UDS CLI includes a vendored version of Zarf inside of its binary. To use Zarf, simply run `uds zarf <command>`. For example, to create a Zarf package, run `uds zarf create <dir>`, or to use the [airgap tooling](https://docs.zarf.dev/docs/the-zarf-cli/cli-commands/zarf_tools) that Zarf provides, run `uds zarf tools <cmd>`.
Expand All @@ -276,7 +276,7 @@ UDS CLI includes a vendored version of Zarf inside of its binary. To use Zarf, s

{{% alert-caution %}}
Dev mode is a BETA feature
{{% /alert-caution %}}
{{% /alert-caution %}}

Dev mode facilitates faster dev cycles when developing and testing bundles

Expand All @@ -295,10 +295,10 @@ The `dev deploy` command performs the following operations

## Scan

{{% alert-caution %}}
{{% alert-caution %}}
Scan is an ALPHA feature.
Trivy is a prerequisite for scanning container images and filesystem for vulnerabilities. You can find more information and installation instructions at [Trivy's official documentation](https://aquasecurity.github.io/trivy).
{{% /alert-caution %}}
{{% /alert-caution %}}


The `scan` command is used to scan a Zarf package for vulnerabilities and generate a report. This command is currently in ALPHA.
Expand Down

0 comments on commit 91cb9cd

Please sign in to comment.