harness.platform.GitOpsApplications
Explore with Pulumi AI
Resource for managing a Harness Gitops Application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = new harness.platform.GitOpsApplications("example", {
applications: [{
metadatas: [{
annotations: {},
labels: {
"harness.io/serviceRef": "service_id",
"harness.io/envRef": "env_id",
},
name: "appname123",
}],
specs: [{
syncPolicies: [{
syncOptions: [
"PrunePropagationPolicy=undefined",
"CreateNamespace=false",
"Validate=false",
"skipSchemaValidations=false",
"autoCreateNamespace=false",
"pruneLast=false",
"applyOutofSyncOnly=false",
"Replace=false",
"retry=false",
],
}],
sources: [{
targetRevision: "master",
repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
path: "helm-guestbook",
}],
destinations: [{
namespace: "namespace-123",
server: "https://1.3.4.5",
}],
}],
}],
projectId: "project_id",
orgId: "org_id",
accountId: "account_id",
identifier: "identifier",
clusterId: "cluster_id",
repoId: "repo_id",
agentId: "agent_id",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.GitOpsApplications("example",
applications=[{
"metadatas": [{
"annotations": {},
"labels": {
"harness.io/serviceRef": "service_id",
"harness.io/envRef": "env_id",
},
"name": "appname123",
}],
"specs": [{
"sync_policies": [{
"sync_options": [
"PrunePropagationPolicy=undefined",
"CreateNamespace=false",
"Validate=false",
"skipSchemaValidations=false",
"autoCreateNamespace=false",
"pruneLast=false",
"applyOutofSyncOnly=false",
"Replace=false",
"retry=false",
],
}],
"sources": [{
"target_revision": "master",
"repo_url": "https://github.com/willycoll/argocd-example-apps.git",
"path": "helm-guestbook",
}],
"destinations": [{
"namespace": "namespace-123",
"server": "https://1.3.4.5",
}],
}],
}],
project_id="project_id",
org_id="org_id",
account_id="account_id",
identifier="identifier",
cluster_id="cluster_id",
repo_id="repo_id",
agent_id="agent_id")
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.NewGitOpsApplications(ctx, "example", &platform.GitOpsApplicationsArgs{
Applications: platform.GitOpsApplicationsApplicationArray{
&platform.GitOpsApplicationsApplicationArgs{
Metadatas: platform.GitOpsApplicationsApplicationMetadataArray{
&platform.GitOpsApplicationsApplicationMetadataArgs{
Annotations: pulumi.StringMap{},
Labels: pulumi.StringMap{
"harness.io/serviceRef": pulumi.String("service_id"),
"harness.io/envRef": pulumi.String("env_id"),
},
Name: pulumi.String("appname123"),
},
},
Specs: platform.GitOpsApplicationsApplicationSpecArray{
&platform.GitOpsApplicationsApplicationSpecArgs{
SyncPolicies: platform.GitOpsApplicationsApplicationSpecSyncPolicyArray{
&platform.GitOpsApplicationsApplicationSpecSyncPolicyArgs{
SyncOptions: pulumi.StringArray{
pulumi.String("PrunePropagationPolicy=undefined"),
pulumi.String("CreateNamespace=false"),
pulumi.String("Validate=false"),
pulumi.String("skipSchemaValidations=false"),
pulumi.String("autoCreateNamespace=false"),
pulumi.String("pruneLast=false"),
pulumi.String("applyOutofSyncOnly=false"),
pulumi.String("Replace=false"),
pulumi.String("retry=false"),
},
},
},
Sources: platform.GitOpsApplicationsApplicationSpecSourceArray{
&platform.GitOpsApplicationsApplicationSpecSourceArgs{
TargetRevision: pulumi.String("master"),
RepoUrl: pulumi.String("https://github.com/willycoll/argocd-example-apps.git"),
Path: pulumi.String("helm-guestbook"),
},
},
Destinations: platform.GitOpsApplicationsApplicationSpecDestinationArray{
&platform.GitOpsApplicationsApplicationSpecDestinationArgs{
Namespace: pulumi.String("namespace-123"),
Server: pulumi.String("https://1.3.4.5"),
},
},
},
},
},
},
ProjectId: pulumi.String("project_id"),
OrgId: pulumi.String("org_id"),
AccountId: pulumi.String("account_id"),
Identifier: pulumi.String("identifier"),
ClusterId: pulumi.String("cluster_id"),
RepoId: pulumi.String("repo_id"),
AgentId: pulumi.String("agent_id"),
})
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 = new Harness.Platform.GitOpsApplications("example", new()
{
Applications = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationArgs
{
Metadatas = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataArgs
{
Annotations = null,
Labels =
{
{ "harness.io/serviceRef", "service_id" },
{ "harness.io/envRef", "env_id" },
},
Name = "appname123",
},
},
Specs = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecArgs
{
SyncPolicies = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyArgs
{
SyncOptions = new[]
{
"PrunePropagationPolicy=undefined",
"CreateNamespace=false",
"Validate=false",
"skipSchemaValidations=false",
"autoCreateNamespace=false",
"pruneLast=false",
"applyOutofSyncOnly=false",
"Replace=false",
"retry=false",
},
},
},
Sources = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
{
TargetRevision = "master",
RepoUrl = "https://github.com/willycoll/argocd-example-apps.git",
Path = "helm-guestbook",
},
},
Destinations = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecDestinationArgs
{
Namespace = "namespace-123",
Server = "https://1.3.4.5",
},
},
},
},
},
},
ProjectId = "project_id",
OrgId = "org_id",
AccountId = "account_id",
Identifier = "identifier",
ClusterId = "cluster_id",
RepoId = "repo_id",
AgentId = "agent_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.GitOpsApplications;
import com.pulumi.harness.platform.GitOpsApplicationsArgs;
import com.pulumi.harness.platform.inputs.GitOpsApplicationsApplicationArgs;
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) {
var example = new GitOpsApplications("example", GitOpsApplicationsArgs.builder()
.applications(GitOpsApplicationsApplicationArgs.builder()
.metadatas(GitOpsApplicationsApplicationMetadataArgs.builder()
.annotations()
.labels(Map.ofEntries(
Map.entry("harness.io/serviceRef", "service_id"),
Map.entry("harness.io/envRef", "env_id")
))
.name("appname123")
.build())
.specs(GitOpsApplicationsApplicationSpecArgs.builder()
.syncPolicies(GitOpsApplicationsApplicationSpecSyncPolicyArgs.builder()
.syncOptions(
"PrunePropagationPolicy=undefined",
"CreateNamespace=false",
"Validate=false",
"skipSchemaValidations=false",
"autoCreateNamespace=false",
"pruneLast=false",
"applyOutofSyncOnly=false",
"Replace=false",
"retry=false")
.build())
.sources(GitOpsApplicationsApplicationSpecSourceArgs.builder()
.targetRevision("master")
.repoUrl("https://github.com/willycoll/argocd-example-apps.git")
.path("helm-guestbook")
.build())
.destinations(GitOpsApplicationsApplicationSpecDestinationArgs.builder()
.namespace("namespace-123")
.server("https://1.3.4.5")
.build())
.build())
.build())
.projectId("project_id")
.orgId("org_id")
.accountId("account_id")
.identifier("identifier")
.clusterId("cluster_id")
.repoId("repo_id")
.agentId("agent_id")
.build());
}
}
resources:
example:
type: harness:platform:GitOpsApplications
properties:
applications:
- metadatas:
- annotations: {}
labels:
harness.io/serviceRef: service_id
harness.io/envRef: env_id
name: appname123
specs:
- syncPolicies:
- syncOptions:
- PrunePropagationPolicy=undefined
- CreateNamespace=false
- Validate=false
- skipSchemaValidations=false
- autoCreateNamespace=false
- pruneLast=false
- applyOutofSyncOnly=false
- Replace=false
- retry=false
sources:
- targetRevision: master
repoUrl: https://github.com/willycoll/argocd-example-apps.git
path: helm-guestbook
destinations:
- namespace: namespace-123
server: https://1.3.4.5
projectId: project_id
orgId: org_id
accountId: account_id
identifier: identifier
clusterId: cluster_id
repoId: repo_id
agentId: agent_id
Create GitOpsApplications Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GitOpsApplications(name: string, args: GitOpsApplicationsArgs, opts?: CustomResourceOptions);
@overload
def GitOpsApplications(resource_name: str,
args: GitOpsApplicationsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GitOpsApplications(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
agent_id: Optional[str] = None,
applications: Optional[Sequence[GitOpsApplicationsApplicationArgs]] = None,
cluster_id: Optional[str] = None,
account_id: Optional[str] = None,
project_id: Optional[str] = None,
identifier: Optional[str] = None,
options_remove_existing_finalizers: Optional[bool] = None,
name: Optional[str] = None,
project: Optional[str] = None,
kind: Optional[str] = None,
repo_id: Optional[str] = None,
repo_ids: Optional[Sequence[str]] = None,
request_cascade: Optional[bool] = None,
request_propagation_policy: Optional[str] = None,
skip_repo_validation: Optional[bool] = None,
upsert: Optional[bool] = None,
validate: Optional[bool] = None)
func NewGitOpsApplications(ctx *Context, name string, args GitOpsApplicationsArgs, opts ...ResourceOption) (*GitOpsApplications, error)
public GitOpsApplications(string name, GitOpsApplicationsArgs args, CustomResourceOptions? opts = null)
public GitOpsApplications(String name, GitOpsApplicationsArgs args)
public GitOpsApplications(String name, GitOpsApplicationsArgs args, CustomResourceOptions options)
type: harness:platform:GitOpsApplications
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 GitOpsApplicationsArgs
- 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 GitOpsApplicationsArgs
- 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 GitOpsApplicationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsApplicationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitOpsApplicationsArgs
- 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 gitOpsApplicationsResource = new Harness.Platform.GitOpsApplications("gitOpsApplicationsResource", new()
{
OrgId = "string",
AgentId = "string",
Applications = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationArgs
{
Metadatas = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataArgs
{
Annotations =
{
{ "string", "string" },
},
ClusterName = "string",
Finalizers = new[]
{
"string",
},
GenerateName = "string",
Generation = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
Namespace = "string",
OwnerReferences = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataOwnerReferenceArgs
{
ApiVersion = "string",
BlockOwnerDeletion = false,
Controller = false,
Kind = "string",
Name = "string",
Uid = "string",
},
},
Uid = "string",
},
},
Specs = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecArgs
{
Destinations = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecDestinationArgs
{
Name = "string",
Namespace = "string",
Server = "string",
},
},
Project = "string",
Source = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
{
RepoUrl = "string",
TargetRevision = "string",
Chart = "string",
Directories = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryArgs
{
Exclude = "string",
Include = "string",
Jsonnets = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs
{
ExtVars = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs
{
Code = false,
Name = "string",
Value = "string",
},
},
Libs = new[]
{
"string",
},
Tlas = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs
{
Code = false,
Name = "string",
Value = "string",
},
},
},
},
Recurse = false,
},
},
Helms = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmArgs
{
FileParameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs
{
Name = "string",
Path = "string",
},
},
Parameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs
{
ForceString = false,
Name = "string",
Value = "string",
},
},
PassCredentials = false,
ReleaseName = "string",
ValueFiles = new[]
{
"string",
},
Values = "string",
Version = "string",
},
},
Ksonnets = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetArgs
{
Environment = "string",
Parameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs
{
Component = "string",
Name = "string",
Value = "string",
},
},
},
},
Kustomizes = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKustomizeArgs
{
CommonAnnotations =
{
{ "string", "string" },
},
CommonLabels =
{
{ "string", "string" },
},
ForceCommonAnnotations = false,
ForceCommonLabels = false,
Images = new[]
{
"string",
},
NamePrefix = "string",
NameSuffix = "string",
Version = "string",
},
},
Path = "string",
Plugins = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginArgs
{
Envs = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs
{
Name = "string",
Value = "string",
},
},
Name = "string",
},
},
Ref = "string",
},
},
Sources = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
{
RepoUrl = "string",
TargetRevision = "string",
Chart = "string",
Directories = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryArgs
{
Exclude = "string",
Include = "string",
Jsonnets = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs
{
ExtVars = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs
{
Code = false,
Name = "string",
Value = "string",
},
},
Libs = new[]
{
"string",
},
Tlas = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs
{
Code = false,
Name = "string",
Value = "string",
},
},
},
},
Recurse = false,
},
},
Helms = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmArgs
{
FileParameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs
{
Name = "string",
Path = "string",
},
},
Parameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs
{
ForceString = false,
Name = "string",
Value = "string",
},
},
PassCredentials = false,
ReleaseName = "string",
ValueFiles = new[]
{
"string",
},
Values = "string",
Version = "string",
},
},
Ksonnets = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetArgs
{
Environment = "string",
Parameters = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs
{
Component = "string",
Name = "string",
Value = "string",
},
},
},
},
Kustomizes = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKustomizeArgs
{
CommonAnnotations =
{
{ "string", "string" },
},
CommonLabels =
{
{ "string", "string" },
},
ForceCommonAnnotations = false,
ForceCommonLabels = false,
Images = new[]
{
"string",
},
NamePrefix = "string",
NameSuffix = "string",
Version = "string",
},
},
Path = "string",
Plugins = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginArgs
{
Envs = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs
{
Name = "string",
Value = "string",
},
},
Name = "string",
},
},
Ref = "string",
},
},
SyncPolicies = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyArgs
{
Automateds = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs
{
AllowEmpty = false,
Prune = false,
SelfHeal = false,
},
},
Retries = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs
{
Backoffs = new[]
{
new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs
{
Duration = "string",
Factor = "string",
MaxDuration = "string",
},
},
Limit = "string",
},
},
SyncOptions = new[]
{
"string",
},
},
},
},
},
},
},
ClusterId = "string",
AccountId = "string",
ProjectId = "string",
OptionsRemoveExistingFinalizers = false,
Name = "string",
Project = "string",
Kind = "string",
RepoId = "string",
RepoIds = new[]
{
"string",
},
RequestCascade = false,
RequestPropagationPolicy = "string",
SkipRepoValidation = false,
Upsert = false,
Validate = false,
});
example, err := platform.NewGitOpsApplications(ctx, "gitOpsApplicationsResource", &platform.GitOpsApplicationsArgs{
OrgId: pulumi.String("string"),
AgentId: pulumi.String("string"),
Applications: platform.GitOpsApplicationsApplicationArray{
&platform.GitOpsApplicationsApplicationArgs{
Metadatas: platform.GitOpsApplicationsApplicationMetadataArray{
&platform.GitOpsApplicationsApplicationMetadataArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
ClusterName: pulumi.String("string"),
Finalizers: pulumi.StringArray{
pulumi.String("string"),
},
GenerateName: pulumi.String("string"),
Generation: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
OwnerReferences: platform.GitOpsApplicationsApplicationMetadataOwnerReferenceArray{
&platform.GitOpsApplicationsApplicationMetadataOwnerReferenceArgs{
ApiVersion: pulumi.String("string"),
BlockOwnerDeletion: pulumi.Bool(false),
Controller: pulumi.Bool(false),
Kind: pulumi.String("string"),
Name: pulumi.String("string"),
Uid: pulumi.String("string"),
},
},
Uid: pulumi.String("string"),
},
},
Specs: platform.GitOpsApplicationsApplicationSpecArray{
&platform.GitOpsApplicationsApplicationSpecArgs{
Destinations: platform.GitOpsApplicationsApplicationSpecDestinationArray{
&platform.GitOpsApplicationsApplicationSpecDestinationArgs{
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
Server: pulumi.String("string"),
},
},
Project: pulumi.String("string"),
Source: platform.GitOpsApplicationsApplicationSpecSourceArray{
&platform.GitOpsApplicationsApplicationSpecSourceArgs{
RepoUrl: pulumi.String("string"),
TargetRevision: pulumi.String("string"),
Chart: pulumi.String("string"),
Directories: platform.GitOpsApplicationsApplicationSpecSourceDirectoryArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryArgs{
Exclude: pulumi.String("string"),
Include: pulumi.String("string"),
Jsonnets: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs{
ExtVars: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs{
Code: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Libs: pulumi.StringArray{
pulumi.String("string"),
},
Tlas: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs{
Code: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Recurse: pulumi.Bool(false),
},
},
Helms: platform.GitOpsApplicationsApplicationSpecSourceHelmArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmArgs{
FileParameters: platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
Parameters: platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs{
ForceString: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
PassCredentials: pulumi.Bool(false),
ReleaseName: pulumi.String("string"),
ValueFiles: pulumi.StringArray{
pulumi.String("string"),
},
Values: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
Ksonnets: platform.GitOpsApplicationsApplicationSpecSourceKsonnetArray{
&platform.GitOpsApplicationsApplicationSpecSourceKsonnetArgs{
Environment: pulumi.String("string"),
Parameters: platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs{
Component: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Kustomizes: platform.GitOpsApplicationsApplicationSpecSourceKustomizeArray{
&platform.GitOpsApplicationsApplicationSpecSourceKustomizeArgs{
CommonAnnotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
CommonLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ForceCommonAnnotations: pulumi.Bool(false),
ForceCommonLabels: pulumi.Bool(false),
Images: pulumi.StringArray{
pulumi.String("string"),
},
NamePrefix: pulumi.String("string"),
NameSuffix: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Plugins: platform.GitOpsApplicationsApplicationSpecSourcePluginArray{
&platform.GitOpsApplicationsApplicationSpecSourcePluginArgs{
Envs: platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArray{
&platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
},
Ref: pulumi.String("string"),
},
},
Sources: platform.GitOpsApplicationsApplicationSpecSourceArray{
&platform.GitOpsApplicationsApplicationSpecSourceArgs{
RepoUrl: pulumi.String("string"),
TargetRevision: pulumi.String("string"),
Chart: pulumi.String("string"),
Directories: platform.GitOpsApplicationsApplicationSpecSourceDirectoryArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryArgs{
Exclude: pulumi.String("string"),
Include: pulumi.String("string"),
Jsonnets: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs{
ExtVars: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs{
Code: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Libs: pulumi.StringArray{
pulumi.String("string"),
},
Tlas: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArray{
&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs{
Code: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Recurse: pulumi.Bool(false),
},
},
Helms: platform.GitOpsApplicationsApplicationSpecSourceHelmArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmArgs{
FileParameters: platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
Parameters: platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs{
ForceString: pulumi.Bool(false),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
PassCredentials: pulumi.Bool(false),
ReleaseName: pulumi.String("string"),
ValueFiles: pulumi.StringArray{
pulumi.String("string"),
},
Values: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
Ksonnets: platform.GitOpsApplicationsApplicationSpecSourceKsonnetArray{
&platform.GitOpsApplicationsApplicationSpecSourceKsonnetArgs{
Environment: pulumi.String("string"),
Parameters: platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArray{
&platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs{
Component: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Kustomizes: platform.GitOpsApplicationsApplicationSpecSourceKustomizeArray{
&platform.GitOpsApplicationsApplicationSpecSourceKustomizeArgs{
CommonAnnotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
CommonLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ForceCommonAnnotations: pulumi.Bool(false),
ForceCommonLabels: pulumi.Bool(false),
Images: pulumi.StringArray{
pulumi.String("string"),
},
NamePrefix: pulumi.String("string"),
NameSuffix: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Plugins: platform.GitOpsApplicationsApplicationSpecSourcePluginArray{
&platform.GitOpsApplicationsApplicationSpecSourcePluginArgs{
Envs: platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArray{
&platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
},
Ref: pulumi.String("string"),
},
},
SyncPolicies: platform.GitOpsApplicationsApplicationSpecSyncPolicyArray{
&platform.GitOpsApplicationsApplicationSpecSyncPolicyArgs{
Automateds: platform.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArray{
&platform.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs{
AllowEmpty: pulumi.Bool(false),
Prune: pulumi.Bool(false),
SelfHeal: pulumi.Bool(false),
},
},
Retries: platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryArray{
&platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs{
Backoffs: platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArray{
&platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs{
Duration: pulumi.String("string"),
Factor: pulumi.String("string"),
MaxDuration: pulumi.String("string"),
},
},
Limit: pulumi.String("string"),
},
},
SyncOptions: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
},
ClusterId: pulumi.String("string"),
AccountId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
OptionsRemoveExistingFinalizers: pulumi.Bool(false),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
Kind: pulumi.String("string"),
RepoId: pulumi.String("string"),
RepoIds: pulumi.StringArray{
pulumi.String("string"),
},
RequestCascade: pulumi.Bool(false),
RequestPropagationPolicy: pulumi.String("string"),
SkipRepoValidation: pulumi.Bool(false),
Upsert: pulumi.Bool(false),
Validate: pulumi.Bool(false),
})
var gitOpsApplicationsResource = new GitOpsApplications("gitOpsApplicationsResource", GitOpsApplicationsArgs.builder()
.orgId("string")
.agentId("string")
.applications(GitOpsApplicationsApplicationArgs.builder()
.metadatas(GitOpsApplicationsApplicationMetadataArgs.builder()
.annotations(Map.of("string", "string"))
.clusterName("string")
.finalizers("string")
.generateName("string")
.generation("string")
.labels(Map.of("string", "string"))
.name("string")
.namespace("string")
.ownerReferences(GitOpsApplicationsApplicationMetadataOwnerReferenceArgs.builder()
.apiVersion("string")
.blockOwnerDeletion(false)
.controller(false)
.kind("string")
.name("string")
.uid("string")
.build())
.uid("string")
.build())
.specs(GitOpsApplicationsApplicationSpecArgs.builder()
.destinations(GitOpsApplicationsApplicationSpecDestinationArgs.builder()
.name("string")
.namespace("string")
.server("string")
.build())
.project("string")
.source(GitOpsApplicationsApplicationSpecSourceArgs.builder()
.repoUrl("string")
.targetRevision("string")
.chart("string")
.directories(GitOpsApplicationsApplicationSpecSourceDirectoryArgs.builder()
.exclude("string")
.include("string")
.jsonnets(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs.builder()
.extVars(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs.builder()
.code(false)
.name("string")
.value("string")
.build())
.libs("string")
.tlas(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs.builder()
.code(false)
.name("string")
.value("string")
.build())
.build())
.recurse(false)
.build())
.helms(GitOpsApplicationsApplicationSpecSourceHelmArgs.builder()
.fileParameters(GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs.builder()
.name("string")
.path("string")
.build())
.parameters(GitOpsApplicationsApplicationSpecSourceHelmParameterArgs.builder()
.forceString(false)
.name("string")
.value("string")
.build())
.passCredentials(false)
.releaseName("string")
.valueFiles("string")
.values("string")
.version("string")
.build())
.ksonnets(GitOpsApplicationsApplicationSpecSourceKsonnetArgs.builder()
.environment("string")
.parameters(GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs.builder()
.component("string")
.name("string")
.value("string")
.build())
.build())
.kustomizes(GitOpsApplicationsApplicationSpecSourceKustomizeArgs.builder()
.commonAnnotations(Map.of("string", "string"))
.commonLabels(Map.of("string", "string"))
.forceCommonAnnotations(false)
.forceCommonLabels(false)
.images("string")
.namePrefix("string")
.nameSuffix("string")
.version("string")
.build())
.path("string")
.plugins(GitOpsApplicationsApplicationSpecSourcePluginArgs.builder()
.envs(GitOpsApplicationsApplicationSpecSourcePluginEnvArgs.builder()
.name("string")
.value("string")
.build())
.name("string")
.build())
.ref("string")
.build())
.sources(GitOpsApplicationsApplicationSpecSourceArgs.builder()
.repoUrl("string")
.targetRevision("string")
.chart("string")
.directories(GitOpsApplicationsApplicationSpecSourceDirectoryArgs.builder()
.exclude("string")
.include("string")
.jsonnets(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs.builder()
.extVars(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs.builder()
.code(false)
.name("string")
.value("string")
.build())
.libs("string")
.tlas(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs.builder()
.code(false)
.name("string")
.value("string")
.build())
.build())
.recurse(false)
.build())
.helms(GitOpsApplicationsApplicationSpecSourceHelmArgs.builder()
.fileParameters(GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs.builder()
.name("string")
.path("string")
.build())
.parameters(GitOpsApplicationsApplicationSpecSourceHelmParameterArgs.builder()
.forceString(false)
.name("string")
.value("string")
.build())
.passCredentials(false)
.releaseName("string")
.valueFiles("string")
.values("string")
.version("string")
.build())
.ksonnets(GitOpsApplicationsApplicationSpecSourceKsonnetArgs.builder()
.environment("string")
.parameters(GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs.builder()
.component("string")
.name("string")
.value("string")
.build())
.build())
.kustomizes(GitOpsApplicationsApplicationSpecSourceKustomizeArgs.builder()
.commonAnnotations(Map.of("string", "string"))
.commonLabels(Map.of("string", "string"))
.forceCommonAnnotations(false)
.forceCommonLabels(false)
.images("string")
.namePrefix("string")
.nameSuffix("string")
.version("string")
.build())
.path("string")
.plugins(GitOpsApplicationsApplicationSpecSourcePluginArgs.builder()
.envs(GitOpsApplicationsApplicationSpecSourcePluginEnvArgs.builder()
.name("string")
.value("string")
.build())
.name("string")
.build())
.ref("string")
.build())
.syncPolicies(GitOpsApplicationsApplicationSpecSyncPolicyArgs.builder()
.automateds(GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs.builder()
.allowEmpty(false)
.prune(false)
.selfHeal(false)
.build())
.retries(GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs.builder()
.backoffs(GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs.builder()
.duration("string")
.factor("string")
.maxDuration("string")
.build())
.limit("string")
.build())
.syncOptions("string")
.build())
.build())
.build())
.clusterId("string")
.accountId("string")
.projectId("string")
.optionsRemoveExistingFinalizers(false)
.name("string")
.project("string")
.kind("string")
.repoId("string")
.repoIds("string")
.requestCascade(false)
.requestPropagationPolicy("string")
.skipRepoValidation(false)
.upsert(false)
.validate(false)
.build());
git_ops_applications_resource = harness.platform.GitOpsApplications("gitOpsApplicationsResource",
org_id="string",
agent_id="string",
applications=[{
"metadatas": [{
"annotations": {
"string": "string",
},
"cluster_name": "string",
"finalizers": ["string"],
"generate_name": "string",
"generation": "string",
"labels": {
"string": "string",
},
"name": "string",
"namespace": "string",
"owner_references": [{
"api_version": "string",
"block_owner_deletion": False,
"controller": False,
"kind": "string",
"name": "string",
"uid": "string",
}],
"uid": "string",
}],
"specs": [{
"destinations": [{
"name": "string",
"namespace": "string",
"server": "string",
}],
"project": "string",
"source": [{
"repo_url": "string",
"target_revision": "string",
"chart": "string",
"directories": [{
"exclude": "string",
"include": "string",
"jsonnets": [{
"ext_vars": [{
"code": False,
"name": "string",
"value": "string",
}],
"libs": ["string"],
"tlas": [{
"code": False,
"name": "string",
"value": "string",
}],
}],
"recurse": False,
}],
"helms": [{
"file_parameters": [{
"name": "string",
"path": "string",
}],
"parameters": [{
"force_string": False,
"name": "string",
"value": "string",
}],
"pass_credentials": False,
"release_name": "string",
"value_files": ["string"],
"values": "string",
"version": "string",
}],
"ksonnets": [{
"environment": "string",
"parameters": [{
"component": "string",
"name": "string",
"value": "string",
}],
}],
"kustomizes": [{
"common_annotations": {
"string": "string",
},
"common_labels": {
"string": "string",
},
"force_common_annotations": False,
"force_common_labels": False,
"images": ["string"],
"name_prefix": "string",
"name_suffix": "string",
"version": "string",
}],
"path": "string",
"plugins": [{
"envs": [{
"name": "string",
"value": "string",
}],
"name": "string",
}],
"ref": "string",
}],
"sources": [{
"repo_url": "string",
"target_revision": "string",
"chart": "string",
"directories": [{
"exclude": "string",
"include": "string",
"jsonnets": [{
"ext_vars": [{
"code": False,
"name": "string",
"value": "string",
}],
"libs": ["string"],
"tlas": [{
"code": False,
"name": "string",
"value": "string",
}],
}],
"recurse": False,
}],
"helms": [{
"file_parameters": [{
"name": "string",
"path": "string",
}],
"parameters": [{
"force_string": False,
"name": "string",
"value": "string",
}],
"pass_credentials": False,
"release_name": "string",
"value_files": ["string"],
"values": "string",
"version": "string",
}],
"ksonnets": [{
"environment": "string",
"parameters": [{
"component": "string",
"name": "string",
"value": "string",
}],
}],
"kustomizes": [{
"common_annotations": {
"string": "string",
},
"common_labels": {
"string": "string",
},
"force_common_annotations": False,
"force_common_labels": False,
"images": ["string"],
"name_prefix": "string",
"name_suffix": "string",
"version": "string",
}],
"path": "string",
"plugins": [{
"envs": [{
"name": "string",
"value": "string",
}],
"name": "string",
}],
"ref": "string",
}],
"sync_policies": [{
"automateds": [{
"allow_empty": False,
"prune": False,
"self_heal": False,
}],
"retries": [{
"backoffs": [{
"duration": "string",
"factor": "string",
"max_duration": "string",
}],
"limit": "string",
}],
"sync_options": ["string"],
}],
}],
}],
cluster_id="string",
account_id="string",
project_id="string",
options_remove_existing_finalizers=False,
name="string",
project="string",
kind="string",
repo_id="string",
repo_ids=["string"],
request_cascade=False,
request_propagation_policy="string",
skip_repo_validation=False,
upsert=False,
validate=False)
const gitOpsApplicationsResource = new harness.platform.GitOpsApplications("gitOpsApplicationsResource", {
orgId: "string",
agentId: "string",
applications: [{
metadatas: [{
annotations: {
string: "string",
},
clusterName: "string",
finalizers: ["string"],
generateName: "string",
generation: "string",
labels: {
string: "string",
},
name: "string",
namespace: "string",
ownerReferences: [{
apiVersion: "string",
blockOwnerDeletion: false,
controller: false,
kind: "string",
name: "string",
uid: "string",
}],
uid: "string",
}],
specs: [{
destinations: [{
name: "string",
namespace: "string",
server: "string",
}],
project: "string",
source: [{
repoUrl: "string",
targetRevision: "string",
chart: "string",
directories: [{
exclude: "string",
include: "string",
jsonnets: [{
extVars: [{
code: false,
name: "string",
value: "string",
}],
libs: ["string"],
tlas: [{
code: false,
name: "string",
value: "string",
}],
}],
recurse: false,
}],
helms: [{
fileParameters: [{
name: "string",
path: "string",
}],
parameters: [{
forceString: false,
name: "string",
value: "string",
}],
passCredentials: false,
releaseName: "string",
valueFiles: ["string"],
values: "string",
version: "string",
}],
ksonnets: [{
environment: "string",
parameters: [{
component: "string",
name: "string",
value: "string",
}],
}],
kustomizes: [{
commonAnnotations: {
string: "string",
},
commonLabels: {
string: "string",
},
forceCommonAnnotations: false,
forceCommonLabels: false,
images: ["string"],
namePrefix: "string",
nameSuffix: "string",
version: "string",
}],
path: "string",
plugins: [{
envs: [{
name: "string",
value: "string",
}],
name: "string",
}],
ref: "string",
}],
sources: [{
repoUrl: "string",
targetRevision: "string",
chart: "string",
directories: [{
exclude: "string",
include: "string",
jsonnets: [{
extVars: [{
code: false,
name: "string",
value: "string",
}],
libs: ["string"],
tlas: [{
code: false,
name: "string",
value: "string",
}],
}],
recurse: false,
}],
helms: [{
fileParameters: [{
name: "string",
path: "string",
}],
parameters: [{
forceString: false,
name: "string",
value: "string",
}],
passCredentials: false,
releaseName: "string",
valueFiles: ["string"],
values: "string",
version: "string",
}],
ksonnets: [{
environment: "string",
parameters: [{
component: "string",
name: "string",
value: "string",
}],
}],
kustomizes: [{
commonAnnotations: {
string: "string",
},
commonLabels: {
string: "string",
},
forceCommonAnnotations: false,
forceCommonLabels: false,
images: ["string"],
namePrefix: "string",
nameSuffix: "string",
version: "string",
}],
path: "string",
plugins: [{
envs: [{
name: "string",
value: "string",
}],
name: "string",
}],
ref: "string",
}],
syncPolicies: [{
automateds: [{
allowEmpty: false,
prune: false,
selfHeal: false,
}],
retries: [{
backoffs: [{
duration: "string",
factor: "string",
maxDuration: "string",
}],
limit: "string",
}],
syncOptions: ["string"],
}],
}],
}],
clusterId: "string",
accountId: "string",
projectId: "string",
optionsRemoveExistingFinalizers: false,
name: "string",
project: "string",
kind: "string",
repoId: "string",
repoIds: ["string"],
requestCascade: false,
requestPropagationPolicy: "string",
skipRepoValidation: false,
upsert: false,
validate: false,
});
type: harness:platform:GitOpsApplications
properties:
accountId: string
agentId: string
applications:
- metadatas:
- annotations:
string: string
clusterName: string
finalizers:
- string
generateName: string
generation: string
labels:
string: string
name: string
namespace: string
ownerReferences:
- apiVersion: string
blockOwnerDeletion: false
controller: false
kind: string
name: string
uid: string
uid: string
specs:
- destinations:
- name: string
namespace: string
server: string
project: string
source:
- chart: string
directories:
- exclude: string
include: string
jsonnets:
- extVars:
- code: false
name: string
value: string
libs:
- string
tlas:
- code: false
name: string
value: string
recurse: false
helms:
- fileParameters:
- name: string
path: string
parameters:
- forceString: false
name: string
value: string
passCredentials: false
releaseName: string
valueFiles:
- string
values: string
version: string
ksonnets:
- environment: string
parameters:
- component: string
name: string
value: string
kustomizes:
- commonAnnotations:
string: string
commonLabels:
string: string
forceCommonAnnotations: false
forceCommonLabels: false
images:
- string
namePrefix: string
nameSuffix: string
version: string
path: string
plugins:
- envs:
- name: string
value: string
name: string
ref: string
repoUrl: string
targetRevision: string
sources:
- chart: string
directories:
- exclude: string
include: string
jsonnets:
- extVars:
- code: false
name: string
value: string
libs:
- string
tlas:
- code: false
name: string
value: string
recurse: false
helms:
- fileParameters:
- name: string
path: string
parameters:
- forceString: false
name: string
value: string
passCredentials: false
releaseName: string
valueFiles:
- string
values: string
version: string
ksonnets:
- environment: string
parameters:
- component: string
name: string
value: string
kustomizes:
- commonAnnotations:
string: string
commonLabels:
string: string
forceCommonAnnotations: false
forceCommonLabels: false
images:
- string
namePrefix: string
nameSuffix: string
version: string
path: string
plugins:
- envs:
- name: string
value: string
name: string
ref: string
repoUrl: string
targetRevision: string
syncPolicies:
- automateds:
- allowEmpty: false
prune: false
selfHeal: false
retries:
- backoffs:
- duration: string
factor: string
maxDuration: string
limit: string
syncOptions:
- string
clusterId: string
kind: string
name: string
optionsRemoveExistingFinalizers: false
orgId: string
project: string
projectId: string
repoId: string
repoIds:
- string
requestCascade: false
requestPropagationPolicy: string
skipRepoValidation: false
upsert: false
validate: false
GitOpsApplications Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GitOpsApplications resource accepts the following input properties:
- Account
Id string - Account identifier of the GitOps application.
- Agent
Id string - Agent identifier of the GitOps application.
- Applications
List<Git
Ops Applications Application> - Definition of the GitOps application resource.
- Cluster
Id string - Cluster identifier of the GitOps application.
- Org
Id string - Organization identifier of the GitOps application.
- Project
Id string - Project identifier of the GitOps application.
- Identifier string
- Identifier of the GitOps application.
- Kind string
- Kind of the GitOps application.
- Name string
- Name of the GitOps application.
- Options
Remove boolExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- Project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- Repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- Repo
Ids List<string> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- Request
Cascade bool - Request cascade to delete the GitOps application.
- Request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- Skip
Repo boolValidation - Indicates if the GitOps application should skip validate repository definition exists.
- Upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- Validate bool
- Indicates if the GitOps application yaml has to be validated.
- Account
Id string - Account identifier of the GitOps application.
- Agent
Id string - Agent identifier of the GitOps application.
- Applications
[]Git
Ops Applications Application Args - Definition of the GitOps application resource.
- Cluster
Id string - Cluster identifier of the GitOps application.
- Org
Id string - Organization identifier of the GitOps application.
- Project
Id string - Project identifier of the GitOps application.
- Identifier string
- Identifier of the GitOps application.
- Kind string
- Kind of the GitOps application.
- Name string
- Name of the GitOps application.
- Options
Remove boolExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- Project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- Repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- Repo
Ids []string - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- Request
Cascade bool - Request cascade to delete the GitOps application.
- Request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- Skip
Repo boolValidation - Indicates if the GitOps application should skip validate repository definition exists.
- Upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- Validate bool
- Indicates if the GitOps application yaml has to be validated.
- account
Id String - Account identifier of the GitOps application.
- agent
Id String - Agent identifier of the GitOps application.
- applications
List<Git
Ops Applications Application> - Definition of the GitOps application resource.
- cluster
Id String - Cluster identifier of the GitOps application.
- org
Id String - Organization identifier of the GitOps application.
- project
Id String - Project identifier of the GitOps application.
- identifier String
- Identifier of the GitOps application.
- kind String
- Kind of the GitOps application.
- name String
- Name of the GitOps application.
- options
Remove BooleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- project String
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- repo
Id String - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids List<String> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade Boolean - Request cascade to delete the GitOps application.
- request
Propagation StringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo BooleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert Boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate Boolean
- Indicates if the GitOps application yaml has to be validated.
- account
Id string - Account identifier of the GitOps application.
- agent
Id string - Agent identifier of the GitOps application.
- applications
Git
Ops Applications Application[] - Definition of the GitOps application resource.
- cluster
Id string - Cluster identifier of the GitOps application.
- org
Id string - Organization identifier of the GitOps application.
- project
Id string - Project identifier of the GitOps application.
- identifier string
- Identifier of the GitOps application.
- kind string
- Kind of the GitOps application.
- name string
- Name of the GitOps application.
- options
Remove booleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids string[] - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade boolean - Request cascade to delete the GitOps application.
- request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo booleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate boolean
- Indicates if the GitOps application yaml has to be validated.
- account_
id str - Account identifier of the GitOps application.
- agent_
id str - Agent identifier of the GitOps application.
- applications
Sequence[Git
Ops Applications Application Args] - Definition of the GitOps application resource.
- cluster_
id str - Cluster identifier of the GitOps application.
- org_
id str - Organization identifier of the GitOps application.
- project_
id str - Project identifier of the GitOps application.
- identifier str
- Identifier of the GitOps application.
- kind str
- Kind of the GitOps application.
- name str
- Name of the GitOps application.
- options_
remove_ boolexisting_ finalizers - Options to remove existing finalizers to delete the GitOps application.
- project str
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- repo_
id str - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo_
ids Sequence[str] - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request_
cascade bool - Request cascade to delete the GitOps application.
- request_
propagation_ strpolicy - Request propagation policy to delete the GitOps application.
- skip_
repo_ boolvalidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate bool
- Indicates if the GitOps application yaml has to be validated.
- account
Id String - Account identifier of the GitOps application.
- agent
Id String - Agent identifier of the GitOps application.
- applications List<Property Map>
- Definition of the GitOps application resource.
- cluster
Id String - Cluster identifier of the GitOps application.
- org
Id String - Organization identifier of the GitOps application.
- project
Id String - Project identifier of the GitOps application.
- identifier String
- Identifier of the GitOps application.
- kind String
- Kind of the GitOps application.
- name String
- Name of the GitOps application.
- options
Remove BooleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- project String
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- repo
Id String - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids List<String> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade Boolean - Request cascade to delete the GitOps application.
- request
Propagation StringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo BooleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert Boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate Boolean
- Indicates if the GitOps application yaml has to be validated.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitOpsApplications 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 GitOpsApplications Resource
Get an existing GitOpsApplications 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?: GitOpsApplicationsState, opts?: CustomResourceOptions): GitOpsApplications
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
agent_id: Optional[str] = None,
applications: Optional[Sequence[GitOpsApplicationsApplicationArgs]] = None,
cluster_id: Optional[str] = None,
identifier: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None,
options_remove_existing_finalizers: Optional[bool] = None,
org_id: Optional[str] = None,
project: Optional[str] = None,
project_id: Optional[str] = None,
repo_id: Optional[str] = None,
repo_ids: Optional[Sequence[str]] = None,
request_cascade: Optional[bool] = None,
request_propagation_policy: Optional[str] = None,
skip_repo_validation: Optional[bool] = None,
upsert: Optional[bool] = None,
validate: Optional[bool] = None) -> GitOpsApplications
func GetGitOpsApplications(ctx *Context, name string, id IDInput, state *GitOpsApplicationsState, opts ...ResourceOption) (*GitOpsApplications, error)
public static GitOpsApplications Get(string name, Input<string> id, GitOpsApplicationsState? state, CustomResourceOptions? opts = null)
public static GitOpsApplications get(String name, Output<String> id, GitOpsApplicationsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account identifier of the GitOps application.
- Agent
Id string - Agent identifier of the GitOps application.
- Applications
List<Git
Ops Applications Application> - Definition of the GitOps application resource.
- Cluster
Id string - Cluster identifier of the GitOps application.
- Identifier string
- Identifier of the GitOps application.
- Kind string
- Kind of the GitOps application.
- Name string
- Name of the GitOps application.
- Options
Remove boolExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- Org
Id string - Organization identifier of the GitOps application.
- Project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- Project
Id string - Project identifier of the GitOps application.
- Repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- Repo
Ids List<string> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- Request
Cascade bool - Request cascade to delete the GitOps application.
- Request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- Skip
Repo boolValidation - Indicates if the GitOps application should skip validate repository definition exists.
- Upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- Validate bool
- Indicates if the GitOps application yaml has to be validated.
- Account
Id string - Account identifier of the GitOps application.
- Agent
Id string - Agent identifier of the GitOps application.
- Applications
[]Git
Ops Applications Application Args - Definition of the GitOps application resource.
- Cluster
Id string - Cluster identifier of the GitOps application.
- Identifier string
- Identifier of the GitOps application.
- Kind string
- Kind of the GitOps application.
- Name string
- Name of the GitOps application.
- Options
Remove boolExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- Org
Id string - Organization identifier of the GitOps application.
- Project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- Project
Id string - Project identifier of the GitOps application.
- Repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- Repo
Ids []string - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- Request
Cascade bool - Request cascade to delete the GitOps application.
- Request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- Skip
Repo boolValidation - Indicates if the GitOps application should skip validate repository definition exists.
- Upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- Validate bool
- Indicates if the GitOps application yaml has to be validated.
- account
Id String - Account identifier of the GitOps application.
- agent
Id String - Agent identifier of the GitOps application.
- applications
List<Git
Ops Applications Application> - Definition of the GitOps application resource.
- cluster
Id String - Cluster identifier of the GitOps application.
- identifier String
- Identifier of the GitOps application.
- kind String
- Kind of the GitOps application.
- name String
- Name of the GitOps application.
- options
Remove BooleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- org
Id String - Organization identifier of the GitOps application.
- project String
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- project
Id String - Project identifier of the GitOps application.
- repo
Id String - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids List<String> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade Boolean - Request cascade to delete the GitOps application.
- request
Propagation StringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo BooleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert Boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate Boolean
- Indicates if the GitOps application yaml has to be validated.
- account
Id string - Account identifier of the GitOps application.
- agent
Id string - Agent identifier of the GitOps application.
- applications
Git
Ops Applications Application[] - Definition of the GitOps application resource.
- cluster
Id string - Cluster identifier of the GitOps application.
- identifier string
- Identifier of the GitOps application.
- kind string
- Kind of the GitOps application.
- name string
- Name of the GitOps application.
- options
Remove booleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- org
Id string - Organization identifier of the GitOps application.
- project string
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- project
Id string - Project identifier of the GitOps application.
- repo
Id string - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids string[] - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade boolean - Request cascade to delete the GitOps application.
- request
Propagation stringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo booleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate boolean
- Indicates if the GitOps application yaml has to be validated.
- account_
id str - Account identifier of the GitOps application.
- agent_
id str - Agent identifier of the GitOps application.
- applications
Sequence[Git
Ops Applications Application Args] - Definition of the GitOps application resource.
- cluster_
id str - Cluster identifier of the GitOps application.
- identifier str
- Identifier of the GitOps application.
- kind str
- Kind of the GitOps application.
- name str
- Name of the GitOps application.
- options_
remove_ boolexisting_ finalizers - Options to remove existing finalizers to delete the GitOps application.
- org_
id str - Organization identifier of the GitOps application.
- project str
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- project_
id str - Project identifier of the GitOps application.
- repo_
id str - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo_
ids Sequence[str] - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request_
cascade bool - Request cascade to delete the GitOps application.
- request_
propagation_ strpolicy - Request propagation policy to delete the GitOps application.
- skip_
repo_ boolvalidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert bool
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate bool
- Indicates if the GitOps application yaml has to be validated.
- account
Id String - Account identifier of the GitOps application.
- agent
Id String - Agent identifier of the GitOps application.
- applications List<Property Map>
- Definition of the GitOps application resource.
- cluster
Id String - Cluster identifier of the GitOps application.
- identifier String
- Identifier of the GitOps application.
- kind String
- Kind of the GitOps application.
- name String
- Name of the GitOps application.
- options
Remove BooleanExisting Finalizers - Options to remove existing finalizers to delete the GitOps application.
- org
Id String - Organization identifier of the GitOps application.
- project String
- The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
- project
Id String - Project identifier of the GitOps application.
- repo
Id String - Repository identifier of the GitOps application. When using skipRepoValidation, this field is not required.
- repo
Ids List<String> - List of repository identifiers of the GitOps for Multi-Source application. Not required if skipRepoValidation is set to true.
- request
Cascade Boolean - Request cascade to delete the GitOps application.
- request
Propagation StringPolicy - Request propagation policy to delete the GitOps application.
- skip
Repo BooleanValidation - Indicates if the GitOps application should skip validate repository definition exists.
- upsert Boolean
- Indicates if the GitOps application should be updated if existing and inserted if not.
- validate Boolean
- Indicates if the GitOps application yaml has to be validated.
Supporting Types
GitOpsApplicationsApplication, GitOpsApplicationsApplicationArgs
- Metadatas
List<Git
Ops Applications Application Metadata> - Metadata corresponding to the resources. This includes all the objects a user must create.
- Specs
List<Git
Ops Applications Application Spec> - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
- Metadatas
[]Git
Ops Applications Application Metadata - Metadata corresponding to the resources. This includes all the objects a user must create.
- Specs
[]Git
Ops Applications Application Spec - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
- metadatas
List<Git
Ops Applications Application Metadata> - Metadata corresponding to the resources. This includes all the objects a user must create.
- specs
List<Git
Ops Applications Application Spec> - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
- metadatas
Git
Ops Applications Application Metadata[] - Metadata corresponding to the resources. This includes all the objects a user must create.
- specs
Git
Ops Applications Application Spec[] - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
- metadatas
Sequence[Git
Ops Applications Application Metadata] - Metadata corresponding to the resources. This includes all the objects a user must create.
- specs
Sequence[Git
Ops Applications Application Spec] - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
- metadatas List<Property Map>
- Metadata corresponding to the resources. This includes all the objects a user must create.
- specs List<Property Map>
- Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
GitOpsApplicationsApplicationMetadata, GitOpsApplicationsApplicationMetadataArgs
- Annotations Dictionary<string, string>
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- Cluster
Name string - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- Finalizers List<string>
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- Generate
Name string - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- Generation string
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- Labels Dictionary<string, string>
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- Name string
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- Namespace string
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- Owner
References List<GitOps Applications Application Metadata Owner Reference> - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- Uid string
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- Annotations map[string]string
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- Cluster
Name string - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- Finalizers []string
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- Generate
Name string - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- Generation string
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- Labels map[string]string
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- Name string
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- Namespace string
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- Owner
References []GitOps Applications Application Metadata Owner Reference - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- Uid string
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations Map<String,String>
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- cluster
Name String - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- finalizers List<String>
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- generate
Name String - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- generation String
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- labels Map<String,String>
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- name String
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- namespace String
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- owner
References List<GitOps Applications Application Metadata Owner Reference> - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- uid String
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations {[key: string]: string}
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- cluster
Name string - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- finalizers string[]
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- generate
Name string - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- generation string
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- labels {[key: string]: string}
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- name string
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- namespace string
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- owner
References GitOps Applications Application Metadata Owner Reference[] - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- uid string
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations Mapping[str, str]
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- cluster_
name str - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- finalizers Sequence[str]
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- generate_
name str - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- generation str
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- labels Mapping[str, str]
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- name str
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- namespace str
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- owner_
references Sequence[GitOps Applications Application Metadata Owner Reference] - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- uid str
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
- annotations Map<String>
- Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
- cluster
Name String - Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
- finalizers List<String>
- Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
- generate
Name String - An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
- generation String
- A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
- labels Map<String>
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
- name String
- Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
- namespace String
- Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
- owner
References List<Property Map> - List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
- uid String
- UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
GitOpsApplicationsApplicationMetadataOwnerReference, GitOpsApplicationsApplicationMetadataOwnerReferenceArgs
- Api
Version string - API version of the referent.
- Block
Owner boolDeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- Controller bool
- Indicates if the reference points to the managing controller.
- Kind string
- Kind of the referent.
- Name string
- Name of the referent.
- Uid string
- UID of the referent.
- Api
Version string - API version of the referent.
- Block
Owner boolDeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- Controller bool
- Indicates if the reference points to the managing controller.
- Kind string
- Kind of the referent.
- Name string
- Name of the referent.
- Uid string
- UID of the referent.
- api
Version String - API version of the referent.
- block
Owner BooleanDeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller Boolean
- Indicates if the reference points to the managing controller.
- kind String
- Kind of the referent.
- name String
- Name of the referent.
- uid String
- UID of the referent.
- api
Version string - API version of the referent.
- block
Owner booleanDeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller boolean
- Indicates if the reference points to the managing controller.
- kind string
- Kind of the referent.
- name string
- Name of the referent.
- uid string
- UID of the referent.
- api_
version str - API version of the referent.
- block_
owner_ booldeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller bool
- Indicates if the reference points to the managing controller.
- kind str
- Kind of the referent.
- name str
- Name of the referent.
- uid str
- UID of the referent.
- api
Version String - API version of the referent.
- block
Owner BooleanDeletion - If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller Boolean
- Indicates if the reference points to the managing controller.
- kind String
- Kind of the referent.
- name String
- Name of the referent.
- uid String
- UID of the referent.
GitOpsApplicationsApplicationSpec, GitOpsApplicationsApplicationSpecArgs
- Destinations
List<Git
Ops Applications Application Spec Destination> - Information about the GitOps application's destination.
- Project string
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- Source
List<Git
Ops Applications Application Spec Source> - Contains all information about the source of the GitOps application.
- Sources
List<Git
Ops Applications Application Spec Source> - List of sources for the GitOps application. Multi Source support
- Sync
Policies List<GitOps Applications Application Spec Sync Policy> - Controls when a sync will be performed in response to updates in git.
- Destinations
[]Git
Ops Applications Application Spec Destination - Information about the GitOps application's destination.
- Project string
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- Source
[]Git
Ops Applications Application Spec Source - Contains all information about the source of the GitOps application.
- Sources
[]Git
Ops Applications Application Spec Source - List of sources for the GitOps application. Multi Source support
- Sync
Policies []GitOps Applications Application Spec Sync Policy - Controls when a sync will be performed in response to updates in git.
- destinations
List<Git
Ops Applications Application Spec Destination> - Information about the GitOps application's destination.
- project String
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- source
List<Git
Ops Applications Application Spec Source> - Contains all information about the source of the GitOps application.
- sources
List<Git
Ops Applications Application Spec Source> - List of sources for the GitOps application. Multi Source support
- sync
Policies List<GitOps Applications Application Spec Sync Policy> - Controls when a sync will be performed in response to updates in git.
- destinations
Git
Ops Applications Application Spec Destination[] - Information about the GitOps application's destination.
- project string
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- source
Git
Ops Applications Application Spec Source[] - Contains all information about the source of the GitOps application.
- sources
Git
Ops Applications Application Spec Source[] - List of sources for the GitOps application. Multi Source support
- sync
Policies GitOps Applications Application Spec Sync Policy[] - Controls when a sync will be performed in response to updates in git.
- destinations
Sequence[Git
Ops Applications Application Spec Destination] - Information about the GitOps application's destination.
- project str
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- source
Sequence[Git
Ops Applications Application Spec Source] - Contains all information about the source of the GitOps application.
- sources
Sequence[Git
Ops Applications Application Spec Source] - List of sources for the GitOps application. Multi Source support
- sync_
policies Sequence[GitOps Applications Application Spec Sync Policy] - Controls when a sync will be performed in response to updates in git.
- destinations List<Property Map>
- Information about the GitOps application's destination.
- project String
- The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
- source List<Property Map>
- Contains all information about the source of the GitOps application.
- sources List<Property Map>
- List of sources for the GitOps application. Multi Source support
- sync
Policies List<Property Map> - Controls when a sync will be performed in response to updates in git.
GitOpsApplicationsApplicationSpecDestination, GitOpsApplicationsApplicationSpecDestinationArgs
- Name string
- URL of the target cluster and must be set to the kubernetes control plane API.
- Namespace string
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- Server string
- URL of the target cluster server for the GitOps application.
- Name string
- URL of the target cluster and must be set to the kubernetes control plane API.
- Namespace string
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- Server string
- URL of the target cluster server for the GitOps application.
- name String
- URL of the target cluster and must be set to the kubernetes control plane API.
- namespace String
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- server String
- URL of the target cluster server for the GitOps application.
- name string
- URL of the target cluster and must be set to the kubernetes control plane API.
- namespace string
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- server string
- URL of the target cluster server for the GitOps application.
- name str
- URL of the target cluster and must be set to the kubernetes control plane API.
- namespace str
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- server str
- URL of the target cluster server for the GitOps application.
- name String
- URL of the target cluster and must be set to the kubernetes control plane API.
- namespace String
- Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
- server String
- URL of the target cluster server for the GitOps application.
GitOpsApplicationsApplicationSpecSource, GitOpsApplicationsApplicationSpecSourceArgs
- Repo
Url string - URL to the repository (git or helm) that contains the GitOps application manifests.
- Target
Revision string - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- Chart string
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- Directories
List<Git
Ops Applications Application Spec Source Directory> - Options for applications of type plain YAML or Jsonnet.
- Helms
List<Git
Ops Applications Application Spec Source Helm> - Holds helm specific options.
- Ksonnets
List<Git
Ops Applications Application Spec Source Ksonnet> - Ksonnet specific options.
- Kustomizes
List<Git
Ops Applications Application Spec Source Kustomize> - Options specific to a GitOps application source specific to Kustomize.
- Path string
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- Plugins
List<Git
Ops Applications Application Spec Source Plugin> - Options specific to config management plugins.
- Ref string
- Reference name to be used in other source spec, used for multi-source applications.
- Repo
Url string - URL to the repository (git or helm) that contains the GitOps application manifests.
- Target
Revision string - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- Chart string
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- Directories
[]Git
Ops Applications Application Spec Source Directory - Options for applications of type plain YAML or Jsonnet.
- Helms
[]Git
Ops Applications Application Spec Source Helm - Holds helm specific options.
- Ksonnets
[]Git
Ops Applications Application Spec Source Ksonnet - Ksonnet specific options.
- Kustomizes
[]Git
Ops Applications Application Spec Source Kustomize - Options specific to a GitOps application source specific to Kustomize.
- Path string
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- Plugins
[]Git
Ops Applications Application Spec Source Plugin - Options specific to config management plugins.
- Ref string
- Reference name to be used in other source spec, used for multi-source applications.
- repo
Url String - URL to the repository (git or helm) that contains the GitOps application manifests.
- target
Revision String - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- chart String
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- directories
List<Git
Ops Applications Application Spec Source Directory> - Options for applications of type plain YAML or Jsonnet.
- helms
List<Git
Ops Applications Application Spec Source Helm> - Holds helm specific options.
- ksonnets
List<Git
Ops Applications Application Spec Source Ksonnet> - Ksonnet specific options.
- kustomizes
List<Git
Ops Applications Application Spec Source Kustomize> - Options specific to a GitOps application source specific to Kustomize.
- path String
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- plugins
List<Git
Ops Applications Application Spec Source Plugin> - Options specific to config management plugins.
- ref String
- Reference name to be used in other source spec, used for multi-source applications.
- repo
Url string - URL to the repository (git or helm) that contains the GitOps application manifests.
- target
Revision string - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- chart string
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- directories
Git
Ops Applications Application Spec Source Directory[] - Options for applications of type plain YAML or Jsonnet.
- helms
Git
Ops Applications Application Spec Source Helm[] - Holds helm specific options.
- ksonnets
Git
Ops Applications Application Spec Source Ksonnet[] - Ksonnet specific options.
- kustomizes
Git
Ops Applications Application Spec Source Kustomize[] - Options specific to a GitOps application source specific to Kustomize.
- path string
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- plugins
Git
Ops Applications Application Spec Source Plugin[] - Options specific to config management plugins.
- ref string
- Reference name to be used in other source spec, used for multi-source applications.
- repo_
url str - URL to the repository (git or helm) that contains the GitOps application manifests.
- target_
revision str - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- chart str
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- directories
Sequence[Git
Ops Applications Application Spec Source Directory] - Options for applications of type plain YAML or Jsonnet.
- helms
Sequence[Git
Ops Applications Application Spec Source Helm] - Holds helm specific options.
- ksonnets
Sequence[Git
Ops Applications Application Spec Source Ksonnet] - Ksonnet specific options.
- kustomizes
Sequence[Git
Ops Applications Application Spec Source Kustomize] - Options specific to a GitOps application source specific to Kustomize.
- path str
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- plugins
Sequence[Git
Ops Applications Application Spec Source Plugin] - Options specific to config management plugins.
- ref str
- Reference name to be used in other source spec, used for multi-source applications.
- repo
Url String - URL to the repository (git or helm) that contains the GitOps application manifests.
- target
Revision String - Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
- chart String
- Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
- directories List<Property Map>
- Options for applications of type plain YAML or Jsonnet.
- helms List<Property Map>
- Holds helm specific options.
- ksonnets List<Property Map>
- Ksonnet specific options.
- kustomizes List<Property Map>
- Options specific to a GitOps application source specific to Kustomize.
- path String
- Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
- plugins List<Property Map>
- Options specific to config management plugins.
- ref String
- Reference name to be used in other source spec, used for multi-source applications.
GitOpsApplicationsApplicationSpecSourceDirectory, GitOpsApplicationsApplicationSpecSourceDirectoryArgs
- Exclude string
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- Include string
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- Jsonnets
List<Git
Ops Applications Application Spec Source Directory Jsonnet> - Options specific to applications of type Jsonnet.
- Recurse bool
- Indicates to scan a directory recursively for manifests.
- Exclude string
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- Include string
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- Jsonnets
[]Git
Ops Applications Application Spec Source Directory Jsonnet - Options specific to applications of type Jsonnet.
- Recurse bool
- Indicates to scan a directory recursively for manifests.
- exclude String
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- include String
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- jsonnets
List<Git
Ops Applications Application Spec Source Directory Jsonnet> - Options specific to applications of type Jsonnet.
- recurse Boolean
- Indicates to scan a directory recursively for manifests.
- exclude string
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- include string
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- jsonnets
Git
Ops Applications Application Spec Source Directory Jsonnet[] - Options specific to applications of type Jsonnet.
- recurse boolean
- Indicates to scan a directory recursively for manifests.
- exclude str
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- include str
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- jsonnets
Sequence[Git
Ops Applications Application Spec Source Directory Jsonnet] - Options specific to applications of type Jsonnet.
- recurse bool
- Indicates to scan a directory recursively for manifests.
- exclude String
- Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
- include String
- Glob pattern to match paths against that should be explicitly included during manifest generation.
- jsonnets List<Property Map>
- Options specific to applications of type Jsonnet.
- recurse Boolean
- Indicates to scan a directory recursively for manifests.
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs
- Ext
Vars List<GitOps Applications Application Spec Source Directory Jsonnet Ext Var> - List of jsonnet external variables.
- Libs List<string>
- Additional library search dirs.
- Tlas
List<Git
Ops Applications Application Spec Source Directory Jsonnet Tla> - List of jsonnet top-level arguments(TLAS).
- Ext
Vars []GitOps Applications Application Spec Source Directory Jsonnet Ext Var - List of jsonnet external variables.
- Libs []string
- Additional library search dirs.
- Tlas
[]Git
Ops Applications Application Spec Source Directory Jsonnet Tla - List of jsonnet top-level arguments(TLAS).
- ext
Vars List<GitOps Applications Application Spec Source Directory Jsonnet Ext Var> - List of jsonnet external variables.
- libs List<String>
- Additional library search dirs.
- tlas
List<Git
Ops Applications Application Spec Source Directory Jsonnet Tla> - List of jsonnet top-level arguments(TLAS).
- ext
Vars GitOps Applications Application Spec Source Directory Jsonnet Ext Var[] - List of jsonnet external variables.
- libs string[]
- Additional library search dirs.
- tlas
Git
Ops Applications Application Spec Source Directory Jsonnet Tla[] - List of jsonnet top-level arguments(TLAS).
- ext_
vars Sequence[GitOps Applications Application Spec Source Directory Jsonnet Ext Var] - List of jsonnet external variables.
- libs Sequence[str]
- Additional library search dirs.
- tlas
Sequence[Git
Ops Applications Application Spec Source Directory Jsonnet Tla] - List of jsonnet top-level arguments(TLAS).
- ext
Vars List<Property Map> - List of jsonnet external variables.
- libs List<String>
- Additional library search dirs.
- tlas List<Property Map>
- List of jsonnet top-level arguments(TLAS).
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs
GitOpsApplicationsApplicationSpecSourceHelm, GitOpsApplicationsApplicationSpecSourceHelmArgs
- File
Parameters List<GitOps Applications Application Spec Source Helm File Parameter> - File parameters to the helm template.
- Parameters
List<Git
Ops Applications Application Spec Source Helm Parameter> - List of helm parameters which are passed to the helm template command upon manifest generation.
- Pass
Credentials bool - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- Release
Name string - Helm release name to use. If omitted it will use the GitOps application name.
- Value
Files List<string> - List of helm value files to use when generating a template.
- Values string
- Helm values to be passed to helm template, typically defined as a block.
- Version string
- Helm version to use for templating (either "2" or "3")
- File
Parameters []GitOps Applications Application Spec Source Helm File Parameter - File parameters to the helm template.
- Parameters
[]Git
Ops Applications Application Spec Source Helm Parameter - List of helm parameters which are passed to the helm template command upon manifest generation.
- Pass
Credentials bool - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- Release
Name string - Helm release name to use. If omitted it will use the GitOps application name.
- Value
Files []string - List of helm value files to use when generating a template.
- Values string
- Helm values to be passed to helm template, typically defined as a block.
- Version string
- Helm version to use for templating (either "2" or "3")
- file
Parameters List<GitOps Applications Application Spec Source Helm File Parameter> - File parameters to the helm template.
- parameters
List<Git
Ops Applications Application Spec Source Helm Parameter> - List of helm parameters which are passed to the helm template command upon manifest generation.
- pass
Credentials Boolean - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- release
Name String - Helm release name to use. If omitted it will use the GitOps application name.
- value
Files List<String> - List of helm value files to use when generating a template.
- values String
- Helm values to be passed to helm template, typically defined as a block.
- version String
- Helm version to use for templating (either "2" or "3")
- file
Parameters GitOps Applications Application Spec Source Helm File Parameter[] - File parameters to the helm template.
- parameters
Git
Ops Applications Application Spec Source Helm Parameter[] - List of helm parameters which are passed to the helm template command upon manifest generation.
- pass
Credentials boolean - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- release
Name string - Helm release name to use. If omitted it will use the GitOps application name.
- value
Files string[] - List of helm value files to use when generating a template.
- values string
- Helm values to be passed to helm template, typically defined as a block.
- version string
- Helm version to use for templating (either "2" or "3")
- file_
parameters Sequence[GitOps Applications Application Spec Source Helm File Parameter] - File parameters to the helm template.
- parameters
Sequence[Git
Ops Applications Application Spec Source Helm Parameter] - List of helm parameters which are passed to the helm template command upon manifest generation.
- pass_
credentials bool - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- release_
name str - Helm release name to use. If omitted it will use the GitOps application name.
- value_
files Sequence[str] - List of helm value files to use when generating a template.
- values str
- Helm values to be passed to helm template, typically defined as a block.
- version str
- Helm version to use for templating (either "2" or "3")
- file
Parameters List<Property Map> - File parameters to the helm template.
- parameters List<Property Map>
- List of helm parameters which are passed to the helm template command upon manifest generation.
- pass
Credentials Boolean - Indicates if to pass credentials to all domains (helm's --pass-credentials)
- release
Name String - Helm release name to use. If omitted it will use the GitOps application name.
- value
Files List<String> - List of helm value files to use when generating a template.
- values String
- Helm values to be passed to helm template, typically defined as a block.
- version String
- Helm version to use for templating (either "2" or "3")
GitOpsApplicationsApplicationSpecSourceHelmFileParameter, GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs
GitOpsApplicationsApplicationSpecSourceHelmParameter, GitOpsApplicationsApplicationSpecSourceHelmParameterArgs
- Force
String bool - Indicates if helm should interpret booleans and numbers as strings.
- Name string
- Name of the helm parameter.
- Value string
- Value of the Helm parameter.
- Force
String bool - Indicates if helm should interpret booleans and numbers as strings.
- Name string
- Name of the helm parameter.
- Value string
- Value of the Helm parameter.
- force
String Boolean - Indicates if helm should interpret booleans and numbers as strings.
- name String
- Name of the helm parameter.
- value String
- Value of the Helm parameter.
- force
String boolean - Indicates if helm should interpret booleans and numbers as strings.
- name string
- Name of the helm parameter.
- value string
- Value of the Helm parameter.
- force_
string bool - Indicates if helm should interpret booleans and numbers as strings.
- name str
- Name of the helm parameter.
- value str
- Value of the Helm parameter.
- force
String Boolean - Indicates if helm should interpret booleans and numbers as strings.
- name String
- Name of the helm parameter.
- value String
- Value of the Helm parameter.
GitOpsApplicationsApplicationSpecSourceKsonnet, GitOpsApplicationsApplicationSpecSourceKsonnetArgs
- Environment string
- Ksonnet application environment name.
- Parameters
List<Git
Ops Applications Application Spec Source Ksonnet Parameter> - List of ksonnet component parameter override values.
- Environment string
- Ksonnet application environment name.
- Parameters
[]Git
Ops Applications Application Spec Source Ksonnet Parameter - List of ksonnet component parameter override values.
- environment String
- Ksonnet application environment name.
- parameters
List<Git
Ops Applications Application Spec Source Ksonnet Parameter> - List of ksonnet component parameter override values.
- environment string
- Ksonnet application environment name.
- parameters
Git
Ops Applications Application Spec Source Ksonnet Parameter[] - List of ksonnet component parameter override values.
- environment str
- Ksonnet application environment name.
- parameters
Sequence[Git
Ops Applications Application Spec Source Ksonnet Parameter] - List of ksonnet component parameter override values.
- environment String
- Ksonnet application environment name.
- parameters List<Property Map>
- List of ksonnet component parameter override values.
GitOpsApplicationsApplicationSpecSourceKsonnetParameter, GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs
GitOpsApplicationsApplicationSpecSourceKustomize, GitOpsApplicationsApplicationSpecSourceKustomizeArgs
- Common
Annotations Dictionary<string, string> - List of additional annotations to add to rendered manifests.
- Common
Labels Dictionary<string, string> - List of additional labels to add to rendered manifests.
- Force
Common boolAnnotations - Indicates if to force applying common annotations to resources for kustomize apps.
- Force
Common boolLabels - Indicates if to force apply common labels to resources for kustomize apps.
- Images List<string>
- List of kustomize image override specifications.
- Name
Prefix string - Prefix prepended to resources for kustomize apps.
- Name
Suffix string - Suffix appended to resources for kustomize apps.
- Version string
- Version of kustomize to use for rendering manifests.
- Common
Annotations map[string]string - List of additional annotations to add to rendered manifests.
- Common
Labels map[string]string - List of additional labels to add to rendered manifests.
- Force
Common boolAnnotations - Indicates if to force applying common annotations to resources for kustomize apps.
- Force
Common boolLabels - Indicates if to force apply common labels to resources for kustomize apps.
- Images []string
- List of kustomize image override specifications.
- Name
Prefix string - Prefix prepended to resources for kustomize apps.
- Name
Suffix string - Suffix appended to resources for kustomize apps.
- Version string
- Version of kustomize to use for rendering manifests.
- common
Annotations Map<String,String> - List of additional annotations to add to rendered manifests.
- common
Labels Map<String,String> - List of additional labels to add to rendered manifests.
- force
Common BooleanAnnotations - Indicates if to force applying common annotations to resources for kustomize apps.
- force
Common BooleanLabels - Indicates if to force apply common labels to resources for kustomize apps.
- images List<String>
- List of kustomize image override specifications.
- name
Prefix String - Prefix prepended to resources for kustomize apps.
- name
Suffix String - Suffix appended to resources for kustomize apps.
- version String
- Version of kustomize to use for rendering manifests.
- common
Annotations {[key: string]: string} - List of additional annotations to add to rendered manifests.
- common
Labels {[key: string]: string} - List of additional labels to add to rendered manifests.
- force
Common booleanAnnotations - Indicates if to force applying common annotations to resources for kustomize apps.
- force
Common booleanLabels - Indicates if to force apply common labels to resources for kustomize apps.
- images string[]
- List of kustomize image override specifications.
- name
Prefix string - Prefix prepended to resources for kustomize apps.
- name
Suffix string - Suffix appended to resources for kustomize apps.
- version string
- Version of kustomize to use for rendering manifests.
- common_
annotations Mapping[str, str] - List of additional annotations to add to rendered manifests.
- common_
labels Mapping[str, str] - List of additional labels to add to rendered manifests.
- force_
common_ boolannotations - Indicates if to force applying common annotations to resources for kustomize apps.
- force_
common_ boollabels - Indicates if to force apply common labels to resources for kustomize apps.
- images Sequence[str]
- List of kustomize image override specifications.
- name_
prefix str - Prefix prepended to resources for kustomize apps.
- name_
suffix str - Suffix appended to resources for kustomize apps.
- version str
- Version of kustomize to use for rendering manifests.
- common
Annotations Map<String> - List of additional annotations to add to rendered manifests.
- common
Labels Map<String> - List of additional labels to add to rendered manifests.
- force
Common BooleanAnnotations - Indicates if to force applying common annotations to resources for kustomize apps.
- force
Common BooleanLabels - Indicates if to force apply common labels to resources for kustomize apps.
- images List<String>
- List of kustomize image override specifications.
- name
Prefix String - Prefix prepended to resources for kustomize apps.
- name
Suffix String - Suffix appended to resources for kustomize apps.
- version String
- Version of kustomize to use for rendering manifests.
GitOpsApplicationsApplicationSpecSourcePlugin, GitOpsApplicationsApplicationSpecSourcePluginArgs
- Envs
List<Git
Ops Applications Application Spec Source Plugin Env> - Entry in the GitOps application's environment.
- Name string
- Name of the plugin.
- Envs
[]Git
Ops Applications Application Spec Source Plugin Env - Entry in the GitOps application's environment.
- Name string
- Name of the plugin.
- envs
List<Git
Ops Applications Application Spec Source Plugin Env> - Entry in the GitOps application's environment.
- name String
- Name of the plugin.
- envs
Git
Ops Applications Application Spec Source Plugin Env[] - Entry in the GitOps application's environment.
- name string
- Name of the plugin.
- envs
Sequence[Git
Ops Applications Application Spec Source Plugin Env] - Entry in the GitOps application's environment.
- name str
- Name of the plugin.
- envs List<Property Map>
- Entry in the GitOps application's environment.
- name String
- Name of the plugin.
GitOpsApplicationsApplicationSpecSourcePluginEnv, GitOpsApplicationsApplicationSpecSourcePluginEnvArgs
GitOpsApplicationsApplicationSpecSyncPolicy, GitOpsApplicationsApplicationSpecSyncPolicyArgs
- Automateds
List<Git
Ops Applications Application Spec Sync Policy Automated> - Controls the behavior of an automated sync.
- Retries
List<Git
Ops Applications Application Spec Sync Policy Retry> - Contains information about the strategy to apply when a sync failed.
- Sync
Options List<string> - Options allow you to specify whole app sync-options.
- Automateds
[]Git
Ops Applications Application Spec Sync Policy Automated - Controls the behavior of an automated sync.
- Retries
[]Git
Ops Applications Application Spec Sync Policy Retry - Contains information about the strategy to apply when a sync failed.
- Sync
Options []string - Options allow you to specify whole app sync-options.
- automateds
List<Git
Ops Applications Application Spec Sync Policy Automated> - Controls the behavior of an automated sync.
- retries
List<Git
Ops Applications Application Spec Sync Policy Retry> - Contains information about the strategy to apply when a sync failed.
- sync
Options List<String> - Options allow you to specify whole app sync-options.
- automateds
Git
Ops Applications Application Spec Sync Policy Automated[] - Controls the behavior of an automated sync.
- retries
Git
Ops Applications Application Spec Sync Policy Retry[] - Contains information about the strategy to apply when a sync failed.
- sync
Options string[] - Options allow you to specify whole app sync-options.
- automateds
Sequence[Git
Ops Applications Application Spec Sync Policy Automated] - Controls the behavior of an automated sync.
- retries
Sequence[Git
Ops Applications Application Spec Sync Policy Retry] - Contains information about the strategy to apply when a sync failed.
- sync_
options Sequence[str] - Options allow you to specify whole app sync-options.
- automateds List<Property Map>
- Controls the behavior of an automated sync.
- retries List<Property Map>
- Contains information about the strategy to apply when a sync failed.
- sync
Options List<String> - Options allow you to specify whole app sync-options.
GitOpsApplicationsApplicationSpecSyncPolicyAutomated, GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs
- Allow
Empty bool - Indicates to allows apps to have zero live resources (default: false).
- Prune bool
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- Self
Heal bool - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
- Allow
Empty bool - Indicates to allows apps to have zero live resources (default: false).
- Prune bool
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- Self
Heal bool - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
- allow
Empty Boolean - Indicates to allows apps to have zero live resources (default: false).
- prune Boolean
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- self
Heal Boolean - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
- allow
Empty boolean - Indicates to allows apps to have zero live resources (default: false).
- prune boolean
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- self
Heal boolean - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
- allow_
empty bool - Indicates to allows apps to have zero live resources (default: false).
- prune bool
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- self_
heal bool - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
- allow
Empty Boolean - Indicates to allows apps to have zero live resources (default: false).
- prune Boolean
- Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
- self
Heal Boolean - Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
GitOpsApplicationsApplicationSpecSyncPolicyRetry, GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs
- Backoffs
List<Git
Ops Applications Application Spec Sync Policy Retry Backoff> - Backoff strategy to use on subsequent retries for failing syncs.
- Limit string
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
- Backoffs
[]Git
Ops Applications Application Spec Sync Policy Retry Backoff - Backoff strategy to use on subsequent retries for failing syncs.
- Limit string
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
- backoffs
List<Git
Ops Applications Application Spec Sync Policy Retry Backoff> - Backoff strategy to use on subsequent retries for failing syncs.
- limit String
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
- backoffs
Git
Ops Applications Application Spec Sync Policy Retry Backoff[] - Backoff strategy to use on subsequent retries for failing syncs.
- limit string
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
- backoffs
Sequence[Git
Ops Applications Application Spec Sync Policy Retry Backoff] - Backoff strategy to use on subsequent retries for failing syncs.
- limit str
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
- backoffs List<Property Map>
- Backoff strategy to use on subsequent retries for failing syncs.
- limit String
- Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff, GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs
- Duration string
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- Factor string
- Factor to multiply the base duration after each failed retry.
- Max
Duration string - Maximum amount of time allowed of the backoff strategy.
- Duration string
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- Factor string
- Factor to multiply the base duration after each failed retry.
- Max
Duration string - Maximum amount of time allowed of the backoff strategy.
- duration String
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- factor String
- Factor to multiply the base duration after each failed retry.
- max
Duration String - Maximum amount of time allowed of the backoff strategy.
- duration string
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- factor string
- Factor to multiply the base duration after each failed retry.
- max
Duration string - Maximum amount of time allowed of the backoff strategy.
- duration str
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- factor str
- Factor to multiply the base duration after each failed retry.
- max_
duration str - Maximum amount of time allowed of the backoff strategy.
- duration String
- Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
- factor String
- Factor to multiply the base duration after each failed retry.
- max
Duration String - Maximum amount of time allowed of the backoff strategy.
Import
Import a Project level Gitops Application
$ pulumi import harness:platform/gitOpsApplications:GitOpsApplications example <organization_id>/<project_id>/<agent_id>/<app_name>
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.