-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
weave-gitops-bot
committed
Jul 27, 2022
1 parent
715ccf5
commit d7b8222
Showing
117 changed files
with
11,875 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## gitops beta | ||
|
||
This component contains unstable or still-in-development functionality | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for beta | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable | ||
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | ||
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster. | ||
--namespace string The namespace scope for this operation (default "flux-system") | ||
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable | ||
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [gitops](gitops.md) - Weave GitOps | ||
* [gitops beta run](gitops_beta_run.md) - Set up an interactive sync between your cluster and your local file system | ||
|
||
###### Auto generated by spf13/cobra on 27-Jul-2022 |
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,65 @@ | ||
## gitops beta run | ||
|
||
Set up an interactive sync between your cluster and your local file system | ||
|
||
### Synopsis | ||
|
||
This will set up a sync between the cluster in your kubeconfig and the path that you specify on your local filesystem. If you do not have Flux installed on the cluster then this will add it to the cluster automatically. This is a requirement so we can sync the files successfully from your local system onto the cluster. Flux will take care of producing the objects for you. | ||
|
||
``` | ||
gitops beta run [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Run the sync on the current working directory | ||
gitops beta run . [flags] | ||
# Run the sync against the dev overlay path | ||
gitops beta run ./deploy/overlays/dev | ||
# Run the sync on the dev directory and forward the port. | ||
# Listen on port 8080 on localhost, forwarding to 5000 in a pod of the service app. | ||
gitops beta run ./dev --port-forward port=8080:5000,resource=svc/app | ||
# Run the sync on the dev directory with a specified root dir. | ||
gitops beta run ./clusters/default/dev --root-dir ./clusters/default | ||
# Run the sync on the podinfo demo. | ||
git clone https://github.com/stefanprodan/podinfo | ||
cd podinfo | ||
gitops beta run ./deploy/overlays/dev --timeout 3m --port-forward namespace=dev,resource=svc/backend,port=9898:9898 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--allow-k8s-context string The name of the KubeConfig context to explicitly allow. | ||
--components strings The Flux components to install. (default [source-controller,kustomize-controller,helm-controller,notification-controller]) | ||
--components-extra strings Additional Flux components to install. | ||
--context string The name of the kubeconfig context to use | ||
--dashboard-port string GitOps Dashboard port (default "9001") | ||
--flux-version string The version of Flux to install. (default "0.31.0") | ||
-h, --help help for run | ||
--port-forward string Forward the port from a cluster's resource to your local machine i.e. 'port=8080:8080,resource=svc/app'. | ||
--root-dir string Specify the root directory to watch for changes. If not specified, the root of Git repository will be used. | ||
--timeout duration The timeout for operations during GitOps Run. (default 30s) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable | ||
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | ||
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster. | ||
--namespace string The namespace scope for this operation (default "flux-system") | ||
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable | ||
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [gitops beta](gitops_beta.md) - This component contains unstable or still-in-development functionality | ||
|
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.