Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Datasource for fetching a Harness Gitops Agent deployment manifest YAML.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getGitopsAgentDeployYaml({
identifier: "identifier",
accountId: "account_id",
projectId: "project_id",
orgId: "org_id",
namespace: "namespace",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.get_gitops_agent_deploy_yaml(identifier="identifier",
account_id="account_id",
project_id="project_id",
org_id="org_id",
namespace="namespace")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.GetGitopsAgentDeployYaml(ctx, &platform.GetGitopsAgentDeployYamlArgs{
Identifier: "identifier",
AccountId: pulumi.StringRef("account_id"),
ProjectId: pulumi.StringRef("project_id"),
OrgId: pulumi.StringRef("org_id"),
Namespace: "namespace",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = Harness.Platform.GetGitopsAgentDeployYaml.Invoke(new()
{
Identifier = "identifier",
AccountId = "account_id",
ProjectId = "project_id",
OrgId = "org_id",
Namespace = "namespace",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetGitopsAgentDeployYamlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PlatformFunctions.getGitopsAgentDeployYaml(GetGitopsAgentDeployYamlArgs.builder()
.identifier("identifier")
.accountId("account_id")
.projectId("project_id")
.orgId("org_id")
.namespace("namespace")
.build());
}
}
variables:
example:
fn::invoke:
function: harness:platform:getGitopsAgentDeployYaml
arguments:
identifier: identifier
accountId: account_id
projectId: project_id
orgId: org_id
namespace: namespace
Using getGitopsAgentDeployYaml
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGitopsAgentDeployYaml(args: GetGitopsAgentDeployYamlArgs, opts?: InvokeOptions): Promise<GetGitopsAgentDeployYamlResult>
function getGitopsAgentDeployYamlOutput(args: GetGitopsAgentDeployYamlOutputArgs, opts?: InvokeOptions): Output<GetGitopsAgentDeployYamlResult>def get_gitops_agent_deploy_yaml(account_id: Optional[str] = None,
argocd_settings: Optional[GetGitopsAgentDeployYamlArgocdSettings] = None,
ca_data: Optional[str] = None,
identifier: Optional[str] = None,
namespace: Optional[str] = None,
org_id: Optional[str] = None,
private_key: Optional[str] = None,
project_id: Optional[str] = None,
proxies: Optional[Sequence[GetGitopsAgentDeployYamlProxy]] = None,
skip_crds: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsAgentDeployYamlResult
def get_gitops_agent_deploy_yaml_output(account_id: Optional[pulumi.Input[str]] = None,
argocd_settings: Optional[pulumi.Input[GetGitopsAgentDeployYamlArgocdSettingsArgs]] = None,
ca_data: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
private_key: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
proxies: Optional[pulumi.Input[Sequence[pulumi.Input[GetGitopsAgentDeployYamlProxyArgs]]]] = None,
skip_crds: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitopsAgentDeployYamlResult]func GetGitopsAgentDeployYaml(ctx *Context, args *GetGitopsAgentDeployYamlArgs, opts ...InvokeOption) (*GetGitopsAgentDeployYamlResult, error)
func GetGitopsAgentDeployYamlOutput(ctx *Context, args *GetGitopsAgentDeployYamlOutputArgs, opts ...InvokeOption) GetGitopsAgentDeployYamlResultOutput> Note: This function is named GetGitopsAgentDeployYaml in the Go SDK.
public static class GetGitopsAgentDeployYaml
{
public static Task<GetGitopsAgentDeployYamlResult> InvokeAsync(GetGitopsAgentDeployYamlArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsAgentDeployYamlResult> Invoke(GetGitopsAgentDeployYamlInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGitopsAgentDeployYamlResult> getGitopsAgentDeployYaml(GetGitopsAgentDeployYamlArgs args, InvokeOptions options)
public static Output<GetGitopsAgentDeployYamlResult> getGitopsAgentDeployYaml(GetGitopsAgentDeployYamlArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml
arguments:
# arguments dictionaryThe following arguments are supported:
- Identifier string
- Identifier of the GitOps agent.
- Namespace string
- The kubernetes namespace where the agent is installed.
- Account
Id string - Account identifier of the GitOps agent.
- Argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- Ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- Org
Id string - Organization identifier of the GitOps agent.
- Private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- Project
Id string - Project identifier of the GitOps agent.
- Proxies
List<Get
Gitops Agent Deploy Yaml Proxy> - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for the GitOps agent.
- Identifier string
- Identifier of the GitOps agent.
- Namespace string
- The kubernetes namespace where the agent is installed.
- Account
Id string - Account identifier of the GitOps agent.
- Argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- Ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- Org
Id string - Organization identifier of the GitOps agent.
- Private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- Project
Id string - Project identifier of the GitOps agent.
- Proxies
[]Get
Gitops Agent Deploy Yaml Proxy - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for the GitOps agent.
- identifier String
- Identifier of the GitOps agent.
- namespace String
- The kubernetes namespace where the agent is installed.
- account
Id String - Account identifier of the GitOps agent.
- argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data String - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id String - Organization identifier of the GitOps agent.
- private
Key String - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id String - Project identifier of the GitOps agent.
- proxies
List<Get
Gitops Agent Deploy Yaml Proxy> - Proxy settings for the GitOps agent.
- skip
Crds Boolean - Skip CRDs for the GitOps agent.
- identifier string
- Identifier of the GitOps agent.
- namespace string
- The kubernetes namespace where the agent is installed.
- account
Id string - Account identifier of the GitOps agent.
- argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id string - Organization identifier of the GitOps agent.
- private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id string - Project identifier of the GitOps agent.
- proxies
Get
Gitops Agent Deploy Yaml Proxy[] - Proxy settings for the GitOps agent.
- skip
Crds boolean - Skip CRDs for the GitOps agent.
- identifier str
- Identifier of the GitOps agent.
- namespace str
- The kubernetes namespace where the agent is installed.
- account_
id str - Account identifier of the GitOps agent.
- argocd_
settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca_
data str - CA data of the GitOps agent, base64 encoded content of ca chain.
- org_
id str - Organization identifier of the GitOps agent.
- private_
key str - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project_
id str - Project identifier of the GitOps agent.
- proxies
Sequence[Get
Gitops Agent Deploy Yaml Proxy] - Proxy settings for the GitOps agent.
- skip_
crds bool - Skip CRDs for the GitOps agent.
- identifier String
- Identifier of the GitOps agent.
- namespace String
- The kubernetes namespace where the agent is installed.
- account
Id String - Account identifier of the GitOps agent.
- argocd
Settings Property Map - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data String - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id String - Organization identifier of the GitOps agent.
- private
Key String - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id String - Project identifier of the GitOps agent.
- proxies List<Property Map>
- Proxy settings for the GitOps agent.
- skip
Crds Boolean - Skip CRDs for the GitOps agent.
getGitopsAgentDeployYaml Result
The following output properties are available:
- Account
Id string - Account identifier of the GitOps agent.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the GitOps agent.
- Namespace string
- The kubernetes namespace where the agent is installed.
- Yaml string
- The deployment manifest YAML of the GitOps agent.
- Argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- Ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- Org
Id string - Organization identifier of the GitOps agent.
- Private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- Project
Id string - Project identifier of the GitOps agent.
- Proxies
List<Get
Gitops Agent Deploy Yaml Proxy> - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for the GitOps agent.
- Account
Id string - Account identifier of the GitOps agent.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the GitOps agent.
- Namespace string
- The kubernetes namespace where the agent is installed.
- Yaml string
- The deployment manifest YAML of the GitOps agent.
- Argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- Ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- Org
Id string - Organization identifier of the GitOps agent.
- Private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- Project
Id string - Project identifier of the GitOps agent.
- Proxies
[]Get
Gitops Agent Deploy Yaml Proxy - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for the GitOps agent.
- account
Id String - Account identifier of the GitOps agent.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the GitOps agent.
- namespace String
- The kubernetes namespace where the agent is installed.
- yaml String
- The deployment manifest YAML of the GitOps agent.
- argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data String - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id String - Organization identifier of the GitOps agent.
- private
Key String - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id String - Project identifier of the GitOps agent.
- proxies
List<Get
Gitops Agent Deploy Yaml Proxy> - Proxy settings for the GitOps agent.
- skip
Crds Boolean - Skip CRDs for the GitOps agent.
- account
Id string - Account identifier of the GitOps agent.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Identifier of the GitOps agent.
- namespace string
- The kubernetes namespace where the agent is installed.
- yaml string
- The deployment manifest YAML of the GitOps agent.
- argocd
Settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data string - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id string - Organization identifier of the GitOps agent.
- private
Key string - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id string - Project identifier of the GitOps agent.
- proxies
Get
Gitops Agent Deploy Yaml Proxy[] - Proxy settings for the GitOps agent.
- skip
Crds boolean - Skip CRDs for the GitOps agent.
- account_
id str - Account identifier of the GitOps agent.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Identifier of the GitOps agent.
- namespace str
- The kubernetes namespace where the agent is installed.
- yaml str
- The deployment manifest YAML of the GitOps agent.
- argocd_
settings GetGitops Agent Deploy Yaml Argocd Settings - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca_
data str - CA data of the GitOps agent, base64 encoded content of ca chain.
- org_
id str - Organization identifier of the GitOps agent.
- private_
key str - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project_
id str - Project identifier of the GitOps agent.
- proxies
Sequence[Get
Gitops Agent Deploy Yaml Proxy] - Proxy settings for the GitOps agent.
- skip_
crds bool - Skip CRDs for the GitOps agent.
- account
Id String - Account identifier of the GitOps agent.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the GitOps agent.
- namespace String
- The kubernetes namespace where the agent is installed.
- yaml String
- The deployment manifest YAML of the GitOps agent.
- argocd
Settings Property Map - Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable.
- ca
Data String - CA data of the GitOps agent, base64 encoded content of ca chain.
- org
Id String - Organization identifier of the GitOps agent.
- private
Key String - Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
- project
Id String - Project identifier of the GitOps agent.
- proxies List<Property Map>
- Proxy settings for the GitOps agent.
- skip
Crds Boolean - Skip CRDs for the GitOps agent.
Supporting Types
GetGitopsAgentDeployYamlArgocdSettings
- Enable
Helm boolPath Traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
- Enable
Helm boolPath Traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
- enable
Helm BooleanPath Traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
- enable
Helm booleanPath Traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
- enable_
helm_ boolpath_ traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
- enable
Helm BooleanPath Traversal - Controls the Environment variable HELMSECRETSVALUESALLOWPATH_TRAVERSAL to allow or deny dot-dot-slash values file paths. Disabled by default for security reasons. This config is pushed as an env variable to the repo-server.
GetGitopsAgentDeployYamlProxy
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
