1. Packages
  2. ArgoCD
  3. API Docs
  4. Provider
Argo CD v1.0.1 published on Friday, Feb 21, 2025 by Three141

argocd.Provider

Explore with Pulumi AI

The provider type for the argocd package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

Create Provider Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
             args: Optional[ProviderArgs] = None,
             opts: Optional[ResourceOptions] = None)

@overload
def Provider(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             auth_token: Optional[str] = None,
             cert_file: Optional[str] = None,
             client_cert_file: Optional[str] = None,
             client_cert_key: Optional[str] = None,
             config_path: Optional[str] = None,
             context: Optional[str] = None,
             core: Optional[bool] = None,
             grpc_web: Optional[bool] = None,
             grpc_web_root_path: Optional[str] = None,
             headers: Optional[Sequence[str]] = None,
             insecure: Optional[bool] = None,
             kubernetes: Optional[ProviderKubernetesArgs] = None,
             password: Optional[str] = None,
             plain_text: Optional[bool] = None,
             port_forward: Optional[bool] = None,
             port_forward_with_namespace: Optional[str] = None,
             server_addr: Optional[str] = None,
             use_local_config: Optional[bool] = None,
             user_agent: Optional[str] = None,
             username: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:argocd
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProviderArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Provider Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Provider resource accepts the following input properties:

AuthToken string
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
CertFile string
Additional root CA certificates file to add to the client TLS connection pool.
ClientCertFile string
Client certificate.
ClientCertKey string
Client certificate key.
ConfigPath string
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
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.
Core bool
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.
GrpcWeb bool
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
GrpcWebRootPath 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.
Headers List<string>
Additional headers to add to each request to the ArgoCD server.
Insecure bool
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
Kubernetes Three14.Argocd.Inputs.ProviderKubernetes
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
Password string
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
PlainText bool
Whether to initiate an unencrypted connection to ArgoCD server.
PortForward bool
Connect to a random argocd-server port using port forwarding.
PortForwardWithNamespace string
Namespace name which should be used for port forwarding.
ServerAddr string
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
UseLocalConfig bool
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.
UserAgent string
User-Agent request header override.
Username string
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.
AuthToken string
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
CertFile string
Additional root CA certificates file to add to the client TLS connection pool.
ClientCertFile string
Client certificate.
ClientCertKey string
Client certificate key.
ConfigPath string
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
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.
Core bool
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.
GrpcWeb bool
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
GrpcWebRootPath 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.
Headers []string
Additional headers to add to each request to the ArgoCD server.
Insecure bool
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
Kubernetes ProviderKubernetesArgs
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
Password string
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
PlainText bool
Whether to initiate an unencrypted connection to ArgoCD server.
PortForward bool
Connect to a random argocd-server port using port forwarding.
PortForwardWithNamespace string
Namespace name which should be used for port forwarding.
ServerAddr string
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
UseLocalConfig bool
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.
UserAgent string
User-Agent request header override.
Username string
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.
authToken String
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
certFile String
Additional root CA certificates file to add to the client TLS connection pool.
clientCertFile String
Client certificate.
clientCertKey String
Client certificate key.
configPath String
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
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.
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.
grpcWeb Boolean
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
grpcWebRootPath 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.
headers List<String>
Additional headers to add to each request to the ArgoCD server.
insecure Boolean
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
kubernetes ProviderKubernetes
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
password String
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
plainText Boolean
Whether to initiate an unencrypted connection to ArgoCD server.
portForward Boolean
Connect to a random argocd-server port using port forwarding.
portForwardWithNamespace String
Namespace name which should be used for port forwarding.
serverAddr String
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
useLocalConfig 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.
userAgent String
User-Agent request header override.
username String
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.
authToken string
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
certFile string
Additional root CA certificates file to add to the client TLS connection pool.
clientCertFile string
Client certificate.
clientCertKey string
Client certificate key.
configPath string
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
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.
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.
grpcWeb boolean
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
grpcWebRootPath 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.
headers string[]
Additional headers to add to each request to the ArgoCD server.
insecure boolean
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
kubernetes ProviderKubernetes
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
password string
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
plainText boolean
Whether to initiate an unencrypted connection to ArgoCD server.
portForward boolean
Connect to a random argocd-server port using port forwarding.
portForwardWithNamespace string
Namespace name which should be used for port forwarding.
serverAddr string
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
useLocalConfig 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.
userAgent string
User-Agent request header override.
username string
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.
auth_token str
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
cert_file str
Additional root CA certificates file to add to the client TLS connection pool.
client_cert_file str
Client certificate.
client_cert_key str
Client certificate key.
config_path str
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
context str
Context to choose when using a local ArgoCD config file. Only relevant when use_local_config. Can be set through ARGOCD_CONTEXT environment variable.
core bool
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.
grpc_web bool
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
grpc_web_root_path str
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.
headers Sequence[str]
Additional headers to add to each request to the ArgoCD server.
insecure bool
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
kubernetes ProviderKubernetesArgs
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
password str
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
plain_text bool
Whether to initiate an unencrypted connection to ArgoCD server.
port_forward bool
Connect to a random argocd-server port using port forwarding.
port_forward_with_namespace str
Namespace name which should be used for port forwarding.
server_addr str
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
use_local_config bool
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.
user_agent str
User-Agent request header override.
username str
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.
authToken String
ArgoCD authentication token, takes precedence over username/password. Can be set through the ARGOCD_AUTH_TOKEN environment variable.
certFile String
Additional root CA certificates file to add to the client TLS connection pool.
clientCertFile String
Client certificate.
clientCertKey String
Client certificate key.
configPath String
Override the default config path of $HOME/.config/argocd/config. Only relevant when use_local_config. Can be set through the ARGOCD_CONFIG_PATH environment variable.
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.
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.
grpcWeb Boolean
Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
grpcWebRootPath 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.
headers List<String>
Additional headers to add to each request to the ArgoCD server.
insecure Boolean
Whether to skip TLS server certificate. Can be set through the ARGOCD_INSECURE environment variable.
kubernetes Property Map
Kubernetes configuration overrides. Only relevant when port_forward = true or port_forward_with_namespace = "foo". The kubeconfig file that is used can be overridden using the KUBECONFIG environment variable).
password String
Authentication password. Can be set through the ARGOCD_AUTH_PASSWORD environment variable.
plainText Boolean
Whether to initiate an unencrypted connection to ArgoCD server.
portForward Boolean
Connect to a random argocd-server port using port forwarding.
portForwardWithNamespace String
Namespace name which should be used for port forwarding.
serverAddr String
ArgoCD server address with port. Can be set through the ARGOCD_SERVER environment variable.
useLocalConfig 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.
userAgent String
User-Agent request header override.
username String
Authentication username. Can be set through the ARGOCD_AUTH_USERNAME environment variable.

Outputs

All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

ProviderKubernetes
, ProviderKubernetesArgs

ClientCertificate string
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
ClientKey string
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
ClusterCaCertificate string
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
ConfigContext string
Context to choose from the config file. Can be sourced from KUBE_CTX.
ConfigContextAuthInfo string
ConfigContextCluster string
Exec Three14.Argocd.Inputs.ProviderKubernetesExec
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
Host string
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
Insecure bool
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
Password string
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
Token string
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
Username string
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.
ClientCertificate string
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
ClientKey string
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
ClusterCaCertificate string
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
ConfigContext string
Context to choose from the config file. Can be sourced from KUBE_CTX.
ConfigContextAuthInfo string
ConfigContextCluster string
Exec ProviderKubernetesExec
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
Host string
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
Insecure bool
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
Password string
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
Token string
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
Username string
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.
clientCertificate String
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
clientKey String
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
clusterCaCertificate String
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
configContext String
Context to choose from the config file. Can be sourced from KUBE_CTX.
configContextAuthInfo String
configContextCluster String
exec ProviderKubernetesExec
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
host String
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
insecure Boolean
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
password String
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
token String
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
username String
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.
clientCertificate string
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
clientKey string
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
clusterCaCertificate string
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
configContext string
Context to choose from the config file. Can be sourced from KUBE_CTX.
configContextAuthInfo string
configContextCluster string
exec ProviderKubernetesExec
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
host string
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
insecure boolean
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
password string
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
token string
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
username string
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.
client_certificate str
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
client_key str
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
cluster_ca_certificate str
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
config_context str
Context to choose from the config file. Can be sourced from KUBE_CTX.
config_context_auth_info str
config_context_cluster str
exec_ ProviderKubernetesExec
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
host str
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
insecure bool
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
password str
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
token str
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
username str
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.
clientCertificate String
PEM-encoded client certificate for TLS authentication. Can be sourced from KUBE_CLIENT_CERT_DATA.
clientKey String
PEM-encoded client certificate key for TLS authentication. Can be sourced from KUBE_CLIENT_KEY_DATA.
clusterCaCertificate String
PEM-encoded root certificates bundle for TLS authentication. Can be sourced from KUBE_CLUSTER_CA_CERT_DATA.
configContext String
Context to choose from the config file. Can be sourced from KUBE_CTX.
configContextAuthInfo String
configContextCluster String
exec Property Map
Configuration block to use an exec-based credential plugin, e.g. call an external command to receive user credentials.
host String
The hostname (in form of URI) of the Kubernetes API. Can be sourced from KUBE_HOST.
insecure Boolean
Whether server should be accessed without verifying the TLS certificate. Can be sourced from KUBE_INSECURE.
password String
The password to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_PASSWORD.
token String
Token to authenticate an service account. Can be sourced from KUBE_TOKEN.
username String
The username to use for HTTP basic authentication when accessing the Kubernetes API. Can be sourced from KUBE_USER.

ProviderKubernetesExec
, ProviderKubernetesExecArgs

ApiVersion This property is required. string
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
Command This property is required. string
Command to execute.
Args List<string>
Map of environment variables to set when executing the plugin.
Env Dictionary<string, string>
List of arguments to pass when executing the plugin.
ApiVersion This property is required. string
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
Command This property is required. string
Command to execute.
Args []string
Map of environment variables to set when executing the plugin.
Env map[string]string
List of arguments to pass when executing the plugin.
apiVersion This property is required. String
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
command This property is required. String
Command to execute.
args List<String>
Map of environment variables to set when executing the plugin.
env Map<String,String>
List of arguments to pass when executing the plugin.
apiVersion This property is required. string
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
command This property is required. string
Command to execute.
args string[]
Map of environment variables to set when executing the plugin.
env {[key: string]: string}
List of arguments to pass when executing the plugin.
api_version This property is required. str
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
command This property is required. str
Command to execute.
args Sequence[str]
Map of environment variables to set when executing the plugin.
env Mapping[str, str]
List of arguments to pass when executing the plugin.
apiVersion This property is required. String
API version to use when decoding the ExecCredentials resource, e.g. client.authentication.k8s.io/v1beta1.
command This property is required. String
Command to execute.
args List<String>
Map of environment variables to set when executing the plugin.
env Map<String>
List of arguments to pass when executing the plugin.

Package Details

Repository
argocd Three141/pulumi-argocd
License
Apache-2.0
Notes
This Pulumi package is based on the argocd Terraform Provider.