harness.platform.GitOpsRepository
Explore with Pulumi AI
Resource for managing Harness Gitops Repository.
Create GitOpsRepository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GitOpsRepository(name: string, args: GitOpsRepositoryArgs, opts?: CustomResourceOptions);
@overload
def GitOpsRepository(resource_name: str,
args: GitOpsRepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GitOpsRepository(resource_name: str,
opts: Optional[ResourceOptions] = None,
identifier: Optional[str] = None,
agent_id: Optional[str] = None,
repos: Optional[Sequence[GitOpsRepositoryRepoArgs]] = None,
gen_type: Optional[str] = None,
force_delete: Optional[bool] = None,
gcr_gen: Optional[GitOpsRepositoryGcrGenArgs] = None,
account_id: Optional[str] = None,
ecr_gen: Optional[GitOpsRepositoryEcrGenArgs] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
refresh_interval: Optional[str] = None,
creds_only: Optional[bool] = None,
update_masks: Optional[Sequence[GitOpsRepositoryUpdateMaskArgs]] = None,
upsert: Optional[bool] = None)
func NewGitOpsRepository(ctx *Context, name string, args GitOpsRepositoryArgs, opts ...ResourceOption) (*GitOpsRepository, error)
public GitOpsRepository(string name, GitOpsRepositoryArgs args, CustomResourceOptions? opts = null)
public GitOpsRepository(String name, GitOpsRepositoryArgs args)
public GitOpsRepository(String name, GitOpsRepositoryArgs args, CustomResourceOptions options)
type: harness:platform:GitOpsRepository
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 GitOpsRepositoryArgs
- 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 GitOpsRepositoryArgs
- 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 GitOpsRepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitOpsRepositoryArgs
- 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 gitOpsRepositoryResource = new Harness.Platform.GitOpsRepository("gitOpsRepositoryResource", new()
{
Identifier = "string",
AgentId = "string",
Repos = new[]
{
new Harness.Platform.Inputs.GitOpsRepositoryRepoArgs
{
ConnectionType = "string",
Repo = "string",
Name = "string",
Password = "string",
GithubAppId = "string",
GithubAppInstallationId = "string",
GithubAppPrivateKey = "string",
InheritedCreds = false,
Insecure = false,
InsecureIgnoreHostKey = false,
EnableOci = false,
GithubAppEnterpriseBaseUrl = "string",
Project = "string",
Proxy = "string",
EnableLfs = false,
SshPrivateKey = "string",
TlsClientCertData = "string",
TlsClientCertKey = "string",
Type_ = "string",
Username = "string",
},
},
GenType = "string",
ForceDelete = false,
GcrGen = new Harness.Platform.Inputs.GitOpsRepositoryGcrGenArgs
{
AccessKey = "string",
ProjectId = "string",
WorkloadIdentity = new Harness.Platform.Inputs.GitOpsRepositoryGcrGenWorkloadIdentityArgs
{
ClusterLocation = "string",
ClusterName = "string",
ClusterProjectId = "string",
ServiceAccountRef = new Harness.Platform.Inputs.GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs
{
Audiences = new[]
{
"string",
},
Name = "string",
Namespace = "string",
},
},
},
EcrGen = new Harness.Platform.Inputs.GitOpsRepositoryEcrGenArgs
{
JwtAuth = new Harness.Platform.Inputs.GitOpsRepositoryEcrGenJwtAuthArgs
{
Audiences = new[]
{
"string",
},
Name = "string",
Namespace = "string",
},
Region = "string",
SecretRef = new Harness.Platform.Inputs.GitOpsRepositoryEcrGenSecretRefArgs
{
AwsAccessKeyId = "string",
AwsSecretAccessKey = "string",
AwsSessionToken = "string",
},
},
OrgId = "string",
ProjectId = "string",
RefreshInterval = "string",
CredsOnly = false,
Upsert = false,
});
example, err := platform.NewGitOpsRepository(ctx, "gitOpsRepositoryResource", &platform.GitOpsRepositoryArgs{
Identifier: pulumi.String("string"),
AgentId: pulumi.String("string"),
Repos: platform.GitOpsRepositoryRepoArray{
&platform.GitOpsRepositoryRepoArgs{
ConnectionType: pulumi.String("string"),
Repo: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
GithubAppId: pulumi.String("string"),
GithubAppInstallationId: pulumi.String("string"),
GithubAppPrivateKey: pulumi.String("string"),
InheritedCreds: pulumi.Bool(false),
Insecure: pulumi.Bool(false),
InsecureIgnoreHostKey: pulumi.Bool(false),
EnableOci: pulumi.Bool(false),
GithubAppEnterpriseBaseUrl: pulumi.String("string"),
Project: pulumi.String("string"),
Proxy: pulumi.String("string"),
EnableLfs: pulumi.Bool(false),
SshPrivateKey: pulumi.String("string"),
TlsClientCertData: pulumi.String("string"),
TlsClientCertKey: pulumi.String("string"),
Type_: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
GenType: pulumi.String("string"),
ForceDelete: pulumi.Bool(false),
GcrGen: &platform.GitOpsRepositoryGcrGenArgs{
AccessKey: pulumi.String("string"),
ProjectId: pulumi.String("string"),
WorkloadIdentity: &platform.GitOpsRepositoryGcrGenWorkloadIdentityArgs{
ClusterLocation: pulumi.String("string"),
ClusterName: pulumi.String("string"),
ClusterProjectId: pulumi.String("string"),
ServiceAccountRef: &platform.GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs{
Audiences: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
EcrGen: &platform.GitOpsRepositoryEcrGenArgs{
JwtAuth: &platform.GitOpsRepositoryEcrGenJwtAuthArgs{
Audiences: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
Region: pulumi.String("string"),
SecretRef: &platform.GitOpsRepositoryEcrGenSecretRefArgs{
AwsAccessKeyId: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AwsSessionToken: pulumi.String("string"),
},
},
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
RefreshInterval: pulumi.String("string"),
CredsOnly: pulumi.Bool(false),
Upsert: pulumi.Bool(false),
})
var gitOpsRepositoryResource = new GitOpsRepository("gitOpsRepositoryResource", GitOpsRepositoryArgs.builder()
.identifier("string")
.agentId("string")
.repos(GitOpsRepositoryRepoArgs.builder()
.connectionType("string")
.repo("string")
.name("string")
.password("string")
.githubAppId("string")
.githubAppInstallationId("string")
.githubAppPrivateKey("string")
.inheritedCreds(false)
.insecure(false)
.insecureIgnoreHostKey(false)
.enableOci(false)
.githubAppEnterpriseBaseUrl("string")
.project("string")
.proxy("string")
.enableLfs(false)
.sshPrivateKey("string")
.tlsClientCertData("string")
.tlsClientCertKey("string")
.type_("string")
.username("string")
.build())
.genType("string")
.forceDelete(false)
.gcrGen(GitOpsRepositoryGcrGenArgs.builder()
.accessKey("string")
.projectId("string")
.workloadIdentity(GitOpsRepositoryGcrGenWorkloadIdentityArgs.builder()
.clusterLocation("string")
.clusterName("string")
.clusterProjectId("string")
.serviceAccountRef(GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs.builder()
.audiences("string")
.name("string")
.namespace("string")
.build())
.build())
.build())
.ecrGen(GitOpsRepositoryEcrGenArgs.builder()
.jwtAuth(GitOpsRepositoryEcrGenJwtAuthArgs.builder()
.audiences("string")
.name("string")
.namespace("string")
.build())
.region("string")
.secretRef(GitOpsRepositoryEcrGenSecretRefArgs.builder()
.awsAccessKeyId("string")
.awsSecretAccessKey("string")
.awsSessionToken("string")
.build())
.build())
.orgId("string")
.projectId("string")
.refreshInterval("string")
.credsOnly(false)
.upsert(false)
.build());
git_ops_repository_resource = harness.platform.GitOpsRepository("gitOpsRepositoryResource",
identifier="string",
agent_id="string",
repos=[{
"connection_type": "string",
"repo": "string",
"name": "string",
"password": "string",
"github_app_id": "string",
"github_app_installation_id": "string",
"github_app_private_key": "string",
"inherited_creds": False,
"insecure": False,
"insecure_ignore_host_key": False,
"enable_oci": False,
"github_app_enterprise_base_url": "string",
"project": "string",
"proxy": "string",
"enable_lfs": False,
"ssh_private_key": "string",
"tls_client_cert_data": "string",
"tls_client_cert_key": "string",
"type_": "string",
"username": "string",
}],
gen_type="string",
force_delete=False,
gcr_gen={
"access_key": "string",
"project_id": "string",
"workload_identity": {
"cluster_location": "string",
"cluster_name": "string",
"cluster_project_id": "string",
"service_account_ref": {
"audiences": ["string"],
"name": "string",
"namespace": "string",
},
},
},
ecr_gen={
"jwt_auth": {
"audiences": ["string"],
"name": "string",
"namespace": "string",
},
"region": "string",
"secret_ref": {
"aws_access_key_id": "string",
"aws_secret_access_key": "string",
"aws_session_token": "string",
},
},
org_id="string",
project_id="string",
refresh_interval="string",
creds_only=False,
upsert=False)
const gitOpsRepositoryResource = new harness.platform.GitOpsRepository("gitOpsRepositoryResource", {
identifier: "string",
agentId: "string",
repos: [{
connectionType: "string",
repo: "string",
name: "string",
password: "string",
githubAppId: "string",
githubAppInstallationId: "string",
githubAppPrivateKey: "string",
inheritedCreds: false,
insecure: false,
insecureIgnoreHostKey: false,
enableOci: false,
githubAppEnterpriseBaseUrl: "string",
project: "string",
proxy: "string",
enableLfs: false,
sshPrivateKey: "string",
tlsClientCertData: "string",
tlsClientCertKey: "string",
type_: "string",
username: "string",
}],
genType: "string",
forceDelete: false,
gcrGen: {
accessKey: "string",
projectId: "string",
workloadIdentity: {
clusterLocation: "string",
clusterName: "string",
clusterProjectId: "string",
serviceAccountRef: {
audiences: ["string"],
name: "string",
namespace: "string",
},
},
},
ecrGen: {
jwtAuth: {
audiences: ["string"],
name: "string",
namespace: "string",
},
region: "string",
secretRef: {
awsAccessKeyId: "string",
awsSecretAccessKey: "string",
awsSessionToken: "string",
},
},
orgId: "string",
projectId: "string",
refreshInterval: "string",
credsOnly: false,
upsert: false,
});
type: harness:platform:GitOpsRepository
properties:
agentId: string
credsOnly: false
ecrGen:
jwtAuth:
audiences:
- string
name: string
namespace: string
region: string
secretRef:
awsAccessKeyId: string
awsSecretAccessKey: string
awsSessionToken: string
forceDelete: false
gcrGen:
accessKey: string
projectId: string
workloadIdentity:
clusterLocation: string
clusterName: string
clusterProjectId: string
serviceAccountRef:
audiences:
- string
name: string
namespace: string
genType: string
identifier: string
orgId: string
projectId: string
refreshInterval: string
repos:
- connectionType: string
enableLfs: false
enableOci: false
githubAppEnterpriseBaseUrl: string
githubAppId: string
githubAppInstallationId: string
githubAppPrivateKey: string
inheritedCreds: false
insecure: false
insecureIgnoreHostKey: false
name: string
password: string
project: string
proxy: string
repo: string
sshPrivateKey: string
tlsClientCertData: string
tlsClientCertKey: string
type_: string
username: string
upsert: false
GitOpsRepository 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 GitOpsRepository resource accepts the following input properties:
- Agent
Id string - Agent identifier of the GitOps repository.
- Identifier string
- Identifier of the GitOps repository.
- Repos
List<Git
Ops Repository Repo> - Repo details holding application configurations.
- Account
Id string - Account identifier of the GitOps repository.
- Creds
Only bool - Indicates if to operate on credential set instead of repository.
- Ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- Force
Delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- Gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- Gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Org
Id string - Organization identifier of the GitOps repository.
- Project
Id string - Project identifier of the GitOps repository.
- Refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- Update
Masks List<GitOps Repository Update Mask> - Update mask of the repository.
- Upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- Agent
Id string - Agent identifier of the GitOps repository.
- Identifier string
- Identifier of the GitOps repository.
- Repos
[]Git
Ops Repository Repo Args - Repo details holding application configurations.
- Account
Id string - Account identifier of the GitOps repository.
- Creds
Only bool - Indicates if to operate on credential set instead of repository.
- Ecr
Gen GitOps Repository Ecr Gen Args - ECR access token generator specific configuration.
- Force
Delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- Gcr
Gen GitOps Repository Gcr Gen Args - GCR access token generator specific configuration.
- Gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Org
Id string - Organization identifier of the GitOps repository.
- Project
Id string - Project identifier of the GitOps repository.
- Refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- Update
Masks []GitOps Repository Update Mask Args - Update mask of the repository.
- Upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- agent
Id String - Agent identifier of the GitOps repository.
- identifier String
- Identifier of the GitOps repository.
- repos
List<Git
Ops Repository Repo> - Repo details holding application configurations.
- account
Id String - Account identifier of the GitOps repository.
- creds
Only Boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- force
Delete Boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- gen
Type String - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- org
Id String - Organization identifier of the GitOps repository.
- project
Id String - Project identifier of the GitOps repository.
- refresh
Interval String - For OCI repos, this is the interval to refresh the token to access the registry.
- update
Masks List<GitOps Repository Update Mask> - Update mask of the repository.
- upsert Boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- agent
Id string - Agent identifier of the GitOps repository.
- identifier string
- Identifier of the GitOps repository.
- repos
Git
Ops Repository Repo[] - Repo details holding application configurations.
- account
Id string - Account identifier of the GitOps repository.
- creds
Only boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- force
Delete boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- org
Id string - Organization identifier of the GitOps repository.
- project
Id string - Project identifier of the GitOps repository.
- refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- update
Masks GitOps Repository Update Mask[] - Update mask of the repository.
- upsert boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- agent_
id str - Agent identifier of the GitOps repository.
- identifier str
- Identifier of the GitOps repository.
- repos
Sequence[Git
Ops Repository Repo Args] - Repo details holding application configurations.
- account_
id str - Account identifier of the GitOps repository.
- creds_
only bool - Indicates if to operate on credential set instead of repository.
- ecr_
gen GitOps Repository Ecr Gen Args - ECR access token generator specific configuration.
- force_
delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr_
gen GitOps Repository Gcr Gen Args - GCR access token generator specific configuration.
- gen_
type str - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- org_
id str - Organization identifier of the GitOps repository.
- project_
id str - Project identifier of the GitOps repository.
- refresh_
interval str - For OCI repos, this is the interval to refresh the token to access the registry.
- update_
masks Sequence[GitOps Repository Update Mask Args] - Update mask of the repository.
- upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- agent
Id String - Agent identifier of the GitOps repository.
- identifier String
- Identifier of the GitOps repository.
- repos List<Property Map>
- Repo details holding application configurations.
- account
Id String - Account identifier of the GitOps repository.
- creds
Only Boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen Property Map - ECR access token generator specific configuration.
- force
Delete Boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen Property Map - GCR access token generator specific configuration.
- gen
Type String - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- org
Id String - Organization identifier of the GitOps repository.
- project
Id String - Project identifier of the GitOps repository.
- refresh
Interval String - For OCI repos, this is the interval to refresh the token to access the registry.
- update
Masks List<Property Map> - Update mask of the repository.
- upsert Boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitOpsRepository 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.
Look up Existing GitOpsRepository Resource
Get an existing GitOpsRepository 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?: GitOpsRepositoryState, opts?: CustomResourceOptions): GitOpsRepository
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
agent_id: Optional[str] = None,
creds_only: Optional[bool] = None,
ecr_gen: Optional[GitOpsRepositoryEcrGenArgs] = None,
force_delete: Optional[bool] = None,
gcr_gen: Optional[GitOpsRepositoryGcrGenArgs] = None,
gen_type: Optional[str] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
refresh_interval: Optional[str] = None,
repos: Optional[Sequence[GitOpsRepositoryRepoArgs]] = None,
update_masks: Optional[Sequence[GitOpsRepositoryUpdateMaskArgs]] = None,
upsert: Optional[bool] = None) -> GitOpsRepository
func GetGitOpsRepository(ctx *Context, name string, id IDInput, state *GitOpsRepositoryState, opts ...ResourceOption) (*GitOpsRepository, error)
public static GitOpsRepository Get(string name, Input<string> id, GitOpsRepositoryState? state, CustomResourceOptions? opts = null)
public static GitOpsRepository get(String name, Output<String> id, GitOpsRepositoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Account
Id string - Account identifier of the GitOps repository.
- Agent
Id string - Agent identifier of the GitOps repository.
- Creds
Only bool - Indicates if to operate on credential set instead of repository.
- Ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- Force
Delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- Gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- Gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Identifier string
- Identifier of the GitOps repository.
- Org
Id string - Organization identifier of the GitOps repository.
- Project
Id string - Project identifier of the GitOps repository.
- Refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- Repos
List<Git
Ops Repository Repo> - Repo details holding application configurations.
- Update
Masks List<GitOps Repository Update Mask> - Update mask of the repository.
- Upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- Account
Id string - Account identifier of the GitOps repository.
- Agent
Id string - Agent identifier of the GitOps repository.
- Creds
Only bool - Indicates if to operate on credential set instead of repository.
- Ecr
Gen GitOps Repository Ecr Gen Args - ECR access token generator specific configuration.
- Force
Delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- Gcr
Gen GitOps Repository Gcr Gen Args - GCR access token generator specific configuration.
- Gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Identifier string
- Identifier of the GitOps repository.
- Org
Id string - Organization identifier of the GitOps repository.
- Project
Id string - Project identifier of the GitOps repository.
- Refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- Repos
[]Git
Ops Repository Repo Args - Repo details holding application configurations.
- Update
Masks []GitOps Repository Update Mask Args - Update mask of the repository.
- Upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- account
Id String - Account identifier of the GitOps repository.
- agent
Id String - Agent identifier of the GitOps repository.
- creds
Only Boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- force
Delete Boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- gen
Type String - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier String
- Identifier of the GitOps repository.
- org
Id String - Organization identifier of the GitOps repository.
- project
Id String - Project identifier of the GitOps repository.
- refresh
Interval String - For OCI repos, this is the interval to refresh the token to access the registry.
- repos
List<Git
Ops Repository Repo> - Repo details holding application configurations.
- update
Masks List<GitOps Repository Update Mask> - Update mask of the repository.
- upsert Boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- account
Id string - Account identifier of the GitOps repository.
- agent
Id string - Agent identifier of the GitOps repository.
- creds
Only boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen GitOps Repository Ecr Gen - ECR access token generator specific configuration.
- force
Delete boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen GitOps Repository Gcr Gen - GCR access token generator specific configuration.
- gen
Type string - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier string
- Identifier of the GitOps repository.
- org
Id string - Organization identifier of the GitOps repository.
- project
Id string - Project identifier of the GitOps repository.
- refresh
Interval string - For OCI repos, this is the interval to refresh the token to access the registry.
- repos
Git
Ops Repository Repo[] - Repo details holding application configurations.
- update
Masks GitOps Repository Update Mask[] - Update mask of the repository.
- upsert boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- account_
id str - Account identifier of the GitOps repository.
- agent_
id str - Agent identifier of the GitOps repository.
- creds_
only bool - Indicates if to operate on credential set instead of repository.
- ecr_
gen GitOps Repository Ecr Gen Args - ECR access token generator specific configuration.
- force_
delete bool - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr_
gen GitOps Repository Gcr Gen Args - GCR access token generator specific configuration.
- gen_
type str - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier str
- Identifier of the GitOps repository.
- org_
id str - Organization identifier of the GitOps repository.
- project_
id str - Project identifier of the GitOps repository.
- refresh_
interval str - For OCI repos, this is the interval to refresh the token to access the registry.
- repos
Sequence[Git
Ops Repository Repo Args] - Repo details holding application configurations.
- update_
masks Sequence[GitOps Repository Update Mask Args] - Update mask of the repository.
- upsert bool
- Indicates if the GitOps repository should be updated if existing and inserted if not.
- account
Id String - Account identifier of the GitOps repository.
- agent
Id String - Agent identifier of the GitOps repository.
- creds
Only Boolean - Indicates if to operate on credential set instead of repository.
- ecr
Gen Property Map - ECR access token generator specific configuration.
- force
Delete Boolean - Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcr
Gen Property Map - GCR access token generator specific configuration.
- gen
Type String - Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier String
- Identifier of the GitOps repository.
- org
Id String - Organization identifier of the GitOps repository.
- project
Id String - Project identifier of the GitOps repository.
- refresh
Interval String - For OCI repos, this is the interval to refresh the token to access the registry.
- repos List<Property Map>
- Repo details holding application configurations.
- update
Masks List<Property Map> - Update mask of the repository.
- upsert Boolean
- Indicates if the GitOps repository should be updated if existing and inserted if not.
Supporting Types
GitOpsRepositoryEcrGen, GitOpsRepositoryEcrGenArgs
- Jwt
Auth GitOps Repository Ecr Gen Jwt Auth - JWT authentication specific configuration.
- Region string
- AWS region.
- Secret
Ref GitOps Repository Ecr Gen Secret Ref - Secret reference to the AWS credentials.
- Jwt
Auth GitOps Repository Ecr Gen Jwt Auth - JWT authentication specific configuration.
- Region string
- AWS region.
- Secret
Ref GitOps Repository Ecr Gen Secret Ref - Secret reference to the AWS credentials.
- jwt
Auth GitOps Repository Ecr Gen Jwt Auth - JWT authentication specific configuration.
- region String
- AWS region.
- secret
Ref GitOps Repository Ecr Gen Secret Ref - Secret reference to the AWS credentials.
- jwt
Auth GitOps Repository Ecr Gen Jwt Auth - JWT authentication specific configuration.
- region string
- AWS region.
- secret
Ref GitOps Repository Ecr Gen Secret Ref - Secret reference to the AWS credentials.
- jwt_
auth GitOps Repository Ecr Gen Jwt Auth - JWT authentication specific configuration.
- region str
- AWS region.
- secret_
ref GitOps Repository Ecr Gen Secret Ref - Secret reference to the AWS credentials.
- jwt
Auth Property Map - JWT authentication specific configuration.
- region String
- AWS region.
- secret
Ref Property Map - Secret reference to the AWS credentials.
GitOpsRepositoryEcrGenJwtAuth, GitOpsRepositoryEcrGenJwtAuthArgs
- Audiences List<string>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - Name string
- The name of the ServiceAccount resource being referred to.
- Namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- Audiences []string
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - Name string
- The name of the ServiceAccount resource being referred to.
- Namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences List<String>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name String
- The name of the ServiceAccount resource being referred to.
- namespace String
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences string[]
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name string
- The name of the ServiceAccount resource being referred to.
- namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences Sequence[str]
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name str
- The name of the ServiceAccount resource being referred to.
- namespace str
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences List<String>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name String
- The name of the ServiceAccount resource being referred to.
- namespace String
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
GitOpsRepositoryEcrGenSecretRef, GitOpsRepositoryEcrGenSecretRefArgs
- Aws
Access stringKey Id - AWS access key id.
- Aws
Secret stringAccess Key - AWS secret access key.
- Aws
Session stringToken - AWS session token.
- Aws
Access stringKey Id - AWS access key id.
- Aws
Secret stringAccess Key - AWS secret access key.
- Aws
Session stringToken - AWS session token.
- aws
Access StringKey Id - AWS access key id.
- aws
Secret StringAccess Key - AWS secret access key.
- aws
Session StringToken - AWS session token.
- aws
Access stringKey Id - AWS access key id.
- aws
Secret stringAccess Key - AWS secret access key.
- aws
Session stringToken - AWS session token.
- aws_
access_ strkey_ id - AWS access key id.
- aws_
secret_ straccess_ key - AWS secret access key.
- aws_
session_ strtoken - AWS session token.
- aws
Access StringKey Id - AWS access key id.
- aws
Secret StringAccess Key - AWS secret access key.
- aws
Session StringToken - AWS session token.
GitOpsRepositoryGcrGen, GitOpsRepositoryGcrGenArgs
- Access
Key string - GCP access key.
- Project
Id string - GCP project id.
- Workload
Identity GitOps Repository Gcr Gen Workload Identity - GCP workload identity.
- Access
Key string - GCP access key.
- Project
Id string - GCP project id.
- Workload
Identity GitOps Repository Gcr Gen Workload Identity - GCP workload identity.
- access
Key String - GCP access key.
- project
Id String - GCP project id.
- workload
Identity GitOps Repository Gcr Gen Workload Identity - GCP workload identity.
- access
Key string - GCP access key.
- project
Id string - GCP project id.
- workload
Identity GitOps Repository Gcr Gen Workload Identity - GCP workload identity.
- access_
key str - GCP access key.
- project_
id str - GCP project id.
- workload_
identity GitOps Repository Gcr Gen Workload Identity - GCP workload identity.
- access
Key String - GCP access key.
- project
Id String - GCP project id.
- workload
Identity Property Map - GCP workload identity.
GitOpsRepositoryGcrGenWorkloadIdentity, GitOpsRepositoryGcrGenWorkloadIdentityArgs
- Cluster
Location string - Cluster location.
- Cluster
Name string - Cluster name.
- Cluster
Project stringId - Cluster project id.
- Service
Account GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref - Service account reference.
- Cluster
Location string - Cluster location.
- Cluster
Name string - Cluster name.
- Cluster
Project stringId - Cluster project id.
- Service
Account GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref - Service account reference.
- cluster
Location String - Cluster location.
- cluster
Name String - Cluster name.
- cluster
Project StringId - Cluster project id.
- service
Account GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref - Service account reference.
- cluster
Location string - Cluster location.
- cluster
Name string - Cluster name.
- cluster
Project stringId - Cluster project id.
- service
Account GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref - Service account reference.
- cluster_
location str - Cluster location.
- cluster_
name str - Cluster name.
- cluster_
project_ strid - Cluster project id.
- service_
account_ Gitref Ops Repository Gcr Gen Workload Identity Service Account Ref - Service account reference.
- cluster
Location String - Cluster location.
- cluster
Name String - Cluster name.
- cluster
Project StringId - Cluster project id.
- service
Account Property MapRef - Service account reference.
GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef, GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs
- Audiences List<string>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - Name string
- The name of the ServiceAccount resource being referred to.
- Namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- Audiences []string
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - Name string
- The name of the ServiceAccount resource being referred to.
- Namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences List<String>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name String
- The name of the ServiceAccount resource being referred to.
- namespace String
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences string[]
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name string
- The name of the ServiceAccount resource being referred to.
- namespace string
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences Sequence[str]
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name str
- The name of the ServiceAccount resource being referred to.
- namespace str
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
- audiences List<String>
- Audience specifies the
aud
claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list - name String
- The name of the ServiceAccount resource being referred to.
- namespace String
- Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
GitOpsRepositoryRepo, GitOpsRepositoryRepoArgs
- Connection
Type string - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- Repo string
- URL to the remote repository.
- Enable
Lfs bool - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- Enable
Oci bool - Indicates if helm-oci support must be enabled for this repo.
- Github
App stringEnterprise Base Url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- Github
App stringId - Id of the GitHub app used to access the repo.
- Github
App stringInstallation Id - Installation id of the GitHub app used to access the repo.
- Github
App stringPrivate Key - GitHub app private key PEM data.
- Inherited
Creds bool - Indicates if the credentials were inherited from a repository credential.
- Insecure bool
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Insecure
Ignore boolHost Key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT to be used for authenticating the remote repository.
- Project string
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- Proxy string
- The HTTP/HTTPS proxy used to access the repo.
- Ssh
Private stringKey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- Tls
Client stringCert Data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- Tls
Client stringCert Key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- Type_ string
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- Username string
- Username to be used for authenticating the remote repository.
- Connection
Type string - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- Repo string
- URL to the remote repository.
- Enable
Lfs bool - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- Enable
Oci bool - Indicates if helm-oci support must be enabled for this repo.
- Github
App stringEnterprise Base Url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- Github
App stringId - Id of the GitHub app used to access the repo.
- Github
App stringInstallation Id - Installation id of the GitHub app used to access the repo.
- Github
App stringPrivate Key - GitHub app private key PEM data.
- Inherited
Creds bool - Indicates if the credentials were inherited from a repository credential.
- Insecure bool
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Insecure
Ignore boolHost Key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT to be used for authenticating the remote repository.
- Project string
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- Proxy string
- The HTTP/HTTPS proxy used to access the repo.
- Ssh
Private stringKey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- Tls
Client stringCert Data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- Tls
Client stringCert Key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- Type_ string
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- Username string
- Username to be used for authenticating the remote repository.
- connection
Type String - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- repo String
- URL to the remote repository.
- enable
Lfs Boolean - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enable
Oci Boolean - Indicates if helm-oci support must be enabled for this repo.
- github
App StringEnterprise Base Url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- github
App StringId - Id of the GitHub app used to access the repo.
- github
App StringInstallation Id - Installation id of the GitHub app used to access the repo.
- github
App StringPrivate Key - GitHub app private key PEM data.
- inherited
Creds Boolean - Indicates if the credentials were inherited from a repository credential.
- insecure Boolean
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- insecure
Ignore BooleanHost Key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT to be used for authenticating the remote repository.
- project String
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- proxy String
- The HTTP/HTTPS proxy used to access the repo.
- ssh
Private StringKey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tls
Client StringCert Data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tls
Client StringCert Key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- type_ String
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- username String
- Username to be used for authenticating the remote repository.
- connection
Type string - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- repo string
- URL to the remote repository.
- enable
Lfs boolean - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enable
Oci boolean - Indicates if helm-oci support must be enabled for this repo.
- github
App stringEnterprise Base Url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- github
App stringId - Id of the GitHub app used to access the repo.
- github
App stringInstallation Id - Installation id of the GitHub app used to access the repo.
- github
App stringPrivate Key - GitHub app private key PEM data.
- inherited
Creds boolean - Indicates if the credentials were inherited from a repository credential.
- insecure boolean
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- insecure
Ignore booleanHost Key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- name string
- Name to be used for this repo. Only used with Helm repos.
- password string
- Password or PAT to be used for authenticating the remote repository.
- project string
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- proxy string
- The HTTP/HTTPS proxy used to access the repo.
- ssh
Private stringKey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tls
Client stringCert Data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tls
Client stringCert Key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- type_ string
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- username string
- Username to be used for authenticating the remote repository.
- connection_
type str - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- repo str
- URL to the remote repository.
- enable_
lfs bool - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enable_
oci bool - Indicates if helm-oci support must be enabled for this repo.
- github_
app_ strenterprise_ base_ url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- github_
app_ strid - Id of the GitHub app used to access the repo.
- github_
app_ strinstallation_ id - Installation id of the GitHub app used to access the repo.
- github_
app_ strprivate_ key - GitHub app private key PEM data.
- inherited_
creds bool - Indicates if the credentials were inherited from a repository credential.
- insecure bool
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- insecure_
ignore_ boolhost_ key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- name str
- Name to be used for this repo. Only used with Helm repos.
- password str
- Password or PAT to be used for authenticating the remote repository.
- project str
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- proxy str
- The HTTP/HTTPS proxy used to access the repo.
- ssh_
private_ strkey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tls_
client_ strcert_ data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tls_
client_ strcert_ key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- type_ str
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- username str
- Username to be used for authenticating the remote repository.
- connection
Type String - Identifies the authentication method used to connect to the repository. Possible values: "HTTPS" "SSH" "GITHUB" "HTTPSANONYMOUS", "GITHUBENTERPRISE".
- repo String
- URL to the remote repository.
- enable
Lfs Boolean - Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enable
Oci Boolean - Indicates if helm-oci support must be enabled for this repo.
- github
App StringEnterprise Base Url - Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- github
App StringId - Id of the GitHub app used to access the repo.
- github
App StringInstallation Id - Installation id of the GitHub app used to access the repo.
- github
App StringPrivate Key - GitHub app private key PEM data.
- inherited
Creds Boolean - Indicates if the credentials were inherited from a repository credential.
- insecure Boolean
- Indicates if the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- insecure
Ignore BooleanHost Key - Indicates if InsecureIgnoreHostKey should be used. Insecure is favored used only for git repos. Deprecated.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT to be used for authenticating the remote repository.
- project String
- The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
- proxy String
- The HTTP/HTTPS proxy used to access the repo.
- ssh
Private StringKey - SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tls
Client StringCert Data - Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tls
Client StringCert Key - Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- type_ String
- Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
- username String
- Username to be used for authenticating the remote repository.
GitOpsRepositoryUpdateMask, GitOpsRepositoryUpdateMaskArgs
- Paths List<string>
- The set of field mask paths.
- Paths []string
- The set of field mask paths.
- paths List<String>
- The set of field mask paths.
- paths string[]
- The set of field mask paths.
- paths Sequence[str]
- The set of field mask paths.
- paths List<String>
- The set of field mask paths.
Import
Import an Account level Gitops Repository
$ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example <agent_id>/<respository_id>
Import an Org level Gitops Repository
$ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example <organization_id>/<agent_id>/<respository_id>
Import a Project level Gitops Repository
$ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example <organization_id>/<project_id>/<agent_id>/<respository_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.