Skip to main content

A Pulumi package for creating and managing Argo CD resources.

Project description

Argo CD Resource Provider

The Argo CD Resource Provider lets you manage Argo CD resources.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @three14/pulumi-argocd

or yarn:

yarn add @three14/pulumi-argocd

Python

To use from Python, install using pip:

pip install pulumi_argocd

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/pulumi/pulumi-argocd/sdk/go/...

.NET

To use from .NET, install using dotnet add package:

dotnet add package Three14.Argocd

Configuration

The following configuration points are available for the argocd provider:

  • argocd:auth_token (String, Sensitive) ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.

  • argocd:cert_file (String) Additional root CA certificates file to add to the client TLS connection pool.

  • argocd:client_cert_file (String) Client certificate.

  • argocd:client_cert_key (String) Client certificate key.

  • argocd:config_path (String) Override the default config path of $HOME/.config/argocd/config. Only relevant when argocd:use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.

  • argocd:context (String) Context to choose when using a local ArgoCD config file. Only relevant when use_local_config. Can be set through ARGOCD_CONTEXT environment variable.

  • argocd:core (Boolean) Configure direct access using Kubernetes API server.

    Warning: this feature works by starting a local ArgoCD API server that talks directly to the Kubernetes API using the current context in the default kubeconfig (~/.kube/config). This behavior cannot be overridden using either environment variables or the kubernetes block in the provider configuration at present).

    If the server fails to start (e.g. your kubeconfig is misconfigured) then the provider will fail as a result of the argocd module forcing it to exit and no logs will be available to help you debug this. The error message will be similar to

    The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.

    To debug this, you will need to login via the ArgoCD CLI using argocd login --core and then running an operation. E.g. argocd app list.

  • argocd:grpc_web (Boolean) Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.

  • argocd:grpc_web_root_path (String) Use the gRPC web proxy client and set the web root, e.g. argo-cd. Useful if the Argo CD server is behind a proxy at a non-root path.

  • argocd:headers (Set of String) Additional headers to add to each request to the ArgoCD server.

  • argocd:insecure (Boolean) Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.

  • argocd:password (String, Sensitive) Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.

  • argocd:plain_text (Boolean) Whether to initiate an unencrypted connection to ArgoCD server.

  • argocd:port_forward (Boolean) Connect to a random argocd-server port using port forwarding.

  • argocd:port_forward_with_namespace (String) Namespace name which should be used for port forwarding.

  • argocd:server_addr (String) ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.

  • argocd:use_local_config (Boolean) Use the authentication settings found in the local config file. Useful when you have previously logged in using SSO. Conflicts with auth_token, username and password.

  • argocd:user_agent (String) User-Agent request header override.

  • argocd:username (String) Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.

Reference

For detailed reference documentation, please visit the Pulumi registry.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_argocd-1.0.0a1739486370.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_argocd-1.0.0a1739486370-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pulumi_argocd-1.0.0a1739486370.tar.gz.

File metadata

File hashes

Hashes for pulumi_argocd-1.0.0a1739486370.tar.gz
Algorithm Hash digest
SHA256 23bd787c0a32f612a86fe5701dd272f422e1721e650bcedcad385b3f0bd9ea5a
MD5 958695d24d37bfa80df46e47095063d4
BLAKE2b-256 8aff0c931bbac7e1b469fe88888617d29913ec527ddd3e1086a8c65653bdc495

See more details on using hashes here.

File details

Details for the file pulumi_argocd-1.0.0a1739486370-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_argocd-1.0.0a1739486370-py3-none-any.whl
Algorithm Hash digest
SHA256 b79556194ed1fc4b9062491ceaf20a2f58308ad5f9d705fdc6dc59ebeefa65b8
MD5 e95d5c27697d619eaaeb098f2effa7c2
BLAKE2b-256 01b0c8cc5b8210ba86629412586f09a41449b0830993c6a162a373faa6f7bb99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page