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:
- AgentId string
- Agent identifier of the GitOps repository.
- Identifier string
- Identifier of the GitOps repository.
- Repos
List<GitOps Repository Repo> 
- Repo details holding application configurations.
- AccountId string
- Account identifier of the GitOps repository.
- CredsOnly bool
- Indicates if to operate on credential set instead of repository.
- EcrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- ForceDelete bool
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- GcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- GenType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- OrgId string
- Organization identifier of the GitOps repository.
- ProjectId string
- Project identifier of the GitOps repository.
- RefreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- UpdateMasks 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.
- AgentId string
- Agent identifier of the GitOps repository.
- Identifier string
- Identifier of the GitOps repository.
- Repos
[]GitOps Repository Repo Args 
- Repo details holding application configurations.
- AccountId string
- Account identifier of the GitOps repository.
- CredsOnly bool
- Indicates if to operate on credential set instead of repository.
- EcrGen GitOps Repository Ecr Gen Args 
- ECR access token generator specific configuration.
- ForceDelete bool
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- GcrGen GitOps Repository Gcr Gen Args 
- GCR access token generator specific configuration.
- GenType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- OrgId string
- Organization identifier of the GitOps repository.
- ProjectId string
- Project identifier of the GitOps repository.
- RefreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- UpdateMasks []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.
- agentId String
- Agent identifier of the GitOps repository.
- identifier String
- Identifier of the GitOps repository.
- repos
List<GitOps Repository Repo> 
- Repo details holding application configurations.
- accountId String
- Account identifier of the GitOps repository.
- credsOnly Boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- forceDelete Boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- genType String
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- orgId String
- Organization identifier of the GitOps repository.
- projectId String
- Project identifier of the GitOps repository.
- refreshInterval String
- For OCI repos, this is the interval to refresh the token to access the registry.
- updateMasks 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.
- agentId string
- Agent identifier of the GitOps repository.
- identifier string
- Identifier of the GitOps repository.
- repos
GitOps Repository Repo[] 
- Repo details holding application configurations.
- accountId string
- Account identifier of the GitOps repository.
- credsOnly boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- forceDelete boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- genType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- orgId string
- Organization identifier of the GitOps repository.
- projectId string
- Project identifier of the GitOps repository.
- refreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- updateMasks 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[GitOps 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.
- agentId String
- Agent identifier of the GitOps repository.
- identifier String
- Identifier of the GitOps repository.
- repos List<Property Map>
- Repo details holding application configurations.
- accountId String
- Account identifier of the GitOps repository.
- credsOnly Boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen Property Map
- ECR access token generator specific configuration.
- forceDelete Boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen Property Map
- GCR access token generator specific configuration.
- genType String
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- orgId String
- Organization identifier of the GitOps repository.
- projectId String
- Project identifier of the GitOps repository.
- refreshInterval String
- For OCI repos, this is the interval to refresh the token to access the registry.
- updateMasks 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) -> GitOpsRepositoryfunc 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)resources:  _:    type: harness:platform:GitOpsRepository    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.
- AccountId string
- Account identifier of the GitOps repository.
- AgentId string
- Agent identifier of the GitOps repository.
- CredsOnly bool
- Indicates if to operate on credential set instead of repository.
- EcrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- ForceDelete bool
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- GcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- GenType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Identifier string
- Identifier of the GitOps repository.
- OrgId string
- Organization identifier of the GitOps repository.
- ProjectId string
- Project identifier of the GitOps repository.
- RefreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- Repos
List<GitOps Repository Repo> 
- Repo details holding application configurations.
- UpdateMasks 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.
- AccountId string
- Account identifier of the GitOps repository.
- AgentId string
- Agent identifier of the GitOps repository.
- CredsOnly bool
- Indicates if to operate on credential set instead of repository.
- EcrGen GitOps Repository Ecr Gen Args 
- ECR access token generator specific configuration.
- ForceDelete bool
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- GcrGen GitOps Repository Gcr Gen Args 
- GCR access token generator specific configuration.
- GenType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- Identifier string
- Identifier of the GitOps repository.
- OrgId string
- Organization identifier of the GitOps repository.
- ProjectId string
- Project identifier of the GitOps repository.
- RefreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- Repos
[]GitOps Repository Repo Args 
- Repo details holding application configurations.
- UpdateMasks []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.
- accountId String
- Account identifier of the GitOps repository.
- agentId String
- Agent identifier of the GitOps repository.
- credsOnly Boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- forceDelete Boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- genType String
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier String
- Identifier of the GitOps repository.
- orgId String
- Organization identifier of the GitOps repository.
- projectId String
- Project identifier of the GitOps repository.
- refreshInterval String
- For OCI repos, this is the interval to refresh the token to access the registry.
- repos
List<GitOps Repository Repo> 
- Repo details holding application configurations.
- updateMasks 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.
- accountId string
- Account identifier of the GitOps repository.
- agentId string
- Agent identifier of the GitOps repository.
- credsOnly boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen GitOps Repository Ecr Gen 
- ECR access token generator specific configuration.
- forceDelete boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen GitOps Repository Gcr Gen 
- GCR access token generator specific configuration.
- genType string
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier string
- Identifier of the GitOps repository.
- orgId string
- Organization identifier of the GitOps repository.
- projectId string
- Project identifier of the GitOps repository.
- refreshInterval string
- For OCI repos, this is the interval to refresh the token to access the registry.
- repos
GitOps Repository Repo[] 
- Repo details holding application configurations.
- updateMasks 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[GitOps 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.
- accountId String
- Account identifier of the GitOps repository.
- agentId String
- Agent identifier of the GitOps repository.
- credsOnly Boolean
- Indicates if to operate on credential set instead of repository.
- ecrGen Property Map
- ECR access token generator specific configuration.
- forceDelete Boolean
- Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo.
- gcrGen Property Map
- GCR access token generator specific configuration.
- genType String
- Default: "UNSET" Enum: "UNSET" "AWSECR" "GOOGLEGCR"
- identifier String
- Identifier of the GitOps repository.
- orgId String
- Organization identifier of the GitOps repository.
- projectId String
- Project identifier of the GitOps repository.
- refreshInterval 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.
- updateMasks 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          
- JwtAuth GitOps Repository Ecr Gen Jwt Auth 
- JWT authentication specific configuration.
- Region string
- AWS region.
- SecretRef GitOps Repository Ecr Gen Secret Ref 
- Secret reference to the AWS credentials.
- JwtAuth GitOps Repository Ecr Gen Jwt Auth 
- JWT authentication specific configuration.
- Region string
- AWS region.
- SecretRef GitOps Repository Ecr Gen Secret Ref 
- Secret reference to the AWS credentials.
- jwtAuth GitOps Repository Ecr Gen Jwt Auth 
- JWT authentication specific configuration.
- region String
- AWS region.
- secretRef GitOps Repository Ecr Gen Secret Ref 
- Secret reference to the AWS credentials.
- jwtAuth GitOps Repository Ecr Gen Jwt Auth 
- JWT authentication specific configuration.
- region string
- AWS region.
- secretRef 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.
- jwtAuth Property Map
- JWT authentication specific configuration.
- region String
- AWS region.
- secretRef Property Map
- Secret reference to the AWS credentials.
GitOpsRepositoryEcrGenJwtAuth, GitOpsRepositoryEcrGenJwtAuthArgs              
- Audiences List<string>
- Audience specifies the audclaim 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 audclaim 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 audclaim 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 audclaim 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 audclaim 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 audclaim 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              
- AwsAccess stringKey Id 
- AWS access key id.
- AwsSecret stringAccess Key 
- AWS secret access key.
- AwsSession stringToken 
- AWS session token.
- AwsAccess stringKey Id 
- AWS access key id.
- AwsSecret stringAccess Key 
- AWS secret access key.
- AwsSession stringToken 
- AWS session token.
- awsAccess StringKey Id 
- AWS access key id.
- awsSecret StringAccess Key 
- AWS secret access key.
- awsSession StringToken 
- AWS session token.
- awsAccess stringKey Id 
- AWS access key id.
- awsSecret stringAccess Key 
- AWS secret access key.
- awsSession 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.
- awsAccess StringKey Id 
- AWS access key id.
- awsSecret StringAccess Key 
- AWS secret access key.
- awsSession StringToken 
- AWS session token.
GitOpsRepositoryGcrGen, GitOpsRepositoryGcrGenArgs          
- AccessKey string
- GCP access key.
- ProjectId string
- GCP project id.
- WorkloadIdentity GitOps Repository Gcr Gen Workload Identity 
- GCP workload identity.
- AccessKey string
- GCP access key.
- ProjectId string
- GCP project id.
- WorkloadIdentity GitOps Repository Gcr Gen Workload Identity 
- GCP workload identity.
- accessKey String
- GCP access key.
- projectId String
- GCP project id.
- workloadIdentity GitOps Repository Gcr Gen Workload Identity 
- GCP workload identity.
- accessKey string
- GCP access key.
- projectId string
- GCP project id.
- workloadIdentity 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.
- accessKey String
- GCP access key.
- projectId String
- GCP project id.
- workloadIdentity Property Map
- GCP workload identity.
GitOpsRepositoryGcrGenWorkloadIdentity, GitOpsRepositoryGcrGenWorkloadIdentityArgs              
- ClusterLocation string
- Cluster location.
- ClusterName string
- Cluster name.
- ClusterProject stringId 
- Cluster project id.
- ServiceAccount GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref 
- Service account reference.
- ClusterLocation string
- Cluster location.
- ClusterName string
- Cluster name.
- ClusterProject stringId 
- Cluster project id.
- ServiceAccount GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref 
- Service account reference.
- clusterLocation String
- Cluster location.
- clusterName String
- Cluster name.
- clusterProject StringId 
- Cluster project id.
- serviceAccount GitRef Ops Repository Gcr Gen Workload Identity Service Account Ref 
- Service account reference.
- clusterLocation string
- Cluster location.
- clusterName string
- Cluster name.
- clusterProject stringId 
- Cluster project id.
- serviceAccount 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.
- clusterLocation String
- Cluster location.
- clusterName String
- Cluster name.
- clusterProject StringId 
- Cluster project id.
- serviceAccount Property MapRef 
- Service account reference.
GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef, GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs                    
- Audiences List<string>
- Audience specifies the audclaim 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 audclaim 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 audclaim 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 audclaim 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 audclaim 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 audclaim 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        
- ConnectionType 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.
- EnableLfs bool
- Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- EnableOci bool
- Indicates if helm-oci support must be enabled for this repo.
- GithubApp stringEnterprise Base Url 
- Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- GithubApp stringId 
- Id of the GitHub app used to access the repo.
- GithubApp stringInstallation Id 
- Installation id of the GitHub app used to access the repo.
- GithubApp stringPrivate Key 
- GitHub app private key PEM data.
- InheritedCreds 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.
- InsecureIgnore 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.
- SshPrivate stringKey 
- SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- TlsClient stringCert Data 
- Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- TlsClient 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.
- ConnectionType 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.
- EnableLfs bool
- Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- EnableOci bool
- Indicates if helm-oci support must be enabled for this repo.
- GithubApp stringEnterprise Base Url 
- Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- GithubApp stringId 
- Id of the GitHub app used to access the repo.
- GithubApp stringInstallation Id 
- Installation id of the GitHub app used to access the repo.
- GithubApp stringPrivate Key 
- GitHub app private key PEM data.
- InheritedCreds 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.
- InsecureIgnore 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.
- SshPrivate stringKey 
- SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- TlsClient stringCert Data 
- Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- TlsClient 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.
- connectionType 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.
- enableLfs Boolean
- Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enableOci Boolean
- Indicates if helm-oci support must be enabled for this repo.
- githubApp StringEnterprise Base Url 
- Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- githubApp StringId 
- Id of the GitHub app used to access the repo.
- githubApp StringInstallation Id 
- Installation id of the GitHub app used to access the repo.
- githubApp StringPrivate Key 
- GitHub app private key PEM data.
- inheritedCreds 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.
- insecureIgnore 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.
- sshPrivate StringKey 
- SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tlsClient StringCert Data 
- Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tlsClient 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.
- connectionType 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.
- enableLfs boolean
- Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enableOci boolean
- Indicates if helm-oci support must be enabled for this repo.
- githubApp stringEnterprise Base Url 
- Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- githubApp stringId 
- Id of the GitHub app used to access the repo.
- githubApp stringInstallation Id 
- Installation id of the GitHub app used to access the repo.
- githubApp stringPrivate Key 
- GitHub app private key PEM data.
- inheritedCreds 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.
- insecureIgnore 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.
- sshPrivate stringKey 
- SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tlsClient stringCert Data 
- Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tlsClient 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.
- connectionType 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.
- enableLfs Boolean
- Indicates if git-lfs support must be enabled for this repo. This is valid only for Git repositories.
- enableOci Boolean
- Indicates if helm-oci support must be enabled for this repo.
- githubApp StringEnterprise Base Url 
- Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
- githubApp StringId 
- Id of the GitHub app used to access the repo.
- githubApp StringInstallation Id 
- Installation id of the GitHub app used to access the repo.
- githubApp StringPrivate Key 
- GitHub app private key PEM data.
- inheritedCreds 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.
- insecureIgnore 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.
- sshPrivate StringKey 
- SSH Key in PEM format for authenticating the repository. Used only for Git repository.
- tlsClient StringCert Data 
- Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
- tlsClient 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 harnessTerraform Provider.
