1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. GitOpsRepository
Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi

harness.platform.GitOpsRepository

Explore with Pulumi AI

harness logo
Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi

    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,
                         account_id: Optional[str] = None,
                         ecr_gen: Optional[GitOpsRepositoryEcrGenArgs] = None,
                         gen_type: Optional[str] = None,
                         gcr_gen: Optional[GitOpsRepositoryGcrGenArgs] = 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",
            },
        },
        AccountId = "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",
            },
        },
        GenType = "string",
        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",
                },
            },
        },
        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"),
    		},
    	},
    	AccountId: 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"),
    		},
    	},
    	GenType: pulumi.String("string"),
    	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"),
    			},
    		},
    	},
    	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())
        .accountId("string")
        .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())
        .genType("string")
        .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())
        .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=[harness.platform.GitOpsRepositoryRepoArgs(
            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",
        )],
        account_id="string",
        ecr_gen=harness.platform.GitOpsRepositoryEcrGenArgs(
            jwt_auth=harness.platform.GitOpsRepositoryEcrGenJwtAuthArgs(
                audiences=["string"],
                name="string",
                namespace="string",
            ),
            region="string",
            secret_ref=harness.platform.GitOpsRepositoryEcrGenSecretRefArgs(
                aws_access_key_id="string",
                aws_secret_access_key="string",
                aws_session_token="string",
            ),
        ),
        gen_type="string",
        gcr_gen=harness.platform.GitOpsRepositoryGcrGenArgs(
            access_key="string",
            project_id="string",
            workload_identity=harness.platform.GitOpsRepositoryGcrGenWorkloadIdentityArgs(
                cluster_location="string",
                cluster_name="string",
                cluster_project_id="string",
                service_account_ref=harness.platform.GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRefArgs(
                    audiences=["string"],
                    name="string",
                    namespace="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",
        }],
        accountId: "string",
        ecrGen: {
            jwtAuth: {
                audiences: ["string"],
                name: "string",
                namespace: "string",
            },
            region: "string",
            secretRef: {
                awsAccessKeyId: "string",
                awsSecretAccessKey: "string",
                awsSessionToken: "string",
            },
        },
        genType: "string",
        gcrGen: {
            accessKey: "string",
            projectId: "string",
            workloadIdentity: {
                clusterLocation: "string",
                clusterName: "string",
                clusterProjectId: "string",
                serviceAccountRef: {
                    audiences: ["string"],
                    name: "string",
                    namespace: "string",
                },
            },
        },
        orgId: "string",
        projectId: "string",
        refreshInterval: "string",
        credsOnly: false,
        upsert: false,
    });
    
    type: harness:platform:GitOpsRepository
    properties:
        accountId: string
        agentId: string
        credsOnly: false
        ecrGen:
            jwtAuth:
                audiences:
                    - string
                name: string
                namespace: string
            region: string
            secretRef:
                awsAccessKeyId: string
                awsSecretAccessKey: string
                awsSessionToken: string
        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

    The GitOpsRepository resource accepts the following input properties:

    AccountId string
    Account identifier of the GitOps repository.
    AgentId string
    Agent identifier of the GitOps repository.
    Identifier string
    Identifier of the GitOps repository.
    Repos List<GitOpsRepositoryRepo>
    Repo details holding application configurations.
    CredsOnly bool
    Indicates if to operate on credential set instead of repository.
    EcrGen GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    GcrGen GitOpsRepositoryGcrGen
    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<GitOpsRepositoryUpdateMask>
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    Identifier string
    Identifier of the GitOps repository.
    Repos []GitOpsRepositoryRepoArgs
    Repo details holding application configurations.
    CredsOnly bool
    Indicates if to operate on credential set instead of repository.
    EcrGen GitOpsRepositoryEcrGenArgs
    ECR access token generator specific configuration.
    GcrGen GitOpsRepositoryGcrGenArgs
    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 []GitOpsRepositoryUpdateMaskArgs
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    identifier String
    Identifier of the GitOps repository.
    repos List<GitOpsRepositoryRepo>
    Repo details holding application configurations.
    credsOnly Boolean
    Indicates if to operate on credential set instead of repository.
    ecrGen GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    gcrGen GitOpsRepositoryGcrGen
    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<GitOpsRepositoryUpdateMask>
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    identifier string
    Identifier of the GitOps repository.
    repos GitOpsRepositoryRepo[]
    Repo details holding application configurations.
    credsOnly boolean
    Indicates if to operate on credential set instead of repository.
    ecrGen GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    gcrGen GitOpsRepositoryGcrGen
    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 GitOpsRepositoryUpdateMask[]
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    identifier str
    Identifier of the GitOps repository.
    repos Sequence[GitOpsRepositoryRepoArgs]
    Repo details holding application configurations.
    creds_only bool
    Indicates if to operate on credential set instead of repository.
    ecr_gen GitOpsRepositoryEcrGenArgs
    ECR access token generator specific configuration.
    gcr_gen GitOpsRepositoryGcrGenArgs
    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[GitOpsRepositoryUpdateMaskArgs]
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    identifier String
    Identifier of the GitOps repository.
    repos List<Property Map>
    Repo details holding application configurations.
    credsOnly Boolean
    Indicates if to operate on credential set instead of repository.
    ecrGen Property Map
    ECR access token generator specific configuration.
    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.

    Deprecated: This field is deprecated and will be removed in a future release.

    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,
            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.
    The following state arguments are supported:
    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 GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    GcrGen GitOpsRepositoryGcrGen
    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<GitOpsRepositoryRepo>
    Repo details holding application configurations.
    UpdateMasks List<GitOpsRepositoryUpdateMask>
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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 GitOpsRepositoryEcrGenArgs
    ECR access token generator specific configuration.
    GcrGen GitOpsRepositoryGcrGenArgs
    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 []GitOpsRepositoryRepoArgs
    Repo details holding application configurations.
    UpdateMasks []GitOpsRepositoryUpdateMaskArgs
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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 GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    gcrGen GitOpsRepositoryGcrGen
    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<GitOpsRepositoryRepo>
    Repo details holding application configurations.
    updateMasks List<GitOpsRepositoryUpdateMask>
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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 GitOpsRepositoryEcrGen
    ECR access token generator specific configuration.
    gcrGen GitOpsRepositoryGcrGen
    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 GitOpsRepositoryRepo[]
    Repo details holding application configurations.
    updateMasks GitOpsRepositoryUpdateMask[]
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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 GitOpsRepositoryEcrGenArgs
    ECR access token generator specific configuration.
    gcr_gen GitOpsRepositoryGcrGenArgs
    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[GitOpsRepositoryRepoArgs]
    Repo details holding application configurations.
    update_masks Sequence[GitOpsRepositoryUpdateMaskArgs]
    Update mask of the repository.

    Deprecated: This field is deprecated and will be removed in a future release.

    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.
    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.

    Deprecated: This field is deprecated and will be removed in a future release.

    upsert Boolean
    Indicates if the GitOps repository should be updated if existing and inserted if not.

    Supporting Types

    GitOpsRepositoryEcrGen, GitOpsRepositoryEcrGenArgs

    JwtAuth GitOpsRepositoryEcrGenJwtAuth
    JWT authentication specific configuration.
    Region string
    AWS region.
    SecretRef GitOpsRepositoryEcrGenSecretRef
    Secret reference to the AWS credentials.
    JwtAuth GitOpsRepositoryEcrGenJwtAuth
    JWT authentication specific configuration.
    Region string
    AWS region.
    SecretRef GitOpsRepositoryEcrGenSecretRef
    Secret reference to the AWS credentials.
    jwtAuth GitOpsRepositoryEcrGenJwtAuth
    JWT authentication specific configuration.
    region String
    AWS region.
    secretRef GitOpsRepositoryEcrGenSecretRef
    Secret reference to the AWS credentials.
    jwtAuth GitOpsRepositoryEcrGenJwtAuth
    JWT authentication specific configuration.
    region string
    AWS region.
    secretRef GitOpsRepositoryEcrGenSecretRef
    Secret reference to the AWS credentials.
    jwt_auth GitOpsRepositoryEcrGenJwtAuth
    JWT authentication specific configuration.
    region str
    AWS region.
    secret_ref GitOpsRepositoryEcrGenSecretRef
    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 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

    AwsAccessKeyId string
    AWS access key id.
    AwsSecretAccessKey string
    AWS secret access key.
    AwsSessionToken string
    AWS session token.
    AwsAccessKeyId string
    AWS access key id.
    AwsSecretAccessKey string
    AWS secret access key.
    AwsSessionToken string
    AWS session token.
    awsAccessKeyId String
    AWS access key id.
    awsSecretAccessKey String
    AWS secret access key.
    awsSessionToken String
    AWS session token.
    awsAccessKeyId string
    AWS access key id.
    awsSecretAccessKey string
    AWS secret access key.
    awsSessionToken string
    AWS session token.
    aws_access_key_id str
    AWS access key id.
    aws_secret_access_key str
    AWS secret access key.
    aws_session_token str
    AWS session token.
    awsAccessKeyId String
    AWS access key id.
    awsSecretAccessKey String
    AWS secret access key.
    awsSessionToken String
    AWS session token.

    GitOpsRepositoryGcrGen, GitOpsRepositoryGcrGenArgs

    AccessKey string
    GCP access key.
    ProjectId string
    GCP project id.
    WorkloadIdentity GitOpsRepositoryGcrGenWorkloadIdentity
    GCP workload identity.
    AccessKey string
    GCP access key.
    ProjectId string
    GCP project id.
    WorkloadIdentity GitOpsRepositoryGcrGenWorkloadIdentity
    GCP workload identity.
    accessKey String
    GCP access key.
    projectId String
    GCP project id.
    workloadIdentity GitOpsRepositoryGcrGenWorkloadIdentity
    GCP workload identity.
    accessKey string
    GCP access key.
    projectId string
    GCP project id.
    workloadIdentity GitOpsRepositoryGcrGenWorkloadIdentity
    GCP workload identity.
    access_key str
    GCP access key.
    project_id str
    GCP project id.
    workload_identity GitOpsRepositoryGcrGenWorkloadIdentity
    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.
    ClusterProjectId string
    Cluster project id.
    ServiceAccountRef GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef
    Service account reference.
    ClusterLocation string
    Cluster location.
    ClusterName string
    Cluster name.
    ClusterProjectId string
    Cluster project id.
    ServiceAccountRef GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef
    Service account reference.
    clusterLocation String
    Cluster location.
    clusterName String
    Cluster name.
    clusterProjectId String
    Cluster project id.
    serviceAccountRef GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef
    Service account reference.
    clusterLocation string
    Cluster location.
    clusterName string
    Cluster name.
    clusterProjectId string
    Cluster project id.
    serviceAccountRef GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef
    Service account reference.
    cluster_location str
    Cluster location.
    cluster_name str
    Cluster name.
    cluster_project_id str
    Cluster project id.
    service_account_ref GitOpsRepositoryGcrGenWorkloadIdentityServiceAccountRef
    Service account reference.
    clusterLocation String
    Cluster location.
    clusterName String
    Cluster name.
    clusterProjectId String
    Cluster project id.
    serviceAccountRef Property Map
    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

    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.
    GithubAppEnterpriseBaseUrl string
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    GithubAppId string
    Id of the GitHub app used to access the repo.
    GithubAppInstallationId string
    Installation id of the GitHub app used to access the repo.
    GithubAppPrivateKey string
    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.
    InsecureIgnoreHostKey bool
    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.
    SshPrivateKey string
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    TlsClientCertData string
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    TlsClientCertKey string
    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.
    GithubAppEnterpriseBaseUrl string
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    GithubAppId string
    Id of the GitHub app used to access the repo.
    GithubAppInstallationId string
    Installation id of the GitHub app used to access the repo.
    GithubAppPrivateKey string
    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.
    InsecureIgnoreHostKey bool
    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.
    SshPrivateKey string
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    TlsClientCertData string
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    TlsClientCertKey string
    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.
    githubAppEnterpriseBaseUrl String
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    githubAppId String
    Id of the GitHub app used to access the repo.
    githubAppInstallationId String
    Installation id of the GitHub app used to access the repo.
    githubAppPrivateKey String
    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.
    insecureIgnoreHostKey Boolean
    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.
    sshPrivateKey String
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    tlsClientCertData String
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    tlsClientCertKey String
    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.
    githubAppEnterpriseBaseUrl string
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    githubAppId string
    Id of the GitHub app used to access the repo.
    githubAppInstallationId string
    Installation id of the GitHub app used to access the repo.
    githubAppPrivateKey string
    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.
    insecureIgnoreHostKey boolean
    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.
    sshPrivateKey string
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    tlsClientCertData string
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    tlsClientCertKey string
    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_enterprise_base_url str
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    github_app_id str
    Id of the GitHub app used to access the repo.
    github_app_installation_id str
    Installation id of the GitHub app used to access the repo.
    github_app_private_key str
    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_host_key bool
    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_key str
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    tls_client_cert_data str
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    tls_client_cert_key str
    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.
    githubAppEnterpriseBaseUrl String
    Base URL of GitHub Enterprise installation. If left empty, this defaults to https://api.github.com.
    githubAppId String
    Id of the GitHub app used to access the repo.
    githubAppInstallationId String
    Installation id of the GitHub app used to access the repo.
    githubAppPrivateKey String
    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.
    insecureIgnoreHostKey Boolean
    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.
    sshPrivateKey String
    SSH Key in PEM format for authenticating the repository. Used only for Git repository.
    tlsClientCertData String
    Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
    tlsClientCertKey String
    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.
    harness logo
    Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi