forked from argoproj-labs/argocd-autopilot
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
49a317c
commit 59249e3
Showing
5 changed files
with
159 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## project | ||
|
||
Manage projects | ||
|
||
``` | ||
project [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for project | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [project create](project_create.md) - Create a new project | ||
|
||
###### Auto generated by spf13/cobra on 26-Apr-2021 |
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,75 @@ | ||
## project create | ||
|
||
Create a new project | ||
|
||
``` | ||
project create [PROJECT] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# To run this command you need to create a personal access token for your git provider, | ||
# and have a bootstrapped GitOps repository, and provide them using: | ||
export GIT_TOKEN=<token> | ||
export GIT_REPO=<repo_url> | ||
# or with the flags: | ||
--token <token> --repo <repo_url> | ||
# Create a new project | ||
project create <new_project_name> | ||
# Create a new project in a specific path inside the GitOps repo | ||
project create <new_project_name> --installation-path path/to/bootstrap/root | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--auth-token string Authentication token | ||
--aws-cluster-name string AWS Cluster name if set then aws cli eks token command will be used to access cluster | ||
--aws-role-arn string Optional AWS role arn. If set then AWS IAM Authenticator assumes a role to perform cluster operations instead of the default AWS credential provider chain. | ||
--client-crt string Client certificate file | ||
--client-crt-key string Client certificate key file | ||
--config string Path to Argo CD config (default "/home/user/.argocd/config") | ||
--dest-kube-context string The default destination kubernetes context for applications in this project | ||
--dry-run If true, print manifests instead of applying them to the cluster (nothing will be commited to git) | ||
--exec-command string Command to run to provide client credentials to the cluster. You may need to build a custom ArgoCD image to ensure the command is available at runtime. | ||
--exec-command-api-version string Preferred input version of the ExecInfo for the --exec-command executable | ||
--exec-command-args stringArray Arguments to supply to the --exec-command executable | ||
--exec-command-env stringToString Environment vars to set when running the --exec-command executable (default []) | ||
--exec-command-install-hint string Text shown to the user when the --exec-command executable doesn't seem to be present | ||
-t, --git-token string Your git provider api token [GIT_TOKEN] | ||
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. | ||
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root. | ||
-H, --header strings Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers) | ||
-h, --help help for create | ||
--in-cluster Indicates Argo CD resides inside this cluster and should connect using the internal k8s hostname (kubernetes.default.svc) | ||
--insecure Skip server certificate and domain verification | ||
--installation-path string The path where we of the installation files (defaults to the root of the repository [GIT_INSTALLATION_PATH] | ||
--name string Overwrite the cluster name | ||
--plaintext Disable TLS | ||
--port-forward Connect to a random argocd-server port using port forwarding | ||
--port-forward-namespace string Namespace name which should be used for port forwarding | ||
--repo string Repository URL [GIT_REPO] | ||
--revision string Repository branch, tag or commit hash (defaults to HEAD) | ||
--server string Argo CD server address | ||
--server-crt string Server certificate file | ||
--service-account string System namespace service account to use for kubernetes resource management. If not set then default "argocd-manager" SA will be created | ||
--shard int Cluster shard number; inferred from hostname if not set (default -1) | ||
--system-namespace string Use different system namespace (default "kube-system") | ||
--upsert Override an existing cluster with the same name even if the spec differs | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [project](project.md) - Manage projects | ||
|
||
###### Auto generated by spf13/cobra on 26-Apr-2021 |
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