-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* run and stop commands End to end deployment and exposure in your cluster * Docs update
- Loading branch information
1 parent
305cd5a
commit 0d2a7c3
Showing
47 changed files
with
876 additions
and
145 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Managing Secrets | ||
|
||
During the `generate` and `apply` processes, you will be prompted to input a password. | ||
This password is used to encrypt your secrets in the secret file, named `%secrets-file%`, located in the `%output-dir%` directory. | ||
This password is used to encrypt your secrets in the state file, named aspirate-state.json | ||
|
||
> **Note** | ||
> | ||
> This password is not stored anywhere, and is only used to encrypt and decrypt the secrets file. | ||
> This password is not stored anywhere, and is only used to encrypt and decrypt the secrets within the state file. | ||
> If you lose this password, you will be unable to access your secrets and will need to use the `generate` command to create a new one. | ||
{style="warning"} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Running Solution Directly | ||
|
||
The run command is used to run the solution directly from the AppHost directory against a cluster within your KUBECONFIG. | ||
|
||
The command will first create the manifest file, however, this can be overridden if you pass in the path | ||
to an existing manifest file using the `--aspire-manifest` or `-m` flag and supplying the path. | ||
|
||
```bash | ||
aspirate run | ||
``` | ||
|
||
```bash | ||
aspirate run -m ./manifest.json | ||
``` | ||
|
||
To clean-up after using the run command, you can use the `Stop` command. | ||
|
||
```bash | ||
aspirate stop | ||
``` | ||
|
||
This deletes anything added to the Namespace within the state file, and removes the namespace. | ||
|
||
## Cli Options (Optional) | ||
|
||
| Option | Alias | Environmental Variable Counterpart | Description | | ||
|-------------------------------|-------|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| --project-path | -p | `ASPIRATE_PROJECT_PATH` | The path to the aspire project. | | ||
| --aspire-manifest | -m | `ASPIRATE_ASPIRE_MANIFEST_PATH` | The aspire manifest file to use | | ||
| --skip-build | | `ASPIRATE_SKIP_BUILD` | Skips build and Push of containers. | | ||
| --namespace | | `ASPIRATE_NAMESPACE` | Generates a Kubernetes Namespace resource, and applies the namespace to all generated resources. Will be used at deployment time. | | ||
| --container-image-tag | -ct | `ASPIRATE_CONTAINER_IMAGE_TAG` | The Container Image Tag to use as the fall-back value for all containers. | | ||
| --container-registry | -cr | `ASPIRATE_CONTAINER_REGISTRY` | The Container Registry to use as the fall-back value for all containers. | | ||
| --container-repository-prefix | | `ASPIRATE_CONTAINER_REPOSITORY_PREFIX` | The Container Repository Prefix to use as the fall-back value for all containers. | | ||
| --container-builder | | `ASPIRATE_CONTAINER_BUILDER` | The Container Builder: can be `docker` or `podman`. The default is `docker`. | | ||
| --image-pull-policy | | `ASPIRATE_IMAGE_PULL_POLICY` | The image pull policy to use for all containers in generated manifests. Can be `Always`, `Never` or `IfNotPresent`. For your local docker desktop cluster - use `IfNotPresent` | | ||
| --disable-secrets | | `ASPIRATE_DISABLE_SECRETS` | Disables secrets management features. | | ||
| --runtime-identifier | | `ASPIRATE_RUNTIME_IDENTIFIER` | Sets the runtime identifier for project builds. Defaults to `linux-x64`. | | ||
| --secret-password | | `ASPIRATE_SECRET_PASSWORD` | If using secrets, or you have a secret file - Specify the password to decrypt them | | ||
| --non-interactive | | `ASPIRATE_NON_INTERACTIVE` | Disables interactive mode for the command | | ||
| --private-registry | | `ASPIRATE_PRIVATE_REGISTRY` | Enables usage of a private registry - which will produce image pull secret. | | ||
| --private-registry-url | | `ASPIRATE_PRIVATE_REGISTRY_URL` | The url for the private registry | | ||
| --private-registry-username | | `ASPIRATE_PRIVATE_REGISTRY_USERNAME` | The username for the private registry. This is required if passing `--private-registry`. | | ||
| --private-registry-password | | `ASPIRATE_PRIVATE_REGISTRY_PASSWORD` | The password for the private registry. This is required if passing `--private-registry`. | | ||
| --private-registry-email | | `ASPIRATE_PRIVATE_REGISTRY_EMAIL` | The email for the private registry. This is purely optional and will default to `[email protected]`. | | ||
| --include-dashboard | | `ASPIRATE_INCLUDE_DASHBOARD` | Boolean flag to specify if the Aspire dashboard should also be included in deployments. | | ||
| --clear-namespace | | `ASPIRATE_ALLOW_CLEAR_NAMESPACE` | Boolean flag to specify the specified namespace should automatically be cleaned during a deployment. | |
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
Oops, something went wrong.