Difference between revisions of "Argocd"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
<pre>
+
* <code>[[argocd --help]]</code>
argocd
+
* <code>[[argocd login]]</code>
argocd controls a Argo CD server
+
* <code>[[argocd cluster]] add</code>
 +
* <code>[[argocd account list]]</code>
 +
* <code>[[argocd repo]]</code>
  
Usage:
+
Unable to create application: application spec for test is invalid: InvalidSpecError: application repo https://github.com/XXXX/eks-public is not
  argocd [flags]
+
permitted in project 'test';[[InvalidSpecError]]: application destination server 'https://[[kubernetes.default.svc]]' and namespace 'default' do
  argocd [command]
+
not match any of the allowed destinations in project 'test'
  
Available Commands:
+
== Activities ==
  account    Manage account settings
+
* [[Create a New User in ArgoCD using the CLI and ConfigMap]]
  admin      Contains a set of commands useful for Argo CD administrators and requires direct Kubernetes access
+
* Install ArgoCD<code>[[brew install argocd]]</code>
  app        Manage applications
 
  cert        Manage repository certificates and SSH known hosts entries
 
  cluster    Manage cluster credentials
 
  completion  output shell completion code for the specified shell (bash or zsh)
 
  context    Switch between contexts
 
  gpg        Manage GPG keys used for signature verification
 
  help        Help about any command
 
  login      Log in to Argo CD
 
  logout      Log out from Argo CD
 
  proj        Manage projects
 
  relogin    Refresh an expired authenticate token
 
  repo        Manage repository connection parameters
 
  repocreds  Manage repository connection parameters
 
  version    Print version information
 
 
 
Flags:
 
      --auth-token string              Authentication token
 
      --client-crt string              Client certificate file
 
      --client-crt-key string          Client certificate key file
 
      --config string                  Path to Argo CD config (default "/Users/sf/.argocd/config")
 
      --core                            If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
 
      --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 argocd
 
      --http-retry-max int              Maximum number of retries to establish http connection to Argo CD server
 
      --insecure                        Skip server certificate and domain verification
 
      --logformat string                Set the logging format. One of: text|json (default "text")
 
      --loglevel string                Set the logging level. One of: debug|info|warn|error (default "info")
 
      --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
 
      --server string                  Argo CD server address
 
      --server-crt string              Server certificate file
 
 
 
Use "argocd [command] --help" for more information about a command.
 
</pre>
 
  
  

Latest revision as of 08:48, 15 August 2024

Unable to create application: application spec for test is invalid: InvalidSpecError: application repo https://github.com/XXXX/eks-public is not 
permitted in project 'test';InvalidSpecError: application destination server 'https://kubernetes.default.svc' and namespace 'default' do 
not match any of the allowed destinations in project 'test'

Activities[edit]


See also[edit]

Advertising: