argocd.Repository
Explore with Pulumi AI
Manages repositories within ArgoCD.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as argocd from "@three14/pulumi-argocd";
// Public Helm repository
const publicNginxHelm = new argocd.Repository("public_nginx_helm", {
repo: "https://helm.nginx.com/stable",
name: "nginx-stable",
type: "helm",
});
// Public Git repository
const publicGit = new argocd.Repository("public_git", {repo: "git@github.com:user/somerepo.git"});
// Private Git repository
const _private = new argocd.Repository("private", {
repo: "git@private-git-repository.local:somerepo.git",
username: "git",
sshPrivateKey: `-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----`,
insecure: true,
});
import pulumi
import pulumi_argocd as argocd
# Public Helm repository
public_nginx_helm = argocd.Repository("public_nginx_helm",
repo="https://helm.nginx.com/stable",
name="nginx-stable",
type="helm")
# Public Git repository
public_git = argocd.Repository("public_git", repo="git@github.com:user/somerepo.git")
# Private Git repository
private = argocd.Repository("private",
repo="git@private-git-repository.local:somerepo.git",
username="git",
ssh_private_key="""-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----""",
insecure=True)
package main
import (
"github.com/Three141/pulumi-argocd/sdk/go/argocd"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Public Helm repository
_, err := argocd.NewRepository(ctx, "public_nginx_helm", &argocd.RepositoryArgs{
Repo: pulumi.String("https://helm.nginx.com/stable"),
Name: pulumi.String("nginx-stable"),
Type: pulumi.String("helm"),
})
if err != nil {
return err
}
// Public Git repository
_, err = argocd.NewRepository(ctx, "public_git", &argocd.RepositoryArgs{
Repo: pulumi.String("git@github.com:user/somerepo.git"),
})
if err != nil {
return err
}
// Private Git repository
_, err = argocd.NewRepository(ctx, "private", &argocd.RepositoryArgs{
Repo: pulumi.String("git@private-git-repository.local:somerepo.git"),
Username: pulumi.String("git"),
SshPrivateKey: pulumi.String("-----BEGIN OPENSSH PRIVATE KEY-----\nfoo\nbar\n-----END OPENSSH PRIVATE KEY-----"),
Insecure: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Argocd = Three14.Argocd;
return await Deployment.RunAsync(() =>
{
// Public Helm repository
var publicNginxHelm = new Argocd.Repository("public_nginx_helm", new()
{
Repo = "https://helm.nginx.com/stable",
Name = "nginx-stable",
Type = "helm",
});
// Public Git repository
var publicGit = new Argocd.Repository("public_git", new()
{
Repo = "git@github.com:user/somerepo.git",
});
// Private Git repository
var @private = new Argocd.Repository("private", new()
{
Repo = "git@private-git-repository.local:somerepo.git",
Username = "git",
SshPrivateKey = @"-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----",
Insecure = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.argocd.Repository;
import com.pulumi.argocd.RepositoryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Public Helm repository
var publicNginxHelm = new Repository("publicNginxHelm", RepositoryArgs.builder()
.repo("https://helm.nginx.com/stable")
.name("nginx-stable")
.type("helm")
.build());
// Public Git repository
var publicGit = new Repository("publicGit", RepositoryArgs.builder()
.repo("git@github.com:user/somerepo.git")
.build());
// Private Git repository
var private_ = new Repository("private", RepositoryArgs.builder()
.repo("git@private-git-repository.local:somerepo.git")
.username("git")
.sshPrivateKey("""
-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY----- """)
.insecure(true)
.build());
}
}
resources:
# Public Helm repository
publicNginxHelm:
type: argocd:Repository
name: public_nginx_helm
properties:
repo: https://helm.nginx.com/stable
name: nginx-stable
type: helm
# Public Git repository
publicGit:
type: argocd:Repository
name: public_git
properties:
repo: git@github.com:user/somerepo.git
# Private Git repository
private:
type: argocd:Repository
properties:
repo: git@private-git-repository.local:somerepo.git
username: git
sshPrivateKey: |-
-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----
insecure: true
Create Repository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
args: RepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Repository(resource_name: str,
opts: Optional[ResourceOptions] = None,
repo: Optional[str] = None,
password: Optional[str] = None,
project: Optional[str] = None,
githubapp_id: Optional[str] = None,
githubapp_installation_id: Optional[str] = None,
githubapp_private_key: Optional[str] = None,
insecure: Optional[bool] = None,
githubapp_enterprise_base_url: Optional[str] = None,
enable_lfs: Optional[bool] = None,
name: Optional[str] = None,
enable_oci: Optional[bool] = None,
ssh_private_key: Optional[str] = None,
tls_client_cert_data: Optional[str] = None,
tls_client_cert_key: Optional[str] = None,
type: Optional[str] = None,
username: Optional[str] = None)
func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: argocd:Repository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var repositoryResource = new Argocd.Repository("repositoryResource", new()
{
Repo = "string",
Password = "string",
Project = "string",
GithubappId = "string",
GithubappInstallationId = "string",
GithubappPrivateKey = "string",
Insecure = false,
GithubappEnterpriseBaseUrl = "string",
EnableLfs = false,
Name = "string",
EnableOci = false,
SshPrivateKey = "string",
TlsClientCertData = "string",
TlsClientCertKey = "string",
Type = "string",
Username = "string",
});
example, err := argocd.NewRepository(ctx, "repositoryResource", &argocd.RepositoryArgs{
Repo: pulumi.String("string"),
Password: pulumi.String("string"),
Project: pulumi.String("string"),
GithubappId: pulumi.String("string"),
GithubappInstallationId: pulumi.String("string"),
GithubappPrivateKey: pulumi.String("string"),
Insecure: pulumi.Bool(false),
GithubappEnterpriseBaseUrl: pulumi.String("string"),
EnableLfs: pulumi.Bool(false),
Name: pulumi.String("string"),
EnableOci: pulumi.Bool(false),
SshPrivateKey: pulumi.String("string"),
TlsClientCertData: pulumi.String("string"),
TlsClientCertKey: pulumi.String("string"),
Type: pulumi.String("string"),
Username: pulumi.String("string"),
})
var repositoryResource = new Repository("repositoryResource", RepositoryArgs.builder()
.repo("string")
.password("string")
.project("string")
.githubappId("string")
.githubappInstallationId("string")
.githubappPrivateKey("string")
.insecure(false)
.githubappEnterpriseBaseUrl("string")
.enableLfs(false)
.name("string")
.enableOci(false)
.sshPrivateKey("string")
.tlsClientCertData("string")
.tlsClientCertKey("string")
.type("string")
.username("string")
.build());
repository_resource = argocd.Repository("repositoryResource",
repo="string",
password="string",
project="string",
githubapp_id="string",
githubapp_installation_id="string",
githubapp_private_key="string",
insecure=False,
githubapp_enterprise_base_url="string",
enable_lfs=False,
name="string",
enable_oci=False,
ssh_private_key="string",
tls_client_cert_data="string",
tls_client_cert_key="string",
type="string",
username="string")
const repositoryResource = new argocd.Repository("repositoryResource", {
repo: "string",
password: "string",
project: "string",
githubappId: "string",
githubappInstallationId: "string",
githubappPrivateKey: "string",
insecure: false,
githubappEnterpriseBaseUrl: "string",
enableLfs: false,
name: "string",
enableOci: false,
sshPrivateKey: "string",
tlsClientCertData: "string",
tlsClientCertKey: "string",
type: "string",
username: "string",
});
type: argocd:Repository
properties:
enableLfs: false
enableOci: false
githubappEnterpriseBaseUrl: string
githubappId: string
githubappInstallationId: string
githubappPrivateKey: string
insecure: false
name: string
password: string
project: string
repo: string
sshPrivateKey: string
tlsClientCertData: string
tlsClientCertKey: string
type: string
username: string
Repository 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 Repository resource accepts the following input properties:
- Repo string
- URL of the repository.
- Enable
Lfs bool - Whether
git-lfs
support should be enabled for this repository. - Enable
Oci bool - Whether
helm-oci
support should be enabled for this repository. - Githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- Githubapp
Id string - ID of the GitHub app used to access the repo.
- Githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- Githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- Tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- Tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - Username string
- Username used for authenticating at the remote repository.
- Repo string
- URL of the repository.
- Enable
Lfs bool - Whether
git-lfs
support should be enabled for this repository. - Enable
Oci bool - Whether
helm-oci
support should be enabled for this repository. - Githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- Githubapp
Id string - ID of the GitHub app used to access the repo.
- Githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- Githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- Tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- Tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - Username string
- Username used for authenticating at the remote repository.
- repo String
- URL of the repository.
- enable
Lfs Boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci Boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise StringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id String - ID of the GitHub app used to access the repo.
- githubapp
Installation StringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private StringKey - Private key data (PEM) for authentication via GitHub app.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- ssh
Private StringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client StringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client StringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username String
- Username used for authenticating at the remote repository.
- repo string
- URL of the repository.
- enable
Lfs boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id string - ID of the GitHub app used to access the repo.
- githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- insecure boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name string
- Name to be used for this repo. Only used with Helm repos.
- password string
- Password or PAT used for authenticating at the remote repository.
- project string
- The project name, in case the repository is project scoped.
- ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username string
- Username used for authenticating at the remote repository.
- repo str
- URL of the repository.
- enable_
lfs bool - Whether
git-lfs
support should be enabled for this repository. - enable_
oci bool - Whether
helm-oci
support should be enabled for this repository. - githubapp_
enterprise_ strbase_ url - GitHub API URL for GitHub app authentication.
- githubapp_
id str - ID of the GitHub app used to access the repo.
- githubapp_
installation_ strid - The installation ID of the GitHub App used to access the repo.
- githubapp_
private_ strkey - Private key data (PEM) for authentication via GitHub app.
- insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name str
- Name to be used for this repo. Only used with Helm repos.
- password str
- Password or PAT used for authenticating at the remote repository.
- project str
- The project name, in case the repository is project scoped.
- ssh_
private_ strkey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls_
client_ strcert_ data - TLS client certificate in PEM format for authenticating at the repo server.
- tls_
client_ strcert_ key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type str
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username str
- Username used for authenticating at the remote repository.
- repo String
- URL of the repository.
- enable
Lfs Boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci Boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise StringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id String - ID of the GitHub app used to access the repo.
- githubapp
Installation StringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private StringKey - Private key data (PEM) for authentication via GitHub app.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- ssh
Private StringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client StringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client StringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username String
- Username used for authenticating at the remote repository.
Outputs
All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:
- Connection
State stringStatus - Contains information about the current state of connection to the repository server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited
Creds bool - Whether credentials were inherited from a credential set.
- Connection
State stringStatus - Contains information about the current state of connection to the repository server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited
Creds bool - Whether credentials were inherited from a credential set.
- connection
State StringStatus - Contains information about the current state of connection to the repository server.
- id String
- The provider-assigned unique ID for this managed resource.
- inherited
Creds Boolean - Whether credentials were inherited from a credential set.
- connection
State stringStatus - Contains information about the current state of connection to the repository server.
- id string
- The provider-assigned unique ID for this managed resource.
- inherited
Creds boolean - Whether credentials were inherited from a credential set.
- connection_
state_ strstatus - Contains information about the current state of connection to the repository server.
- id str
- The provider-assigned unique ID for this managed resource.
- inherited_
creds bool - Whether credentials were inherited from a credential set.
- connection
State StringStatus - Contains information about the current state of connection to the repository server.
- id String
- The provider-assigned unique ID for this managed resource.
- inherited
Creds Boolean - Whether credentials were inherited from a credential set.
Look up Existing Repository Resource
Get an existing Repository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RepositoryState, opts?: CustomResourceOptions): Repository
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_state_status: Optional[str] = None,
enable_lfs: Optional[bool] = None,
enable_oci: Optional[bool] = None,
githubapp_enterprise_base_url: Optional[str] = None,
githubapp_id: Optional[str] = None,
githubapp_installation_id: Optional[str] = None,
githubapp_private_key: Optional[str] = None,
inherited_creds: Optional[bool] = None,
insecure: Optional[bool] = None,
name: Optional[str] = None,
password: Optional[str] = None,
project: Optional[str] = None,
repo: Optional[str] = None,
ssh_private_key: Optional[str] = None,
tls_client_cert_data: Optional[str] = None,
tls_client_cert_key: Optional[str] = None,
type: Optional[str] = None,
username: Optional[str] = None) -> Repository
func GetRepository(ctx *Context, name string, id IDInput, state *RepositoryState, opts ...ResourceOption) (*Repository, error)
public static Repository Get(string name, Input<string> id, RepositoryState? state, CustomResourceOptions? opts = null)
public static Repository get(String name, Output<String> id, RepositoryState state, CustomResourceOptions options)
resources: _: type: argocd:Repository get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Connection
State stringStatus - Contains information about the current state of connection to the repository server.
- Enable
Lfs bool - Whether
git-lfs
support should be enabled for this repository. - Enable
Oci bool - Whether
helm-oci
support should be enabled for this repository. - Githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- Githubapp
Id string - ID of the GitHub app used to access the repo.
- Githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- Githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- Inherited
Creds bool - Whether credentials were inherited from a credential set.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Repo string
- URL of the repository.
- Ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- Tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- Tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - Username string
- Username used for authenticating at the remote repository.
- Connection
State stringStatus - Contains information about the current state of connection to the repository server.
- Enable
Lfs bool - Whether
git-lfs
support should be enabled for this repository. - Enable
Oci bool - Whether
helm-oci
support should be enabled for this repository. - Githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- Githubapp
Id string - ID of the GitHub app used to access the repo.
- Githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- Githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- Inherited
Creds bool - Whether credentials were inherited from a credential set.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Repo string
- URL of the repository.
- Ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- Tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- Tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - Username string
- Username used for authenticating at the remote repository.
- connection
State StringStatus - Contains information about the current state of connection to the repository server.
- enable
Lfs Boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci Boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise StringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id String - ID of the GitHub app used to access the repo.
- githubapp
Installation StringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private StringKey - Private key data (PEM) for authentication via GitHub app.
- inherited
Creds Boolean - Whether credentials were inherited from a credential set.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- repo String
- URL of the repository.
- ssh
Private StringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client StringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client StringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username String
- Username used for authenticating at the remote repository.
- connection
State stringStatus - Contains information about the current state of connection to the repository server.
- enable
Lfs boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise stringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id string - ID of the GitHub app used to access the repo.
- githubapp
Installation stringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private stringKey - Private key data (PEM) for authentication via GitHub app.
- inherited
Creds boolean - Whether credentials were inherited from a credential set.
- insecure boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name string
- Name to be used for this repo. Only used with Helm repos.
- password string
- Password or PAT used for authenticating at the remote repository.
- project string
- The project name, in case the repository is project scoped.
- repo string
- URL of the repository.
- ssh
Private stringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client stringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client stringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type string
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username string
- Username used for authenticating at the remote repository.
- connection_
state_ strstatus - Contains information about the current state of connection to the repository server.
- enable_
lfs bool - Whether
git-lfs
support should be enabled for this repository. - enable_
oci bool - Whether
helm-oci
support should be enabled for this repository. - githubapp_
enterprise_ strbase_ url - GitHub API URL for GitHub app authentication.
- githubapp_
id str - ID of the GitHub app used to access the repo.
- githubapp_
installation_ strid - The installation ID of the GitHub App used to access the repo.
- githubapp_
private_ strkey - Private key data (PEM) for authentication via GitHub app.
- inherited_
creds bool - Whether credentials were inherited from a credential set.
- insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name str
- Name to be used for this repo. Only used with Helm repos.
- password str
- Password or PAT used for authenticating at the remote repository.
- project str
- The project name, in case the repository is project scoped.
- repo str
- URL of the repository.
- ssh_
private_ strkey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls_
client_ strcert_ data - TLS client certificate in PEM format for authenticating at the repo server.
- tls_
client_ strcert_ key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type str
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username str
- Username used for authenticating at the remote repository.
- connection
State StringStatus - Contains information about the current state of connection to the repository server.
- enable
Lfs Boolean - Whether
git-lfs
support should be enabled for this repository. - enable
Oci Boolean - Whether
helm-oci
support should be enabled for this repository. - githubapp
Enterprise StringBase Url - GitHub API URL for GitHub app authentication.
- githubapp
Id String - ID of the GitHub app used to access the repo.
- githubapp
Installation StringId - The installation ID of the GitHub App used to access the repo.
- githubapp
Private StringKey - Private key data (PEM) for authentication via GitHub app.
- inherited
Creds Boolean - Whether credentials were inherited from a credential set.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- repo String
- URL of the repository.
- ssh
Private StringKey - PEM data for authenticating at the repo server. Only used with Git repos.
- tls
Client StringCert Data - TLS client certificate in PEM format for authenticating at the repo server.
- tls
Client StringCert Key - TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either
git
orhelm
.git
is assumed if empty or absent. - username String
- Username used for authenticating at the remote repository.
Import
Repositories can be imported using the repository URL.
Note: as the ArgoCD API does not return any sensitive information, a
subsequent pulumi up
should be executed to make the password
,
ssh_private_key
and tls_client_cert_key
attributes converge to their
expected values defined within the plan.
Example:
$ pulumi import argocd:index/repository:Repository myrepo git@private-git-repository.local:somerepo.git
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- argocd Three141/pulumi-argocd
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
argocd
Terraform Provider.