Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
Datasource for fetching a Harness Gitops Agent operator manifest YAML.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getGitopsAgentOperatorYaml({
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_operator_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.GetGitopsAgentOperatorYaml(ctx, &platform.GetGitopsAgentOperatorYamlArgs{
Identifier: "identifier",
AccountId: "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.GetGitopsAgentOperatorYaml.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.GetGitopsAgentOperatorYamlArgs;
import java.util.ArrayList;
import java.util.Arrays;
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.getGitopsAgentOperatorYaml(GetGitopsAgentOperatorYamlArgs.builder()
.identifier("identifier")
.accountId("account_id")
.projectId("project_id")
.orgId("org_id")
.namespace("namespace")
.build());
}
}
variables:
example:
fn::invoke:
function: harness:platform:getGitopsAgentOperatorYaml
arguments:
identifier: identifier
accountId: account_id
projectId: project_id
orgId: org_id
namespace: namespace
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
data "harness_platform_gitops_agent_operator_yaml" "example" {
identifier = "identifier"
account_id = "account_id"
project_id = "project_id"
org_id = "org_id"
namespace = "namespace"
}
Using getGitopsAgentOperatorYaml
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 getGitopsAgentOperatorYaml(args: GetGitopsAgentOperatorYamlArgs, opts?: InvokeOptions): Promise<GetGitopsAgentOperatorYamlResult>
function getGitopsAgentOperatorYamlOutput(args: GetGitopsAgentOperatorYamlOutputArgs, opts?: InvokeOutputOptions): Output<GetGitopsAgentOperatorYamlResult>def get_gitops_agent_operator_yaml(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[GetGitopsAgentOperatorYamlProxy]] = None,
skip_crds: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsAgentOperatorYamlResult
def get_gitops_agent_operator_yaml_output(ca_data: pulumi.Input[Optional[str]] = None,
identifier: pulumi.Input[Optional[str]] = None,
namespace: pulumi.Input[Optional[str]] = None,
org_id: pulumi.Input[Optional[str]] = None,
private_key: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
proxies: pulumi.Input[Optional[Sequence[pulumi.Input[GetGitopsAgentOperatorYamlProxyArgs]]]] = None,
skip_crds: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetGitopsAgentOperatorYamlResult]func GetGitopsAgentOperatorYaml(ctx *Context, args *GetGitopsAgentOperatorYamlArgs, opts ...InvokeOption) (*GetGitopsAgentOperatorYamlResult, error)
func GetGitopsAgentOperatorYamlOutput(ctx *Context, args *GetGitopsAgentOperatorYamlOutputArgs, opts ...InvokeOption) GetGitopsAgentOperatorYamlResultOutput> Note: This function is named GetGitopsAgentOperatorYaml in the Go SDK.
public static class GetGitopsAgentOperatorYaml
{
public static Task<GetGitopsAgentOperatorYamlResult> InvokeAsync(GetGitopsAgentOperatorYamlArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsAgentOperatorYamlResult> Invoke(GetGitopsAgentOperatorYamlInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsAgentOperatorYamlResult> Invoke(GetGitopsAgentOperatorYamlInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetGitopsAgentOperatorYamlResult> getGitopsAgentOperatorYaml(GetGitopsAgentOperatorYamlArgs args, InvokeOptions options)
public static Output<GetGitopsAgentOperatorYamlResult> getGitopsAgentOperatorYaml(GetGitopsAgentOperatorYamlArgs args, InvokeOptions options)
public static Output<GetGitopsAgentOperatorYamlResult> getGitopsAgentOperatorYaml(GetGitopsAgentOperatorYamlArgs args, InvokeOutputOptions options)
fn::invoke:
function: harness:platform/getGitopsAgentOperatorYaml:getGitopsAgentOperatorYaml
arguments:
# arguments dictionarydata "harness_platform_get_gitops_agent_operator_yaml" "name" {
# arguments
}The following arguments are supported:
- Identifier string
- Identifier of the GitOps agent.
- Namespace string
- The kubernetes namespace where the agent is installed.
- 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 Operator 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.
- 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 Operator 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.
- 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(object)
- 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.
- 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 Operator 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.
- 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 Operator 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.
- 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 Operator 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.
- 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.
getGitopsAgentOperatorYaml Result
The following output properties are available:
- 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 operator manifest YAML of the GitOps agent.
- 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 Operator Yaml Proxy> - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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 Operator Yaml Proxy - Proxy settings for the GitOps agent.
- Skip
Crds bool - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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(object)
- Proxy settings for the GitOps agent.
- skip_
crds bool - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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 Operator Yaml Proxy> - Proxy settings for the GitOps agent.
- skip
Crds Boolean - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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 Operator Yaml Proxy[] - Proxy settings for the GitOps agent.
- skip
Crds boolean - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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 Operator Yaml Proxy] - Proxy settings for the GitOps agent.
- skip_
crds bool - Skip CRDs for 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 operator manifest YAML of the GitOps agent.
- 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
GetGitopsAgentOperatorYamlProxy
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.17.9
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi