1. Packages
  2. ArgoCD
  3. API Docs
  4. Application
Argo CD v1.0.1 published on Friday, Feb 21, 2025 by Three141

argocd.Application

Explore with Pulumi AI

Manages applications within ArgoCD.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as argocd from "@three14/pulumi-argocd";

// Kustomize application
const kustomize = new argocd.Application("kustomize", {
    metadata: {
        name: "kustomize-app",
        namespace: "argocd",
        labels: {
            test: "true",
        },
    },
    cascade: false,
    wait: true,
    spec: {
        project: "myproject",
        destination: {
            server: "https://kubernetes.default.svc",
            namespace: "foo",
        },
        sources: [{
            repoUrl: "https://github.com/kubernetes-sigs/kustomize",
            path: "examples/helloWorld",
            targetRevision: "master",
            kustomize: {
                namePrefix: "foo-",
                nameSuffix: "-bar",
                images: ["hashicorp/terraform:light"],
                commonLabels: {
                    "this.is.a.common": "la-bel",
                    "another.io/one": "true",
                },
            },
        }],
        syncPolicy: {
            automated: {
                prune: true,
                selfHeal: true,
                allowEmpty: true,
            },
            syncOptions: ["Validate=false"],
            retry: {
                limit: "5",
                backoff: {
                    duration: "30s",
                    maxDuration: "2m",
                    factor: "2",
                },
            },
        },
        ignoreDifferences: [
            {
                group: "apps",
                kind: "Deployment",
                jsonPointers: ["/spec/replicas"],
            },
            {
                group: "apps",
                kind: "StatefulSet",
                name: "someStatefulSet",
                jsonPointers: [
                    "/spec/replicas",
                    "/spec/template/spec/metadata/labels/bar",
                ],
                jqPathExpressions: [
                    ".spec.replicas",
                    ".spec.template.spec.metadata.labels.bar",
                ],
            },
        ],
    },
});
// Helm application
const helm = new argocd.Application("helm", {
    metadata: {
        name: "helm-app",
        namespace: "argocd",
        labels: {
            test: "true",
        },
    },
    spec: {
        destination: {
            server: "https://kubernetes.default.svc",
            namespace: "default",
        },
        sources: [{
            repoUrl: "https://some.chart.repo.io",
            chart: "mychart",
            targetRevision: "1.2.3",
            helm: {
                releaseName: "testing",
                parameters: [
                    {
                        name: "image.tag",
                        value: "1.2.3",
                    },
                    {
                        name: "someotherparameter",
                        value: "true",
                    },
                ],
                valueFiles: ["values-test.yml"],
                values: JSON.stringify({
                    someparameter: {
                        enabled: true,
                        someArray: [
                            "foo",
                            "bar",
                        ],
                    },
                }),
            },
        }],
    },
});
// Multiple Application Sources with Helm value files from external Git repository
const multipleSources = new argocd.Application("multiple_sources", {
    metadata: {
        name: "helm-app-with-external-values",
        namespace: "argocd",
    },
    spec: {
        project: "default",
        sources: [
            {
                repoUrl: "https://charts.helm.sh/stable",
                chart: "wordpress",
                targetRevision: "9.0.3",
                helm: {
                    valueFiles: ["$values/helm-dependency/values.yaml"],
                },
            },
            {
                repoUrl: "https://github.com/argoproj/argocd-example-apps.git",
                targetRevision: "HEAD",
                ref: "values",
            },
        ],
        destination: {
            server: "https://kubernetes.default.svc",
            namespace: "default",
        },
    },
});
Copy
import pulumi
import json
import pulumi_argocd as argocd

# Kustomize application
kustomize = argocd.Application("kustomize",
    metadata={
        "name": "kustomize-app",
        "namespace": "argocd",
        "labels": {
            "test": "true",
        },
    },
    cascade=False,
    wait=True,
    spec={
        "project": "myproject",
        "destination": {
            "server": "https://kubernetes.default.svc",
            "namespace": "foo",
        },
        "sources": [{
            "repo_url": "https://github.com/kubernetes-sigs/kustomize",
            "path": "examples/helloWorld",
            "target_revision": "master",
            "kustomize": {
                "name_prefix": "foo-",
                "name_suffix": "-bar",
                "images": ["hashicorp/terraform:light"],
                "common_labels": {
                    "this.is.a.common": "la-bel",
                    "another.io/one": "true",
                },
            },
        }],
        "sync_policy": {
            "automated": {
                "prune": True,
                "self_heal": True,
                "allow_empty": True,
            },
            "sync_options": ["Validate=false"],
            "retry": {
                "limit": "5",
                "backoff": {
                    "duration": "30s",
                    "max_duration": "2m",
                    "factor": "2",
                },
            },
        },
        "ignore_differences": [
            {
                "group": "apps",
                "kind": "Deployment",
                "json_pointers": ["/spec/replicas"],
            },
            {
                "group": "apps",
                "kind": "StatefulSet",
                "name": "someStatefulSet",
                "json_pointers": [
                    "/spec/replicas",
                    "/spec/template/spec/metadata/labels/bar",
                ],
                "jq_path_expressions": [
                    ".spec.replicas",
                    ".spec.template.spec.metadata.labels.bar",
                ],
            },
        ],
    })
# Helm application
helm = argocd.Application("helm",
    metadata={
        "name": "helm-app",
        "namespace": "argocd",
        "labels": {
            "test": "true",
        },
    },
    spec={
        "destination": {
            "server": "https://kubernetes.default.svc",
            "namespace": "default",
        },
        "sources": [{
            "repo_url": "https://some.chart.repo.io",
            "chart": "mychart",
            "target_revision": "1.2.3",
            "helm": {
                "release_name": "testing",
                "parameters": [
                    {
                        "name": "image.tag",
                        "value": "1.2.3",
                    },
                    {
                        "name": "someotherparameter",
                        "value": "true",
                    },
                ],
                "value_files": ["values-test.yml"],
                "values": json.dumps({
                    "someparameter": {
                        "enabled": True,
                        "someArray": [
                            "foo",
                            "bar",
                        ],
                    },
                }),
            },
        }],
    })
# Multiple Application Sources with Helm value files from external Git repository
multiple_sources = argocd.Application("multiple_sources",
    metadata={
        "name": "helm-app-with-external-values",
        "namespace": "argocd",
    },
    spec={
        "project": "default",
        "sources": [
            {
                "repo_url": "https://charts.helm.sh/stable",
                "chart": "wordpress",
                "target_revision": "9.0.3",
                "helm": {
                    "value_files": ["$values/helm-dependency/values.yaml"],
                },
            },
            {
                "repo_url": "https://github.com/argoproj/argocd-example-apps.git",
                "target_revision": "HEAD",
                "ref": "values",
            },
        ],
        "destination": {
            "server": "https://kubernetes.default.svc",
            "namespace": "default",
        },
    })
Copy
package main

import (
	"encoding/json"

	"github.com/Three141/pulumi-argocd/sdk/go/argocd"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Kustomize application
		_, err := argocd.NewApplication(ctx, "kustomize", &argocd.ApplicationArgs{
			Metadata: &argocd.ApplicationMetadataArgs{
				Name:      pulumi.String("kustomize-app"),
				Namespace: pulumi.String("argocd"),
				Labels: pulumi.StringMap{
					"test": pulumi.String("true"),
				},
			},
			Cascade: pulumi.Bool(false),
			Wait:    pulumi.Bool(true),
			Spec: &argocd.ApplicationSpecArgs{
				Project: pulumi.String("myproject"),
				Destination: &argocd.ApplicationSpecDestinationArgs{
					Server:    pulumi.String("https://kubernetes.default.svc"),
					Namespace: pulumi.String("foo"),
				},
				Sources: argocd.ApplicationSpecSourceArray{
					&argocd.ApplicationSpecSourceArgs{
						RepoUrl:        pulumi.String("https://github.com/kubernetes-sigs/kustomize"),
						Path:           pulumi.String("examples/helloWorld"),
						TargetRevision: pulumi.String("master"),
						Kustomize: &argocd.ApplicationSpecSourceKustomizeArgs{
							NamePrefix: pulumi.String("foo-"),
							NameSuffix: pulumi.String("-bar"),
							Images: pulumi.StringArray{
								pulumi.String("hashicorp/terraform:light"),
							},
							CommonLabels: pulumi.StringMap{
								"this.is.a.common": pulumi.String("la-bel"),
								"another.io/one":   pulumi.String("true"),
							},
						},
					},
				},
				SyncPolicy: &argocd.ApplicationSpecSyncPolicyArgs{
					Automated: &argocd.ApplicationSpecSyncPolicyAutomatedArgs{
						Prune:      pulumi.Bool(true),
						SelfHeal:   pulumi.Bool(true),
						AllowEmpty: pulumi.Bool(true),
					},
					SyncOptions: pulumi.StringArray{
						pulumi.String("Validate=false"),
					},
					Retry: &argocd.ApplicationSpecSyncPolicyRetryArgs{
						Limit: pulumi.String("5"),
						Backoff: &argocd.ApplicationSpecSyncPolicyRetryBackoffArgs{
							Duration:    pulumi.String("30s"),
							MaxDuration: pulumi.String("2m"),
							Factor:      pulumi.String("2"),
						},
					},
				},
				IgnoreDifferences: argocd.ApplicationSpecIgnoreDifferenceArray{
					&argocd.ApplicationSpecIgnoreDifferenceArgs{
						Group: pulumi.String("apps"),
						Kind:  pulumi.String("Deployment"),
						JsonPointers: pulumi.StringArray{
							pulumi.String("/spec/replicas"),
						},
					},
					&argocd.ApplicationSpecIgnoreDifferenceArgs{
						Group: pulumi.String("apps"),
						Kind:  pulumi.String("StatefulSet"),
						Name:  pulumi.String("someStatefulSet"),
						JsonPointers: pulumi.StringArray{
							pulumi.String("/spec/replicas"),
							pulumi.String("/spec/template/spec/metadata/labels/bar"),
						},
						JqPathExpressions: pulumi.StringArray{
							pulumi.String(".spec.replicas"),
							pulumi.String(".spec.template.spec.metadata.labels.bar"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"someparameter": map[string]interface{}{
				"enabled": true,
				"someArray": []string{
					"foo",
					"bar",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		// Helm application
		_, err = argocd.NewApplication(ctx, "helm", &argocd.ApplicationArgs{
			Metadata: &argocd.ApplicationMetadataArgs{
				Name:      pulumi.String("helm-app"),
				Namespace: pulumi.String("argocd"),
				Labels: pulumi.StringMap{
					"test": pulumi.String("true"),
				},
			},
			Spec: &argocd.ApplicationSpecArgs{
				Destination: &argocd.ApplicationSpecDestinationArgs{
					Server:    pulumi.String("https://kubernetes.default.svc"),
					Namespace: pulumi.String("default"),
				},
				Sources: argocd.ApplicationSpecSourceArray{
					&argocd.ApplicationSpecSourceArgs{
						RepoUrl:        pulumi.String("https://some.chart.repo.io"),
						Chart:          pulumi.String("mychart"),
						TargetRevision: pulumi.String("1.2.3"),
						Helm: &argocd.ApplicationSpecSourceHelmArgs{
							ReleaseName: pulumi.String("testing"),
							Parameters: argocd.ApplicationSpecSourceHelmParameterArray{
								&argocd.ApplicationSpecSourceHelmParameterArgs{
									Name:  pulumi.String("image.tag"),
									Value: pulumi.String("1.2.3"),
								},
								&argocd.ApplicationSpecSourceHelmParameterArgs{
									Name:  pulumi.String("someotherparameter"),
									Value: pulumi.String("true"),
								},
							},
							ValueFiles: pulumi.StringArray{
								pulumi.String("values-test.yml"),
							},
							Values: pulumi.String(json0),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Multiple Application Sources with Helm value files from external Git repository
		_, err = argocd.NewApplication(ctx, "multiple_sources", &argocd.ApplicationArgs{
			Metadata: &argocd.ApplicationMetadataArgs{
				Name:      pulumi.String("helm-app-with-external-values"),
				Namespace: pulumi.String("argocd"),
			},
			Spec: &argocd.ApplicationSpecArgs{
				Project: pulumi.String("default"),
				Sources: argocd.ApplicationSpecSourceArray{
					&argocd.ApplicationSpecSourceArgs{
						RepoUrl:        pulumi.String("https://charts.helm.sh/stable"),
						Chart:          pulumi.String("wordpress"),
						TargetRevision: pulumi.String("9.0.3"),
						Helm: &argocd.ApplicationSpecSourceHelmArgs{
							ValueFiles: pulumi.StringArray{
								pulumi.String("$values/helm-dependency/values.yaml"),
							},
						},
					},
					&argocd.ApplicationSpecSourceArgs{
						RepoUrl:        pulumi.String("https://github.com/argoproj/argocd-example-apps.git"),
						TargetRevision: pulumi.String("HEAD"),
						Ref:            pulumi.String("values"),
					},
				},
				Destination: &argocd.ApplicationSpecDestinationArgs{
					Server:    pulumi.String("https://kubernetes.default.svc"),
					Namespace: pulumi.String("default"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Argocd = Three14.Argocd;

return await Deployment.RunAsync(() => 
{
    // Kustomize application
    var kustomize = new Argocd.Application("kustomize", new()
    {
        Metadata = new Argocd.Inputs.ApplicationMetadataArgs
        {
            Name = "kustomize-app",
            Namespace = "argocd",
            Labels = 
            {
                { "test", "true" },
            },
        },
        Cascade = false,
        Wait = true,
        Spec = new Argocd.Inputs.ApplicationSpecArgs
        {
            Project = "myproject",
            Destination = new Argocd.Inputs.ApplicationSpecDestinationArgs
            {
                Server = "https://kubernetes.default.svc",
                Namespace = "foo",
            },
            Sources = new[]
            {
                new Argocd.Inputs.ApplicationSpecSourceArgs
                {
                    RepoUrl = "https://github.com/kubernetes-sigs/kustomize",
                    Path = "examples/helloWorld",
                    TargetRevision = "master",
                    Kustomize = new Argocd.Inputs.ApplicationSpecSourceKustomizeArgs
                    {
                        NamePrefix = "foo-",
                        NameSuffix = "-bar",
                        Images = new[]
                        {
                            "hashicorp/terraform:light",
                        },
                        CommonLabels = 
                        {
                            { "this.is.a.common", "la-bel" },
                            { "another.io/one", "true" },
                        },
                    },
                },
            },
            SyncPolicy = new Argocd.Inputs.ApplicationSpecSyncPolicyArgs
            {
                Automated = new Argocd.Inputs.ApplicationSpecSyncPolicyAutomatedArgs
                {
                    Prune = true,
                    SelfHeal = true,
                    AllowEmpty = true,
                },
                SyncOptions = new[]
                {
                    "Validate=false",
                },
                Retry = new Argocd.Inputs.ApplicationSpecSyncPolicyRetryArgs
                {
                    Limit = "5",
                    Backoff = new Argocd.Inputs.ApplicationSpecSyncPolicyRetryBackoffArgs
                    {
                        Duration = "30s",
                        MaxDuration = "2m",
                        Factor = "2",
                    },
                },
            },
            IgnoreDifferences = new[]
            {
                new Argocd.Inputs.ApplicationSpecIgnoreDifferenceArgs
                {
                    Group = "apps",
                    Kind = "Deployment",
                    JsonPointers = new[]
                    {
                        "/spec/replicas",
                    },
                },
                new Argocd.Inputs.ApplicationSpecIgnoreDifferenceArgs
                {
                    Group = "apps",
                    Kind = "StatefulSet",
                    Name = "someStatefulSet",
                    JsonPointers = new[]
                    {
                        "/spec/replicas",
                        "/spec/template/spec/metadata/labels/bar",
                    },
                    JqPathExpressions = new[]
                    {
                        ".spec.replicas",
                        ".spec.template.spec.metadata.labels.bar",
                    },
                },
            },
        },
    });

    // Helm application
    var helm = new Argocd.Application("helm", new()
    {
        Metadata = new Argocd.Inputs.ApplicationMetadataArgs
        {
            Name = "helm-app",
            Namespace = "argocd",
            Labels = 
            {
                { "test", "true" },
            },
        },
        Spec = new Argocd.Inputs.ApplicationSpecArgs
        {
            Destination = new Argocd.Inputs.ApplicationSpecDestinationArgs
            {
                Server = "https://kubernetes.default.svc",
                Namespace = "default",
            },
            Sources = new[]
            {
                new Argocd.Inputs.ApplicationSpecSourceArgs
                {
                    RepoUrl = "https://some.chart.repo.io",
                    Chart = "mychart",
                    TargetRevision = "1.2.3",
                    Helm = new Argocd.Inputs.ApplicationSpecSourceHelmArgs
                    {
                        ReleaseName = "testing",
                        Parameters = new[]
                        {
                            new Argocd.Inputs.ApplicationSpecSourceHelmParameterArgs
                            {
                                Name = "image.tag",
                                Value = "1.2.3",
                            },
                            new Argocd.Inputs.ApplicationSpecSourceHelmParameterArgs
                            {
                                Name = "someotherparameter",
                                Value = "true",
                            },
                        },
                        ValueFiles = new[]
                        {
                            "values-test.yml",
                        },
                        Values = JsonSerializer.Serialize(new Dictionary<string, object?>
                        {
                            ["someparameter"] = new Dictionary<string, object?>
                            {
                                ["enabled"] = true,
                                ["someArray"] = new[]
                                {
                                    "foo",
                                    "bar",
                                },
                            },
                        }),
                    },
                },
            },
        },
    });

    // Multiple Application Sources with Helm value files from external Git repository
    var multipleSources = new Argocd.Application("multiple_sources", new()
    {
        Metadata = new Argocd.Inputs.ApplicationMetadataArgs
        {
            Name = "helm-app-with-external-values",
            Namespace = "argocd",
        },
        Spec = new Argocd.Inputs.ApplicationSpecArgs
        {
            Project = "default",
            Sources = new[]
            {
                new Argocd.Inputs.ApplicationSpecSourceArgs
                {
                    RepoUrl = "https://charts.helm.sh/stable",
                    Chart = "wordpress",
                    TargetRevision = "9.0.3",
                    Helm = new Argocd.Inputs.ApplicationSpecSourceHelmArgs
                    {
                        ValueFiles = new[]
                        {
                            "$values/helm-dependency/values.yaml",
                        },
                    },
                },
                new Argocd.Inputs.ApplicationSpecSourceArgs
                {
                    RepoUrl = "https://github.com/argoproj/argocd-example-apps.git",
                    TargetRevision = "HEAD",
                    Ref = "values",
                },
            },
            Destination = new Argocd.Inputs.ApplicationSpecDestinationArgs
            {
                Server = "https://kubernetes.default.svc",
                Namespace = "default",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.argocd.Application;
import com.pulumi.argocd.ApplicationArgs;
import com.pulumi.argocd.inputs.ApplicationMetadataArgs;
import com.pulumi.argocd.inputs.ApplicationSpecArgs;
import com.pulumi.argocd.inputs.ApplicationSpecDestinationArgs;
import com.pulumi.argocd.inputs.ApplicationSpecSyncPolicyArgs;
import com.pulumi.argocd.inputs.ApplicationSpecSyncPolicyAutomatedArgs;
import com.pulumi.argocd.inputs.ApplicationSpecSyncPolicyRetryArgs;
import com.pulumi.argocd.inputs.ApplicationSpecSyncPolicyRetryBackoffArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
        // Kustomize application
        var kustomize = new Application("kustomize", ApplicationArgs.builder()
            .metadata(ApplicationMetadataArgs.builder()
                .name("kustomize-app")
                .namespace("argocd")
                .labels(Map.of("test", "true"))
                .build())
            .cascade(false)
            .wait(true)
            .spec(ApplicationSpecArgs.builder()
                .project("myproject")
                .destination(ApplicationSpecDestinationArgs.builder()
                    .server("https://kubernetes.default.svc")
                    .namespace("foo")
                    .build())
                .sources(ApplicationSpecSourceArgs.builder()
                    .repoUrl("https://github.com/kubernetes-sigs/kustomize")
                    .path("examples/helloWorld")
                    .targetRevision("master")
                    .kustomize(ApplicationSpecSourceKustomizeArgs.builder()
                        .namePrefix("foo-")
                        .nameSuffix("-bar")
                        .images("hashicorp/terraform:light")
                        .commonLabels(Map.ofEntries(
                            Map.entry("this.is.a.common", "la-bel"),
                            Map.entry("another.io/one", "true")
                        ))
                        .build())
                    .build())
                .syncPolicy(ApplicationSpecSyncPolicyArgs.builder()
                    .automated(ApplicationSpecSyncPolicyAutomatedArgs.builder()
                        .prune(true)
                        .selfHeal(true)
                        .allowEmpty(true)
                        .build())
                    .syncOptions("Validate=false")
                    .retry(ApplicationSpecSyncPolicyRetryArgs.builder()
                        .limit("5")
                        .backoff(ApplicationSpecSyncPolicyRetryBackoffArgs.builder()
                            .duration("30s")
                            .maxDuration("2m")
                            .factor("2")
                            .build())
                        .build())
                    .build())
                .ignoreDifferences(                
                    ApplicationSpecIgnoreDifferenceArgs.builder()
                        .group("apps")
                        .kind("Deployment")
                        .jsonPointers("/spec/replicas")
                        .build(),
                    ApplicationSpecIgnoreDifferenceArgs.builder()
                        .group("apps")
                        .kind("StatefulSet")
                        .name("someStatefulSet")
                        .jsonPointers(                        
                            "/spec/replicas",
                            "/spec/template/spec/metadata/labels/bar")
                        .jqPathExpressions(                        
                            ".spec.replicas",
                            ".spec.template.spec.metadata.labels.bar")
                        .build())
                .build())
            .build());

        // Helm application
        var helm = new Application("helm", ApplicationArgs.builder()
            .metadata(ApplicationMetadataArgs.builder()
                .name("helm-app")
                .namespace("argocd")
                .labels(Map.of("test", "true"))
                .build())
            .spec(ApplicationSpecArgs.builder()
                .destination(ApplicationSpecDestinationArgs.builder()
                    .server("https://kubernetes.default.svc")
                    .namespace("default")
                    .build())
                .sources(ApplicationSpecSourceArgs.builder()
                    .repoUrl("https://some.chart.repo.io")
                    .chart("mychart")
                    .targetRevision("1.2.3")
                    .helm(ApplicationSpecSourceHelmArgs.builder()
                        .releaseName("testing")
                        .parameters(                        
                            ApplicationSpecSourceHelmParameterArgs.builder()
                                .name("image.tag")
                                .value("1.2.3")
                                .build(),
                            ApplicationSpecSourceHelmParameterArgs.builder()
                                .name("someotherparameter")
                                .value("true")
                                .build())
                        .valueFiles("values-test.yml")
                        .values(serializeJson(
                            jsonObject(
                                jsonProperty("someparameter", jsonObject(
                                    jsonProperty("enabled", true),
                                    jsonProperty("someArray", jsonArray(
                                        "foo", 
                                        "bar"
                                    ))
                                ))
                            )))
                        .build())
                    .build())
                .build())
            .build());

        // Multiple Application Sources with Helm value files from external Git repository
        var multipleSources = new Application("multipleSources", ApplicationArgs.builder()
            .metadata(ApplicationMetadataArgs.builder()
                .name("helm-app-with-external-values")
                .namespace("argocd")
                .build())
            .spec(ApplicationSpecArgs.builder()
                .project("default")
                .sources(                
                    ApplicationSpecSourceArgs.builder()
                        .repoUrl("https://charts.helm.sh/stable")
                        .chart("wordpress")
                        .targetRevision("9.0.3")
                        .helm(ApplicationSpecSourceHelmArgs.builder()
                            .valueFiles("$values/helm-dependency/values.yaml")
                            .build())
                        .build(),
                    ApplicationSpecSourceArgs.builder()
                        .repoUrl("https://github.com/argoproj/argocd-example-apps.git")
                        .targetRevision("HEAD")
                        .ref("values")
                        .build())
                .destination(ApplicationSpecDestinationArgs.builder()
                    .server("https://kubernetes.default.svc")
                    .namespace("default")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  # Kustomize application
  kustomize:
    type: argocd:Application
    properties:
      metadata:
        name: kustomize-app
        namespace: argocd
        labels:
          test: 'true'
      cascade: false # disable cascading deletion
      wait: true
      spec:
        project: myproject
        destination:
          server: https://kubernetes.default.svc
          namespace: foo
        sources:
          - repoUrl: https://github.com/kubernetes-sigs/kustomize
            path: examples/helloWorld
            targetRevision: master
            kustomize:
              namePrefix: foo-
              nameSuffix: -bar
              images:
                - hashicorp/terraform:light
              commonLabels:
                this.is.a.common: la-bel
                another.io/one: 'true'
        syncPolicy:
          automated:
            prune: true
            selfHeal: true
            allowEmpty: true
          syncOptions:
            - Validate=false
          retry:
            limit: '5'
            backoff:
              duration: 30s
              maxDuration: 2m
              factor: '2'
        ignoreDifferences:
          - group: apps
            kind: Deployment
            jsonPointers:
              - /spec/replicas
          - group: apps
            kind: StatefulSet
            name: someStatefulSet
            jsonPointers:
              - /spec/replicas
              - /spec/template/spec/metadata/labels/bar
            jqPathExpressions:
              - .spec.replicas
              - .spec.template.spec.metadata.labels.bar
  # Helm application
  helm:
    type: argocd:Application
    properties:
      metadata:
        name: helm-app
        namespace: argocd
        labels:
          test: 'true'
      spec:
        destination:
          server: https://kubernetes.default.svc
          namespace: default
        sources:
          - repoUrl: https://some.chart.repo.io
            chart: mychart
            targetRevision: 1.2.3
            helm:
              releaseName: testing
              parameters:
                - name: image.tag
                  value: 1.2.3
                - name: someotherparameter
                  value: 'true'
              valueFiles:
                - values-test.yml
              values:
                fn::toJSON:
                  someparameter:
                    enabled: true
                    someArray:
                      - foo
                      - bar
  # Multiple Application Sources with Helm value files from external Git repository
  multipleSources:
    type: argocd:Application
    name: multiple_sources
    properties:
      metadata:
        name: helm-app-with-external-values
        namespace: argocd
      spec:
        project: default
        sources:
          - repoUrl: https://charts.helm.sh/stable
            chart: wordpress
            targetRevision: 9.0.3
            helm:
              valueFiles:
                - $values/helm-dependency/values.yaml
          - repoUrl: https://github.com/argoproj/argocd-example-apps.git
            targetRevision: HEAD
            ref: values
        destination:
          server: https://kubernetes.default.svc
          namespace: default
Copy

Create Application Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                metadata: Optional[ApplicationMetadataArgs] = None,
                spec: Optional[ApplicationSpecArgs] = None,
                cascade: Optional[bool] = None,
                validate: Optional[bool] = None,
                wait: Optional[bool] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: argocd:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationArgs
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 applicationResource = new Argocd.Application("applicationResource", new()
{
    Metadata = new Argocd.Inputs.ApplicationMetadataArgs
    {
        Annotations = 
        {
            { "string", "string" },
        },
        Generation = 0,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Namespace = "string",
        ResourceVersion = "string",
        Uid = "string",
    },
    Spec = new Argocd.Inputs.ApplicationSpecArgs
    {
        Destination = new Argocd.Inputs.ApplicationSpecDestinationArgs
        {
            Name = "string",
            Namespace = "string",
            Server = "string",
        },
        Sources = new[]
        {
            new Argocd.Inputs.ApplicationSpecSourceArgs
            {
                RepoUrl = "string",
                Chart = "string",
                Directory = new Argocd.Inputs.ApplicationSpecSourceDirectoryArgs
                {
                    Exclude = "string",
                    Include = "string",
                    Jsonnet = new Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnetArgs
                    {
                        ExtVars = new[]
                        {
                            new Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnetExtVarArgs
                            {
                                Code = false,
                                Name = "string",
                                Value = "string",
                            },
                        },
                        Libs = new[]
                        {
                            "string",
                        },
                        Tlas = new[]
                        {
                            new Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnetTlaArgs
                            {
                                Code = false,
                                Name = "string",
                                Value = "string",
                            },
                        },
                    },
                    Recurse = false,
                },
                Helm = new Argocd.Inputs.ApplicationSpecSourceHelmArgs
                {
                    FileParameters = new[]
                    {
                        new Argocd.Inputs.ApplicationSpecSourceHelmFileParameterArgs
                        {
                            Name = "string",
                            Path = "string",
                        },
                    },
                    IgnoreMissingValueFiles = false,
                    Parameters = new[]
                    {
                        new Argocd.Inputs.ApplicationSpecSourceHelmParameterArgs
                        {
                            ForceString = false,
                            Name = "string",
                            Value = "string",
                        },
                    },
                    PassCredentials = false,
                    ReleaseName = "string",
                    SkipCrds = false,
                    ValueFiles = new[]
                    {
                        "string",
                    },
                    Values = "string",
                    Version = "string",
                },
                Kustomize = new Argocd.Inputs.ApplicationSpecSourceKustomizeArgs
                {
                    CommonAnnotations = 
                    {
                        { "string", "string" },
                    },
                    CommonLabels = 
                    {
                        { "string", "string" },
                    },
                    Images = new[]
                    {
                        "string",
                    },
                    NamePrefix = "string",
                    NameSuffix = "string",
                    Patches = new[]
                    {
                        new Argocd.Inputs.ApplicationSpecSourceKustomizePatchArgs
                        {
                            Target = new Argocd.Inputs.ApplicationSpecSourceKustomizePatchTargetArgs
                            {
                                AnnotationSelector = "string",
                                Group = "string",
                                Kind = "string",
                                LabelSelector = "string",
                                Name = "string",
                                Namespace = "string",
                                Version = "string",
                            },
                            Options = 
                            {
                                { "string", false },
                            },
                            Patch = "string",
                            Path = "string",
                        },
                    },
                    Version = "string",
                },
                Path = "string",
                Plugin = new Argocd.Inputs.ApplicationSpecSourcePluginArgs
                {
                    Envs = new[]
                    {
                        new Argocd.Inputs.ApplicationSpecSourcePluginEnvArgs
                        {
                            Name = "string",
                            Value = "string",
                        },
                    },
                    Name = "string",
                },
                Ref = "string",
                TargetRevision = "string",
            },
        },
        IgnoreDifferences = new[]
        {
            new Argocd.Inputs.ApplicationSpecIgnoreDifferenceArgs
            {
                Group = "string",
                JqPathExpressions = new[]
                {
                    "string",
                },
                JsonPointers = new[]
                {
                    "string",
                },
                Kind = "string",
                ManagedFieldsManagers = new[]
                {
                    "string",
                },
                Name = "string",
                Namespace = "string",
            },
        },
        Infos = new[]
        {
            new Argocd.Inputs.ApplicationSpecInfoArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        Project = "string",
        RevisionHistoryLimit = 0,
        SyncPolicy = new Argocd.Inputs.ApplicationSpecSyncPolicyArgs
        {
            Automated = new Argocd.Inputs.ApplicationSpecSyncPolicyAutomatedArgs
            {
                AllowEmpty = false,
                Prune = false,
                SelfHeal = false,
            },
            ManagedNamespaceMetadata = new Argocd.Inputs.ApplicationSpecSyncPolicyManagedNamespaceMetadataArgs
            {
                Annotations = 
                {
                    { "string", "string" },
                },
                Labels = 
                {
                    { "string", "string" },
                },
            },
            Retry = new Argocd.Inputs.ApplicationSpecSyncPolicyRetryArgs
            {
                Backoff = new Argocd.Inputs.ApplicationSpecSyncPolicyRetryBackoffArgs
                {
                    Duration = "string",
                    Factor = "string",
                    MaxDuration = "string",
                },
                Limit = "string",
            },
            SyncOptions = new[]
            {
                "string",
            },
        },
    },
    Cascade = false,
    Validate = false,
    Wait = false,
});
Copy
example, err := argocd.NewApplication(ctx, "applicationResource", &argocd.ApplicationArgs{
	Metadata: &argocd.ApplicationMetadataArgs{
		Annotations: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Generation: pulumi.Int(0),
		Labels: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Name:            pulumi.String("string"),
		Namespace:       pulumi.String("string"),
		ResourceVersion: pulumi.String("string"),
		Uid:             pulumi.String("string"),
	},
	Spec: &argocd.ApplicationSpecArgs{
		Destination: &argocd.ApplicationSpecDestinationArgs{
			Name:      pulumi.String("string"),
			Namespace: pulumi.String("string"),
			Server:    pulumi.String("string"),
		},
		Sources: argocd.ApplicationSpecSourceArray{
			&argocd.ApplicationSpecSourceArgs{
				RepoUrl: pulumi.String("string"),
				Chart:   pulumi.String("string"),
				Directory: &argocd.ApplicationSpecSourceDirectoryArgs{
					Exclude: pulumi.String("string"),
					Include: pulumi.String("string"),
					Jsonnet: &argocd.ApplicationSpecSourceDirectoryJsonnetArgs{
						ExtVars: argocd.ApplicationSpecSourceDirectoryJsonnetExtVarArray{
							&argocd.ApplicationSpecSourceDirectoryJsonnetExtVarArgs{
								Code:  pulumi.Bool(false),
								Name:  pulumi.String("string"),
								Value: pulumi.String("string"),
							},
						},
						Libs: pulumi.StringArray{
							pulumi.String("string"),
						},
						Tlas: argocd.ApplicationSpecSourceDirectoryJsonnetTlaArray{
							&argocd.ApplicationSpecSourceDirectoryJsonnetTlaArgs{
								Code:  pulumi.Bool(false),
								Name:  pulumi.String("string"),
								Value: pulumi.String("string"),
							},
						},
					},
					Recurse: pulumi.Bool(false),
				},
				Helm: &argocd.ApplicationSpecSourceHelmArgs{
					FileParameters: argocd.ApplicationSpecSourceHelmFileParameterArray{
						&argocd.ApplicationSpecSourceHelmFileParameterArgs{
							Name: pulumi.String("string"),
							Path: pulumi.String("string"),
						},
					},
					IgnoreMissingValueFiles: pulumi.Bool(false),
					Parameters: argocd.ApplicationSpecSourceHelmParameterArray{
						&argocd.ApplicationSpecSourceHelmParameterArgs{
							ForceString: pulumi.Bool(false),
							Name:        pulumi.String("string"),
							Value:       pulumi.String("string"),
						},
					},
					PassCredentials: pulumi.Bool(false),
					ReleaseName:     pulumi.String("string"),
					SkipCrds:        pulumi.Bool(false),
					ValueFiles: pulumi.StringArray{
						pulumi.String("string"),
					},
					Values:  pulumi.String("string"),
					Version: pulumi.String("string"),
				},
				Kustomize: &argocd.ApplicationSpecSourceKustomizeArgs{
					CommonAnnotations: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					CommonLabels: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Images: pulumi.StringArray{
						pulumi.String("string"),
					},
					NamePrefix: pulumi.String("string"),
					NameSuffix: pulumi.String("string"),
					Patches: argocd.ApplicationSpecSourceKustomizePatchArray{
						&argocd.ApplicationSpecSourceKustomizePatchArgs{
							Target: &argocd.ApplicationSpecSourceKustomizePatchTargetArgs{
								AnnotationSelector: pulumi.String("string"),
								Group:              pulumi.String("string"),
								Kind:               pulumi.String("string"),
								LabelSelector:      pulumi.String("string"),
								Name:               pulumi.String("string"),
								Namespace:          pulumi.String("string"),
								Version:            pulumi.String("string"),
							},
							Options: pulumi.BoolMap{
								"string": pulumi.Bool(false),
							},
							Patch: pulumi.String("string"),
							Path:  pulumi.String("string"),
						},
					},
					Version: pulumi.String("string"),
				},
				Path: pulumi.String("string"),
				Plugin: &argocd.ApplicationSpecSourcePluginArgs{
					Envs: argocd.ApplicationSpecSourcePluginEnvArray{
						&argocd.ApplicationSpecSourcePluginEnvArgs{
							Name:  pulumi.String("string"),
							Value: pulumi.String("string"),
						},
					},
					Name: pulumi.String("string"),
				},
				Ref:            pulumi.String("string"),
				TargetRevision: pulumi.String("string"),
			},
		},
		IgnoreDifferences: argocd.ApplicationSpecIgnoreDifferenceArray{
			&argocd.ApplicationSpecIgnoreDifferenceArgs{
				Group: pulumi.String("string"),
				JqPathExpressions: pulumi.StringArray{
					pulumi.String("string"),
				},
				JsonPointers: pulumi.StringArray{
					pulumi.String("string"),
				},
				Kind: pulumi.String("string"),
				ManagedFieldsManagers: pulumi.StringArray{
					pulumi.String("string"),
				},
				Name:      pulumi.String("string"),
				Namespace: pulumi.String("string"),
			},
		},
		Infos: argocd.ApplicationSpecInfoArray{
			&argocd.ApplicationSpecInfoArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
		Project:              pulumi.String("string"),
		RevisionHistoryLimit: pulumi.Int(0),
		SyncPolicy: &argocd.ApplicationSpecSyncPolicyArgs{
			Automated: &argocd.ApplicationSpecSyncPolicyAutomatedArgs{
				AllowEmpty: pulumi.Bool(false),
				Prune:      pulumi.Bool(false),
				SelfHeal:   pulumi.Bool(false),
			},
			ManagedNamespaceMetadata: &argocd.ApplicationSpecSyncPolicyManagedNamespaceMetadataArgs{
				Annotations: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
				Labels: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
			},
			Retry: &argocd.ApplicationSpecSyncPolicyRetryArgs{
				Backoff: &argocd.ApplicationSpecSyncPolicyRetryBackoffArgs{
					Duration:    pulumi.String("string"),
					Factor:      pulumi.String("string"),
					MaxDuration: pulumi.String("string"),
				},
				Limit: pulumi.String("string"),
			},
			SyncOptions: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Cascade:  pulumi.Bool(false),
	Validate: pulumi.Bool(false),
	Wait:     pulumi.Bool(false),
})
Copy
var applicationResource = new Application("applicationResource", ApplicationArgs.builder()
    .metadata(ApplicationMetadataArgs.builder()
        .annotations(Map.of("string", "string"))
        .generation(0)
        .labels(Map.of("string", "string"))
        .name("string")
        .namespace("string")
        .resourceVersion("string")
        .uid("string")
        .build())
    .spec(ApplicationSpecArgs.builder()
        .destination(ApplicationSpecDestinationArgs.builder()
            .name("string")
            .namespace("string")
            .server("string")
            .build())
        .sources(ApplicationSpecSourceArgs.builder()
            .repoUrl("string")
            .chart("string")
            .directory(ApplicationSpecSourceDirectoryArgs.builder()
                .exclude("string")
                .include("string")
                .jsonnet(ApplicationSpecSourceDirectoryJsonnetArgs.builder()
                    .extVars(ApplicationSpecSourceDirectoryJsonnetExtVarArgs.builder()
                        .code(false)
                        .name("string")
                        .value("string")
                        .build())
                    .libs("string")
                    .tlas(ApplicationSpecSourceDirectoryJsonnetTlaArgs.builder()
                        .code(false)
                        .name("string")
                        .value("string")
                        .build())
                    .build())
                .recurse(false)
                .build())
            .helm(ApplicationSpecSourceHelmArgs.builder()
                .fileParameters(ApplicationSpecSourceHelmFileParameterArgs.builder()
                    .name("string")
                    .path("string")
                    .build())
                .ignoreMissingValueFiles(false)
                .parameters(ApplicationSpecSourceHelmParameterArgs.builder()
                    .forceString(false)
                    .name("string")
                    .value("string")
                    .build())
                .passCredentials(false)
                .releaseName("string")
                .skipCrds(false)
                .valueFiles("string")
                .values("string")
                .version("string")
                .build())
            .kustomize(ApplicationSpecSourceKustomizeArgs.builder()
                .commonAnnotations(Map.of("string", "string"))
                .commonLabels(Map.of("string", "string"))
                .images("string")
                .namePrefix("string")
                .nameSuffix("string")
                .patches(ApplicationSpecSourceKustomizePatchArgs.builder()
                    .target(ApplicationSpecSourceKustomizePatchTargetArgs.builder()
                        .annotationSelector("string")
                        .group("string")
                        .kind("string")
                        .labelSelector("string")
                        .name("string")
                        .namespace("string")
                        .version("string")
                        .build())
                    .options(Map.of("string", false))
                    .patch("string")
                    .path("string")
                    .build())
                .version("string")
                .build())
            .path("string")
            .plugin(ApplicationSpecSourcePluginArgs.builder()
                .envs(ApplicationSpecSourcePluginEnvArgs.builder()
                    .name("string")
                    .value("string")
                    .build())
                .name("string")
                .build())
            .ref("string")
            .targetRevision("string")
            .build())
        .ignoreDifferences(ApplicationSpecIgnoreDifferenceArgs.builder()
            .group("string")
            .jqPathExpressions("string")
            .jsonPointers("string")
            .kind("string")
            .managedFieldsManagers("string")
            .name("string")
            .namespace("string")
            .build())
        .infos(ApplicationSpecInfoArgs.builder()
            .name("string")
            .value("string")
            .build())
        .project("string")
        .revisionHistoryLimit(0)
        .syncPolicy(ApplicationSpecSyncPolicyArgs.builder()
            .automated(ApplicationSpecSyncPolicyAutomatedArgs.builder()
                .allowEmpty(false)
                .prune(false)
                .selfHeal(false)
                .build())
            .managedNamespaceMetadata(ApplicationSpecSyncPolicyManagedNamespaceMetadataArgs.builder()
                .annotations(Map.of("string", "string"))
                .labels(Map.of("string", "string"))
                .build())
            .retry(ApplicationSpecSyncPolicyRetryArgs.builder()
                .backoff(ApplicationSpecSyncPolicyRetryBackoffArgs.builder()
                    .duration("string")
                    .factor("string")
                    .maxDuration("string")
                    .build())
                .limit("string")
                .build())
            .syncOptions("string")
            .build())
        .build())
    .cascade(false)
    .validate(false)
    .wait(false)
    .build());
Copy
application_resource = argocd.Application("applicationResource",
    metadata={
        "annotations": {
            "string": "string",
        },
        "generation": 0,
        "labels": {
            "string": "string",
        },
        "name": "string",
        "namespace": "string",
        "resource_version": "string",
        "uid": "string",
    },
    spec={
        "destination": {
            "name": "string",
            "namespace": "string",
            "server": "string",
        },
        "sources": [{
            "repo_url": "string",
            "chart": "string",
            "directory": {
                "exclude": "string",
                "include": "string",
                "jsonnet": {
                    "ext_vars": [{
                        "code": False,
                        "name": "string",
                        "value": "string",
                    }],
                    "libs": ["string"],
                    "tlas": [{
                        "code": False,
                        "name": "string",
                        "value": "string",
                    }],
                },
                "recurse": False,
            },
            "helm": {
                "file_parameters": [{
                    "name": "string",
                    "path": "string",
                }],
                "ignore_missing_value_files": False,
                "parameters": [{
                    "force_string": False,
                    "name": "string",
                    "value": "string",
                }],
                "pass_credentials": False,
                "release_name": "string",
                "skip_crds": False,
                "value_files": ["string"],
                "values": "string",
                "version": "string",
            },
            "kustomize": {
                "common_annotations": {
                    "string": "string",
                },
                "common_labels": {
                    "string": "string",
                },
                "images": ["string"],
                "name_prefix": "string",
                "name_suffix": "string",
                "patches": [{
                    "target": {
                        "annotation_selector": "string",
                        "group": "string",
                        "kind": "string",
                        "label_selector": "string",
                        "name": "string",
                        "namespace": "string",
                        "version": "string",
                    },
                    "options": {
                        "string": False,
                    },
                    "patch": "string",
                    "path": "string",
                }],
                "version": "string",
            },
            "path": "string",
            "plugin": {
                "envs": [{
                    "name": "string",
                    "value": "string",
                }],
                "name": "string",
            },
            "ref": "string",
            "target_revision": "string",
        }],
        "ignore_differences": [{
            "group": "string",
            "jq_path_expressions": ["string"],
            "json_pointers": ["string"],
            "kind": "string",
            "managed_fields_managers": ["string"],
            "name": "string",
            "namespace": "string",
        }],
        "infos": [{
            "name": "string",
            "value": "string",
        }],
        "project": "string",
        "revision_history_limit": 0,
        "sync_policy": {
            "automated": {
                "allow_empty": False,
                "prune": False,
                "self_heal": False,
            },
            "managed_namespace_metadata": {
                "annotations": {
                    "string": "string",
                },
                "labels": {
                    "string": "string",
                },
            },
            "retry": {
                "backoff": {
                    "duration": "string",
                    "factor": "string",
                    "max_duration": "string",
                },
                "limit": "string",
            },
            "sync_options": ["string"],
        },
    },
    cascade=False,
    validate=False,
    wait=False)
Copy
const applicationResource = new argocd.Application("applicationResource", {
    metadata: {
        annotations: {
            string: "string",
        },
        generation: 0,
        labels: {
            string: "string",
        },
        name: "string",
        namespace: "string",
        resourceVersion: "string",
        uid: "string",
    },
    spec: {
        destination: {
            name: "string",
            namespace: "string",
            server: "string",
        },
        sources: [{
            repoUrl: "string",
            chart: "string",
            directory: {
                exclude: "string",
                include: "string",
                jsonnet: {
                    extVars: [{
                        code: false,
                        name: "string",
                        value: "string",
                    }],
                    libs: ["string"],
                    tlas: [{
                        code: false,
                        name: "string",
                        value: "string",
                    }],
                },
                recurse: false,
            },
            helm: {
                fileParameters: [{
                    name: "string",
                    path: "string",
                }],
                ignoreMissingValueFiles: false,
                parameters: [{
                    forceString: false,
                    name: "string",
                    value: "string",
                }],
                passCredentials: false,
                releaseName: "string",
                skipCrds: false,
                valueFiles: ["string"],
                values: "string",
                version: "string",
            },
            kustomize: {
                commonAnnotations: {
                    string: "string",
                },
                commonLabels: {
                    string: "string",
                },
                images: ["string"],
                namePrefix: "string",
                nameSuffix: "string",
                patches: [{
                    target: {
                        annotationSelector: "string",
                        group: "string",
                        kind: "string",
                        labelSelector: "string",
                        name: "string",
                        namespace: "string",
                        version: "string",
                    },
                    options: {
                        string: false,
                    },
                    patch: "string",
                    path: "string",
                }],
                version: "string",
            },
            path: "string",
            plugin: {
                envs: [{
                    name: "string",
                    value: "string",
                }],
                name: "string",
            },
            ref: "string",
            targetRevision: "string",
        }],
        ignoreDifferences: [{
            group: "string",
            jqPathExpressions: ["string"],
            jsonPointers: ["string"],
            kind: "string",
            managedFieldsManagers: ["string"],
            name: "string",
            namespace: "string",
        }],
        infos: [{
            name: "string",
            value: "string",
        }],
        project: "string",
        revisionHistoryLimit: 0,
        syncPolicy: {
            automated: {
                allowEmpty: false,
                prune: false,
                selfHeal: false,
            },
            managedNamespaceMetadata: {
                annotations: {
                    string: "string",
                },
                labels: {
                    string: "string",
                },
            },
            retry: {
                backoff: {
                    duration: "string",
                    factor: "string",
                    maxDuration: "string",
                },
                limit: "string",
            },
            syncOptions: ["string"],
        },
    },
    cascade: false,
    validate: false,
    wait: false,
});
Copy
type: argocd:Application
properties:
    cascade: false
    metadata:
        annotations:
            string: string
        generation: 0
        labels:
            string: string
        name: string
        namespace: string
        resourceVersion: string
        uid: string
    spec:
        destination:
            name: string
            namespace: string
            server: string
        ignoreDifferences:
            - group: string
              jqPathExpressions:
                - string
              jsonPointers:
                - string
              kind: string
              managedFieldsManagers:
                - string
              name: string
              namespace: string
        infos:
            - name: string
              value: string
        project: string
        revisionHistoryLimit: 0
        sources:
            - chart: string
              directory:
                exclude: string
                include: string
                jsonnet:
                    extVars:
                        - code: false
                          name: string
                          value: string
                    libs:
                        - string
                    tlas:
                        - code: false
                          name: string
                          value: string
                recurse: false
              helm:
                fileParameters:
                    - name: string
                      path: string
                ignoreMissingValueFiles: false
                parameters:
                    - forceString: false
                      name: string
                      value: string
                passCredentials: false
                releaseName: string
                skipCrds: false
                valueFiles:
                    - string
                values: string
                version: string
              kustomize:
                commonAnnotations:
                    string: string
                commonLabels:
                    string: string
                images:
                    - string
                namePrefix: string
                nameSuffix: string
                patches:
                    - options:
                        string: false
                      patch: string
                      path: string
                      target:
                        annotationSelector: string
                        group: string
                        kind: string
                        labelSelector: string
                        name: string
                        namespace: string
                        version: string
                version: string
              path: string
              plugin:
                envs:
                    - name: string
                      value: string
                name: string
              ref: string
              repoUrl: string
              targetRevision: string
        syncPolicy:
            automated:
                allowEmpty: false
                prune: false
                selfHeal: false
            managedNamespaceMetadata:
                annotations:
                    string: string
                labels:
                    string: string
            retry:
                backoff:
                    duration: string
                    factor: string
                    maxDuration: string
                limit: string
            syncOptions:
                - string
    validate: false
    wait: false
Copy

Application 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 Application resource accepts the following input properties:

Metadata This property is required. Three14.Argocd.Inputs.ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
Spec This property is required. Three14.Argocd.Inputs.ApplicationSpec
The application specification.
Cascade bool
Whether to applying cascading deletion when application is removed.
Validate bool
Whether to validate the application spec before creating or updating the application.
Wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
Metadata This property is required. ApplicationMetadataArgs
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
Spec This property is required. ApplicationSpecArgs
The application specification.
Cascade bool
Whether to applying cascading deletion when application is removed.
Validate bool
Whether to validate the application spec before creating or updating the application.
Wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
metadata This property is required. ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec This property is required. ApplicationSpec
The application specification.
cascade Boolean
Whether to applying cascading deletion when application is removed.
validate Boolean
Whether to validate the application spec before creating or updating the application.
wait_ Boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
metadata This property is required. ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec This property is required. ApplicationSpec
The application specification.
cascade boolean
Whether to applying cascading deletion when application is removed.
validate boolean
Whether to validate the application spec before creating or updating the application.
wait boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
metadata This property is required. ApplicationMetadataArgs
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec This property is required. ApplicationSpecArgs
The application specification.
cascade bool
Whether to applying cascading deletion when application is removed.
validate bool
Whether to validate the application spec before creating or updating the application.
wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
metadata This property is required. Property Map
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec This property is required. Property Map
The application specification.
cascade Boolean
Whether to applying cascading deletion when application is removed.
validate Boolean
Whether to validate the application spec before creating or updating the application.
wait Boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.

Outputs

All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Statuses List<Three14.Argocd.Outputs.ApplicationStatus>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
Id string
The provider-assigned unique ID for this managed resource.
Statuses []ApplicationStatus
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
id String
The provider-assigned unique ID for this managed resource.
statuses List<ApplicationStatus>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
id string
The provider-assigned unique ID for this managed resource.
statuses ApplicationStatus[]
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
id str
The provider-assigned unique ID for this managed resource.
statuses Sequence[ApplicationStatus]
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
id String
The provider-assigned unique ID for this managed resource.
statuses List<Property Map>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.

Look up Existing Application Resource

Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cascade: Optional[bool] = None,
        metadata: Optional[ApplicationMetadataArgs] = None,
        spec: Optional[ApplicationSpecArgs] = None,
        statuses: Optional[Sequence[ApplicationStatusArgs]] = None,
        validate: Optional[bool] = None,
        wait: Optional[bool] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
resources:  _:    type: argocd:Application    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Cascade bool
Whether to applying cascading deletion when application is removed.
Metadata Three14.Argocd.Inputs.ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
Spec Three14.Argocd.Inputs.ApplicationSpec
The application specification.
Statuses List<Three14.Argocd.Inputs.ApplicationStatus>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
Validate bool
Whether to validate the application spec before creating or updating the application.
Wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
Cascade bool
Whether to applying cascading deletion when application is removed.
Metadata ApplicationMetadataArgs
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
Spec ApplicationSpecArgs
The application specification.
Statuses []ApplicationStatusArgs
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
Validate bool
Whether to validate the application spec before creating or updating the application.
Wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
cascade Boolean
Whether to applying cascading deletion when application is removed.
metadata ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec ApplicationSpec
The application specification.
statuses List<ApplicationStatus>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
validate Boolean
Whether to validate the application spec before creating or updating the application.
wait_ Boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
cascade boolean
Whether to applying cascading deletion when application is removed.
metadata ApplicationMetadata
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec ApplicationSpec
The application specification.
statuses ApplicationStatus[]
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
validate boolean
Whether to validate the application spec before creating or updating the application.
wait boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
cascade bool
Whether to applying cascading deletion when application is removed.
metadata ApplicationMetadataArgs
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec ApplicationSpecArgs
The application specification.
statuses Sequence[ApplicationStatusArgs]
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
validate bool
Whether to validate the application spec before creating or updating the application.
wait bool
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.
cascade Boolean
Whether to applying cascading deletion when application is removed.
metadata Property Map
Standard Kubernetes object metadata. For more info see the Kubernetes reference.
spec Property Map
The application specification.
statuses List<Property Map>
Status information for the application. Note: this is not guaranteed to be up to date immediately after creating/updating an application unless wait=true.
validate Boolean
Whether to validate the application spec before creating or updating the application.
wait Boolean
Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true. Wait timeouts are controlled by the provider Create, Update and Delete resource timeouts (all default to 5 minutes). Note: if ArgoCD decides not to sync an application (e.g. because the project to which the application belongs has a sync_window applied) then you will experience an expected timeout event if wait = true.

Supporting Types

ApplicationMetadata
, ApplicationMetadataArgs

Annotations Dictionary<string, string>
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
Generation int
A sequence number representing a specific generation of the desired state.
Labels Dictionary<string, string>
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Name Changes to this property will trigger replacement. string
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
Namespace Changes to this property will trigger replacement. string
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
ResourceVersion string
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Uid string
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Annotations map[string]string
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
Generation int
A sequence number representing a specific generation of the desired state.
Labels map[string]string
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Name Changes to this property will trigger replacement. string
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
Namespace Changes to this property will trigger replacement. string
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
ResourceVersion string
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Uid string
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
annotations Map<String,String>
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
generation Integer
A sequence number representing a specific generation of the desired state.
labels Map<String,String>
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
name Changes to this property will trigger replacement. String
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
namespace Changes to this property will trigger replacement. String
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resourceVersion String
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid String
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
annotations {[key: string]: string}
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
generation number
A sequence number representing a specific generation of the desired state.
labels {[key: string]: string}
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
name Changes to this property will trigger replacement. string
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
namespace Changes to this property will trigger replacement. string
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resourceVersion string
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid string
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
annotations Mapping[str, str]
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
generation int
A sequence number representing a specific generation of the desired state.
labels Mapping[str, str]
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
name Changes to this property will trigger replacement. str
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
namespace Changes to this property will trigger replacement. str
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resource_version str
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid str
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
annotations Map<String>
An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
generation Number
A sequence number representing a specific generation of the desired state.
labels Map<String>
Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
name Changes to this property will trigger replacement. String
Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
namespace Changes to this property will trigger replacement. String
Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resourceVersion String
An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid String
The unique in time and space value for this applications.argoproj.io. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

ApplicationSpec
, ApplicationSpecArgs

Destination This property is required. Three14.Argocd.Inputs.ApplicationSpecDestination
Reference to the Kubernetes server and namespace in which the application will be deployed.
Sources This property is required. List<Three14.Argocd.Inputs.ApplicationSpecSource>
Location of the application's manifests or chart.
IgnoreDifferences List<Three14.Argocd.Inputs.ApplicationSpecIgnoreDifference>
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
Infos List<Three14.Argocd.Inputs.ApplicationSpecInfo>
List of information (URLs, email addresses, and plain text) that relates to the application.
Project string
The project the application belongs to. Defaults to default.
RevisionHistoryLimit int
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
SyncPolicy Three14.Argocd.Inputs.ApplicationSpecSyncPolicy
Controls when and how a sync will be performed.
Destination This property is required. ApplicationSpecDestination
Reference to the Kubernetes server and namespace in which the application will be deployed.
Sources This property is required. []ApplicationSpecSource
Location of the application's manifests or chart.
IgnoreDifferences []ApplicationSpecIgnoreDifference
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
Infos []ApplicationSpecInfo
List of information (URLs, email addresses, and plain text) that relates to the application.
Project string
The project the application belongs to. Defaults to default.
RevisionHistoryLimit int
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
SyncPolicy ApplicationSpecSyncPolicy
Controls when and how a sync will be performed.
destination This property is required. ApplicationSpecDestination
Reference to the Kubernetes server and namespace in which the application will be deployed.
sources This property is required. List<ApplicationSpecSource>
Location of the application's manifests or chart.
ignoreDifferences List<ApplicationSpecIgnoreDifference>
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
infos List<ApplicationSpecInfo>
List of information (URLs, email addresses, and plain text) that relates to the application.
project String
The project the application belongs to. Defaults to default.
revisionHistoryLimit Integer
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
syncPolicy ApplicationSpecSyncPolicy
Controls when and how a sync will be performed.
destination This property is required. ApplicationSpecDestination
Reference to the Kubernetes server and namespace in which the application will be deployed.
sources This property is required. ApplicationSpecSource[]
Location of the application's manifests or chart.
ignoreDifferences ApplicationSpecIgnoreDifference[]
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
infos ApplicationSpecInfo[]
List of information (URLs, email addresses, and plain text) that relates to the application.
project string
The project the application belongs to. Defaults to default.
revisionHistoryLimit number
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
syncPolicy ApplicationSpecSyncPolicy
Controls when and how a sync will be performed.
destination This property is required. ApplicationSpecDestination
Reference to the Kubernetes server and namespace in which the application will be deployed.
sources This property is required. Sequence[ApplicationSpecSource]
Location of the application's manifests or chart.
ignore_differences Sequence[ApplicationSpecIgnoreDifference]
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
infos Sequence[ApplicationSpecInfo]
List of information (URLs, email addresses, and plain text) that relates to the application.
project str
The project the application belongs to. Defaults to default.
revision_history_limit int
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
sync_policy ApplicationSpecSyncPolicy
Controls when and how a sync will be performed.
destination This property is required. Property Map
Reference to the Kubernetes server and namespace in which the application will be deployed.
sources This property is required. List<Property Map>
Location of the application's manifests or chart.
ignoreDifferences List<Property Map>
Resources and their fields which should be ignored during comparison. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#application-level-configuration.
infos List<Property Map>
List of information (URLs, email addresses, and plain text) that relates to the application.
project String
The project the application belongs to. Defaults to default.
revisionHistoryLimit Number
Limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
syncPolicy Property Map
Controls when and how a sync will be performed.

ApplicationSpecDestination
, ApplicationSpecDestinationArgs

Name string
Name of the target cluster. Can be used instead of server.
Namespace string
Target namespace for the 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 and must be set to the Kubernetes control plane API.
Name string
Name of the target cluster. Can be used instead of server.
Namespace string
Target namespace for the 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 and must be set to the Kubernetes control plane API.
name String
Name of the target cluster. Can be used instead of server.
namespace String
Target namespace for the 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 and must be set to the Kubernetes control plane API.
name string
Name of the target cluster. Can be used instead of server.
namespace string
Target namespace for the 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 and must be set to the Kubernetes control plane API.
name str
Name of the target cluster. Can be used instead of server.
namespace str
Target namespace for the 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 and must be set to the Kubernetes control plane API.
name String
Name of the target cluster. Can be used instead of server.
namespace String
Target namespace for the 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 and must be set to the Kubernetes control plane API.

ApplicationSpecIgnoreDifference
, ApplicationSpecIgnoreDifferenceArgs

Group string
The Kubernetes resource Group to match for.
JqPathExpressions List<string>
List of JQ path expression strings targeting the field(s) to ignore.
JsonPointers List<string>
List of JSONPaths strings targeting the field(s) to ignore.
Kind string
The Kubernetes resource Kind to match for.
ManagedFieldsManagers List<string>
List of external controller manager names whose changes to fields should be ignored.
Name string
The Kubernetes resource Name to match for.
Namespace string
The Kubernetes resource Namespace to match for.
Group string
The Kubernetes resource Group to match for.
JqPathExpressions []string
List of JQ path expression strings targeting the field(s) to ignore.
JsonPointers []string
List of JSONPaths strings targeting the field(s) to ignore.
Kind string
The Kubernetes resource Kind to match for.
ManagedFieldsManagers []string
List of external controller manager names whose changes to fields should be ignored.
Name string
The Kubernetes resource Name to match for.
Namespace string
The Kubernetes resource Namespace to match for.
group String
The Kubernetes resource Group to match for.
jqPathExpressions List<String>
List of JQ path expression strings targeting the field(s) to ignore.
jsonPointers List<String>
List of JSONPaths strings targeting the field(s) to ignore.
kind String
The Kubernetes resource Kind to match for.
managedFieldsManagers List<String>
List of external controller manager names whose changes to fields should be ignored.
name String
The Kubernetes resource Name to match for.
namespace String
The Kubernetes resource Namespace to match for.
group string
The Kubernetes resource Group to match for.
jqPathExpressions string[]
List of JQ path expression strings targeting the field(s) to ignore.
jsonPointers string[]
List of JSONPaths strings targeting the field(s) to ignore.
kind string
The Kubernetes resource Kind to match for.
managedFieldsManagers string[]
List of external controller manager names whose changes to fields should be ignored.
name string
The Kubernetes resource Name to match for.
namespace string
The Kubernetes resource Namespace to match for.
group str
The Kubernetes resource Group to match for.
jq_path_expressions Sequence[str]
List of JQ path expression strings targeting the field(s) to ignore.
json_pointers Sequence[str]
List of JSONPaths strings targeting the field(s) to ignore.
kind str
The Kubernetes resource Kind to match for.
managed_fields_managers Sequence[str]
List of external controller manager names whose changes to fields should be ignored.
name str
The Kubernetes resource Name to match for.
namespace str
The Kubernetes resource Namespace to match for.
group String
The Kubernetes resource Group to match for.
jqPathExpressions List<String>
List of JQ path expression strings targeting the field(s) to ignore.
jsonPointers List<String>
List of JSONPaths strings targeting the field(s) to ignore.
kind String
The Kubernetes resource Kind to match for.
managedFieldsManagers List<String>
List of external controller manager names whose changes to fields should be ignored.
name String
The Kubernetes resource Name to match for.
namespace String
The Kubernetes resource Namespace to match for.

ApplicationSpecInfo
, ApplicationSpecInfoArgs

Name string
Name of the information.
Value string
Value of the information.
Name string
Name of the information.
Value string
Value of the information.
name String
Name of the information.
value String
Value of the information.
name string
Name of the information.
value string
Value of the information.
name str
Name of the information.
value str
Value of the information.
name String
Name of the information.
value String
Value of the information.

ApplicationSpecSource
, ApplicationSpecSourceArgs

RepoUrl This property is required. string
URL to the repository (Git or Helm) that contains the application manifests.
Chart string
Helm chart name. Must be specified for applications sourced from a Helm repo.
Directory Three14.Argocd.Inputs.ApplicationSpecSourceDirectory
Path/directory specific options.
Helm Three14.Argocd.Inputs.ApplicationSpecSourceHelm
Helm specific options.
Kustomize Three14.Argocd.Inputs.ApplicationSpecSourceKustomize
Kustomize specific options.
Path string
Directory path within the repository. Only valid for applications sourced from Git.
Plugin Three14.Argocd.Inputs.ApplicationSpecSourcePlugin
Config management plugin specific options.
Ref string
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
TargetRevision string
Revision of the source to sync the 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 for the Chart's version.
RepoUrl This property is required. string
URL to the repository (Git or Helm) that contains the application manifests.
Chart string
Helm chart name. Must be specified for applications sourced from a Helm repo.
Directory ApplicationSpecSourceDirectory
Path/directory specific options.
Helm ApplicationSpecSourceHelm
Helm specific options.
Kustomize ApplicationSpecSourceKustomize
Kustomize specific options.
Path string
Directory path within the repository. Only valid for applications sourced from Git.
Plugin ApplicationSpecSourcePlugin
Config management plugin specific options.
Ref string
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
TargetRevision string
Revision of the source to sync the 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 for the Chart's version.
repoUrl This property is required. String
URL to the repository (Git or Helm) that contains the application manifests.
chart String
Helm chart name. Must be specified for applications sourced from a Helm repo.
directory ApplicationSpecSourceDirectory
Path/directory specific options.
helm ApplicationSpecSourceHelm
Helm specific options.
kustomize ApplicationSpecSourceKustomize
Kustomize specific options.
path String
Directory path within the repository. Only valid for applications sourced from Git.
plugin ApplicationSpecSourcePlugin
Config management plugin specific options.
ref String
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
targetRevision String
Revision of the source to sync the 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 for the Chart's version.
repoUrl This property is required. string
URL to the repository (Git or Helm) that contains the application manifests.
chart string
Helm chart name. Must be specified for applications sourced from a Helm repo.
directory ApplicationSpecSourceDirectory
Path/directory specific options.
helm ApplicationSpecSourceHelm
Helm specific options.
kustomize ApplicationSpecSourceKustomize
Kustomize specific options.
path string
Directory path within the repository. Only valid for applications sourced from Git.
plugin ApplicationSpecSourcePlugin
Config management plugin specific options.
ref string
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
targetRevision string
Revision of the source to sync the 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 for the Chart's version.
repo_url This property is required. str
URL to the repository (Git or Helm) that contains the application manifests.
chart str
Helm chart name. Must be specified for applications sourced from a Helm repo.
directory ApplicationSpecSourceDirectory
Path/directory specific options.
helm ApplicationSpecSourceHelm
Helm specific options.
kustomize ApplicationSpecSourceKustomize
Kustomize specific options.
path str
Directory path within the repository. Only valid for applications sourced from Git.
plugin ApplicationSpecSourcePlugin
Config management plugin specific options.
ref str
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
target_revision str
Revision of the source to sync the 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 for the Chart's version.
repoUrl This property is required. String
URL to the repository (Git or Helm) that contains the application manifests.
chart String
Helm chart name. Must be specified for applications sourced from a Helm repo.
directory Property Map
Path/directory specific options.
helm Property Map
Helm specific options.
kustomize Property Map
Kustomize specific options.
path String
Directory path within the repository. Only valid for applications sourced from Git.
plugin Property Map
Config management plugin specific options.
ref String
Reference to another source within defined sources. See associated documentation on Helm value files from external Git repository regarding combining ref with path and/or chart.
targetRevision String
Revision of the source to sync the 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 for the Chart's version.

ApplicationSpecSourceDirectory
, ApplicationSpecSourceDirectoryArgs

Exclude string
Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
Include string
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
Jsonnet Three14.Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnet
Jsonnet specific options.
Recurse bool
Whether 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. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
Include string
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
Jsonnet ApplicationSpecSourceDirectoryJsonnet
Jsonnet specific options.
Recurse bool
Whether 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. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
include String
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
jsonnet ApplicationSpecSourceDirectoryJsonnet
Jsonnet specific options.
recurse Boolean
Whether 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. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
include string
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
jsonnet ApplicationSpecSourceDirectoryJsonnet
Jsonnet specific options.
recurse boolean
Whether 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. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
include str
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
jsonnet ApplicationSpecSourceDirectoryJsonnet
Jsonnet specific options.
recurse bool
Whether 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. This takes precedence over the include field. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{config.yaml,env-use2/*}'
include String
Glob pattern to match paths against that should be explicitly included during manifest generation. If this field is set, only matching manifests will be included. To match multiple patterns, wrap the patterns in {} and separate them with commas. For example: '{.yml,.yaml}'
jsonnet Property Map
Jsonnet specific options.
recurse Boolean
Whether to scan a directory recursively for manifests.

ApplicationSpecSourceDirectoryJsonnet
, ApplicationSpecSourceDirectoryJsonnetArgs

ExtVars List<Three14.Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnetExtVar>
List of Jsonnet External Variables.
Libs List<string>
Additional library search dirs.
Tlas List<Three14.Argocd.Inputs.ApplicationSpecSourceDirectoryJsonnetTla>
List of Jsonnet Top-level Arguments
ExtVars []ApplicationSpecSourceDirectoryJsonnetExtVar
List of Jsonnet External Variables.
Libs []string
Additional library search dirs.
Tlas []ApplicationSpecSourceDirectoryJsonnetTla
List of Jsonnet Top-level Arguments
extVars List<ApplicationSpecSourceDirectoryJsonnetExtVar>
List of Jsonnet External Variables.
libs List<String>
Additional library search dirs.
tlas List<ApplicationSpecSourceDirectoryJsonnetTla>
List of Jsonnet Top-level Arguments
extVars ApplicationSpecSourceDirectoryJsonnetExtVar[]
List of Jsonnet External Variables.
libs string[]
Additional library search dirs.
tlas ApplicationSpecSourceDirectoryJsonnetTla[]
List of Jsonnet Top-level Arguments
ext_vars Sequence[ApplicationSpecSourceDirectoryJsonnetExtVar]
List of Jsonnet External Variables.
libs Sequence[str]
Additional library search dirs.
tlas Sequence[ApplicationSpecSourceDirectoryJsonnetTla]
List of Jsonnet Top-level Arguments
extVars 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

ApplicationSpecSourceDirectoryJsonnetExtVar
, ApplicationSpecSourceDirectoryJsonnetExtVarArgs

Code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
Name string
Name of Jsonnet variable.
Value string
Value of Jsonnet variable.
Code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
Name string
Name of Jsonnet variable.
Value string
Value of Jsonnet variable.
code Boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name String
Name of Jsonnet variable.
value String
Value of Jsonnet variable.
code boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name string
Name of Jsonnet variable.
value string
Value of Jsonnet variable.
code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name str
Name of Jsonnet variable.
value str
Value of Jsonnet variable.
code Boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name String
Name of Jsonnet variable.
value String
Value of Jsonnet variable.

ApplicationSpecSourceDirectoryJsonnetTla
, ApplicationSpecSourceDirectoryJsonnetTlaArgs

Code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
Name string
Name of Jsonnet variable.
Value string
Value of Jsonnet variable.
Code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
Name string
Name of Jsonnet variable.
Value string
Value of Jsonnet variable.
code Boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name String
Name of Jsonnet variable.
value String
Value of Jsonnet variable.
code boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name string
Name of Jsonnet variable.
value string
Value of Jsonnet variable.
code bool
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name str
Name of Jsonnet variable.
value str
Value of Jsonnet variable.
code Boolean
Determines whether the variable should be evaluated as jsonnet code or treated as string.
name String
Name of Jsonnet variable.
value String
Value of Jsonnet variable.

ApplicationSpecSourceHelm
, ApplicationSpecSourceHelmArgs

FileParameters List<Three14.Argocd.Inputs.ApplicationSpecSourceHelmFileParameter>
File parameters for the helm template.
IgnoreMissingValueFiles bool
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
Parameters List<Three14.Argocd.Inputs.ApplicationSpecSourceHelmParameter>
Helm parameters which are passed to the helm template command upon manifest generation.
PassCredentials bool
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
ReleaseName string
Helm release name. If omitted it will use the application name.
SkipCrds bool
Whether to skip custom resource definition installation step (Helm's --skip-crds).
ValueFiles 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
The Helm version to use for templating. Accepts either v2 or v3
FileParameters []ApplicationSpecSourceHelmFileParameter
File parameters for the helm template.
IgnoreMissingValueFiles bool
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
Parameters []ApplicationSpecSourceHelmParameter
Helm parameters which are passed to the helm template command upon manifest generation.
PassCredentials bool
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
ReleaseName string
Helm release name. If omitted it will use the application name.
SkipCrds bool
Whether to skip custom resource definition installation step (Helm's --skip-crds).
ValueFiles []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
The Helm version to use for templating. Accepts either v2 or v3
fileParameters List<ApplicationSpecSourceHelmFileParameter>
File parameters for the helm template.
ignoreMissingValueFiles Boolean
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
parameters List<ApplicationSpecSourceHelmParameter>
Helm parameters which are passed to the helm template command upon manifest generation.
passCredentials Boolean
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
releaseName String
Helm release name. If omitted it will use the application name.
skipCrds Boolean
Whether to skip custom resource definition installation step (Helm's --skip-crds).
valueFiles 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
The Helm version to use for templating. Accepts either v2 or v3
fileParameters ApplicationSpecSourceHelmFileParameter[]
File parameters for the helm template.
ignoreMissingValueFiles boolean
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
parameters ApplicationSpecSourceHelmParameter[]
Helm parameters which are passed to the helm template command upon manifest generation.
passCredentials boolean
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
releaseName string
Helm release name. If omitted it will use the application name.
skipCrds boolean
Whether to skip custom resource definition installation step (Helm's --skip-crds).
valueFiles 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
The Helm version to use for templating. Accepts either v2 or v3
file_parameters Sequence[ApplicationSpecSourceHelmFileParameter]
File parameters for the helm template.
ignore_missing_value_files bool
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
parameters Sequence[ApplicationSpecSourceHelmParameter]
Helm parameters which are passed to the helm template command upon manifest generation.
pass_credentials bool
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
release_name str
Helm release name. If omitted it will use the application name.
skip_crds bool
Whether to skip custom resource definition installation step (Helm's --skip-crds).
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
The Helm version to use for templating. Accepts either v2 or v3
fileParameters List<Property Map>
File parameters for the helm template.
ignoreMissingValueFiles Boolean
Prevents 'helm template' from failing when value_files do not exist locally by not appending them to 'helm template --values'.
parameters List<Property Map>
Helm parameters which are passed to the helm template command upon manifest generation.
passCredentials Boolean
If true then adds '--pass-credentials' to Helm commands to pass credentials to all domains.
releaseName String
Helm release name. If omitted it will use the application name.
skipCrds Boolean
Whether to skip custom resource definition installation step (Helm's --skip-crds).
valueFiles 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
The Helm version to use for templating. Accepts either v2 or v3

ApplicationSpecSourceHelmFileParameter
, ApplicationSpecSourceHelmFileParameterArgs

Name This property is required. string
Name of the Helm parameter.
Path This property is required. string
Path to the file containing the values for the Helm parameter.
Name This property is required. string
Name of the Helm parameter.
Path This property is required. string
Path to the file containing the values for the Helm parameter.
name This property is required. String
Name of the Helm parameter.
path This property is required. String
Path to the file containing the values for the Helm parameter.
name This property is required. string
Name of the Helm parameter.
path This property is required. string
Path to the file containing the values for the Helm parameter.
name This property is required. str
Name of the Helm parameter.
path This property is required. str
Path to the file containing the values for the Helm parameter.
name This property is required. String
Name of the Helm parameter.
path This property is required. String
Path to the file containing the values for the Helm parameter.

ApplicationSpecSourceHelmParameter
, ApplicationSpecSourceHelmParameterArgs

ForceString bool
Determines whether to tell Helm to interpret booleans and numbers as strings.
Name string
Name of the Helm parameter.
Value string
Value of the Helm parameter.
ForceString bool
Determines whether to tell Helm to interpret booleans and numbers as strings.
Name string
Name of the Helm parameter.
Value string
Value of the Helm parameter.
forceString Boolean
Determines whether to tell Helm to interpret booleans and numbers as strings.
name String
Name of the Helm parameter.
value String
Value of the Helm parameter.
forceString boolean
Determines whether to tell Helm to interpret booleans and numbers as strings.
name string
Name of the Helm parameter.
value string
Value of the Helm parameter.
force_string bool
Determines whether to tell Helm to interpret booleans and numbers as strings.
name str
Name of the Helm parameter.
value str
Value of the Helm parameter.
forceString Boolean
Determines whether to tell Helm to interpret booleans and numbers as strings.
name String
Name of the Helm parameter.
value String
Value of the Helm parameter.

ApplicationSpecSourceKustomize
, ApplicationSpecSourceKustomizeArgs

CommonAnnotations Dictionary<string, string>
List of additional annotations to add to rendered manifests.
CommonLabels Dictionary<string, string>
List of additional labels to add to rendered manifests.
Images List<string>
List of Kustomize image override specifications.
NamePrefix string
Prefix appended to resources for Kustomize apps.
NameSuffix string
Suffix appended to resources for Kustomize apps.
Patches List<Three14.Argocd.Inputs.ApplicationSpecSourceKustomizePatch>
A list of Kustomize patches to apply.
Version string
Version of Kustomize to use for rendering manifests.
CommonAnnotations map[string]string
List of additional annotations to add to rendered manifests.
CommonLabels map[string]string
List of additional labels to add to rendered manifests.
Images []string
List of Kustomize image override specifications.
NamePrefix string
Prefix appended to resources for Kustomize apps.
NameSuffix string
Suffix appended to resources for Kustomize apps.
Patches []ApplicationSpecSourceKustomizePatch
A list of Kustomize patches to apply.
Version string
Version of Kustomize to use for rendering manifests.
commonAnnotations Map<String,String>
List of additional annotations to add to rendered manifests.
commonLabels Map<String,String>
List of additional labels to add to rendered manifests.
images List<String>
List of Kustomize image override specifications.
namePrefix String
Prefix appended to resources for Kustomize apps.
nameSuffix String
Suffix appended to resources for Kustomize apps.
patches List<ApplicationSpecSourceKustomizePatch>
A list of Kustomize patches to apply.
version String
Version of Kustomize to use for rendering manifests.
commonAnnotations {[key: string]: string}
List of additional annotations to add to rendered manifests.
commonLabels {[key: string]: string}
List of additional labels to add to rendered manifests.
images string[]
List of Kustomize image override specifications.
namePrefix string
Prefix appended to resources for Kustomize apps.
nameSuffix string
Suffix appended to resources for Kustomize apps.
patches ApplicationSpecSourceKustomizePatch[]
A list of Kustomize patches to apply.
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.
images Sequence[str]
List of Kustomize image override specifications.
name_prefix str
Prefix appended to resources for Kustomize apps.
name_suffix str
Suffix appended to resources for Kustomize apps.
patches Sequence[ApplicationSpecSourceKustomizePatch]
A list of Kustomize patches to apply.
version str
Version of Kustomize to use for rendering manifests.
commonAnnotations Map<String>
List of additional annotations to add to rendered manifests.
commonLabels Map<String>
List of additional labels to add to rendered manifests.
images List<String>
List of Kustomize image override specifications.
namePrefix String
Prefix appended to resources for Kustomize apps.
nameSuffix String
Suffix appended to resources for Kustomize apps.
patches List<Property Map>
A list of Kustomize patches to apply.
version String
Version of Kustomize to use for rendering manifests.

ApplicationSpecSourceKustomizePatch
, ApplicationSpecSourceKustomizePatchArgs

Target This property is required. Three14.Argocd.Inputs.ApplicationSpecSourceKustomizePatchTarget
Target(s) to patch
Options Dictionary<string, bool>
Additional options.
Patch string
Inline Kustomize patch to apply.
Path string
Path to a file containing the patch to apply.
Target This property is required. ApplicationSpecSourceKustomizePatchTarget
Target(s) to patch
Options map[string]bool
Additional options.
Patch string
Inline Kustomize patch to apply.
Path string
Path to a file containing the patch to apply.
target This property is required. ApplicationSpecSourceKustomizePatchTarget
Target(s) to patch
options Map<String,Boolean>
Additional options.
patch String
Inline Kustomize patch to apply.
path String
Path to a file containing the patch to apply.
target This property is required. ApplicationSpecSourceKustomizePatchTarget
Target(s) to patch
options {[key: string]: boolean}
Additional options.
patch string
Inline Kustomize patch to apply.
path string
Path to a file containing the patch to apply.
target This property is required. ApplicationSpecSourceKustomizePatchTarget
Target(s) to patch
options Mapping[str, bool]
Additional options.
patch str
Inline Kustomize patch to apply.
path str
Path to a file containing the patch to apply.
target This property is required. Property Map
Target(s) to patch
options Map<Boolean>
Additional options.
patch String
Inline Kustomize patch to apply.
path String
Path to a file containing the patch to apply.

ApplicationSpecSourceKustomizePatchTarget
, ApplicationSpecSourceKustomizePatchTargetArgs

AnnotationSelector string
Annotation selector to use when matching the Kubernetes resource.
Group string
The Kubernetes resource Group to match for.
Kind string
The Kubernetes resource Kind to match for.
LabelSelector string
Label selector to use when matching the Kubernetes resource.
Name string
The Kubernetes resource Name to match for.
Namespace string
The Kubernetes resource Namespace to match for.
Version string
The Kubernetes resource Version to match for.
AnnotationSelector string
Annotation selector to use when matching the Kubernetes resource.
Group string
The Kubernetes resource Group to match for.
Kind string
The Kubernetes resource Kind to match for.
LabelSelector string
Label selector to use when matching the Kubernetes resource.
Name string
The Kubernetes resource Name to match for.
Namespace string
The Kubernetes resource Namespace to match for.
Version string
The Kubernetes resource Version to match for.
annotationSelector String
Annotation selector to use when matching the Kubernetes resource.
group String
The Kubernetes resource Group to match for.
kind String
The Kubernetes resource Kind to match for.
labelSelector String
Label selector to use when matching the Kubernetes resource.
name String
The Kubernetes resource Name to match for.
namespace String
The Kubernetes resource Namespace to match for.
version String
The Kubernetes resource Version to match for.
annotationSelector string
Annotation selector to use when matching the Kubernetes resource.
group string
The Kubernetes resource Group to match for.
kind string
The Kubernetes resource Kind to match for.
labelSelector string
Label selector to use when matching the Kubernetes resource.
name string
The Kubernetes resource Name to match for.
namespace string
The Kubernetes resource Namespace to match for.
version string
The Kubernetes resource Version to match for.
annotation_selector str
Annotation selector to use when matching the Kubernetes resource.
group str
The Kubernetes resource Group to match for.
kind str
The Kubernetes resource Kind to match for.
label_selector str
Label selector to use when matching the Kubernetes resource.
name str
The Kubernetes resource Name to match for.
namespace str
The Kubernetes resource Namespace to match for.
version str
The Kubernetes resource Version to match for.
annotationSelector String
Annotation selector to use when matching the Kubernetes resource.
group String
The Kubernetes resource Group to match for.
kind String
The Kubernetes resource Kind to match for.
labelSelector String
Label selector to use when matching the Kubernetes resource.
name String
The Kubernetes resource Name to match for.
namespace String
The Kubernetes resource Namespace to match for.
version String
The Kubernetes resource Version to match for.

ApplicationSpecSourcePlugin
, ApplicationSpecSourcePluginArgs

Envs List<Three14.Argocd.Inputs.ApplicationSpecSourcePluginEnv>
Environment variables passed to the plugin.
Name string
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.
Envs []ApplicationSpecSourcePluginEnv
Environment variables passed to the plugin.
Name string
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.
envs List<ApplicationSpecSourcePluginEnv>
Environment variables passed to the plugin.
name String
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.
envs ApplicationSpecSourcePluginEnv[]
Environment variables passed to the plugin.
name string
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.
envs Sequence[ApplicationSpecSourcePluginEnv]
Environment variables passed to the plugin.
name str
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.
envs List<Property Map>
Environment variables passed to the plugin.
name String
Name of the plugin. Only set the plugin name if the plugin is defined in argocd-cm. If the plugin is defined as a sidecar, omit the name. The plugin will be automatically matched with the Application according to the plugin's discovery rules.

ApplicationSpecSourcePluginEnv
, ApplicationSpecSourcePluginEnvArgs

Name string
Name of the environment variable.
Value string
Value of the environment variable.
Name string
Name of the environment variable.
Value string
Value of the environment variable.
name String
Name of the environment variable.
value String
Value of the environment variable.
name string
Name of the environment variable.
value string
Value of the environment variable.
name str
Name of the environment variable.
value str
Value of the environment variable.
name String
Name of the environment variable.
value String
Value of the environment variable.

ApplicationSpecSyncPolicy
, ApplicationSpecSyncPolicyArgs

Automated Three14.Argocd.Inputs.ApplicationSpecSyncPolicyAutomated
Whether to automatically keep an application synced to the target revision.
ManagedNamespaceMetadata Three14.Argocd.Inputs.ApplicationSpecSyncPolicyManagedNamespaceMetadata
Controls metadata in the given namespace (if CreateNamespace=true).
Retry Three14.Argocd.Inputs.ApplicationSpecSyncPolicyRetry
Controls failed sync retry behavior.
SyncOptions List<string>
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.
Automated ApplicationSpecSyncPolicyAutomated
Whether to automatically keep an application synced to the target revision.
ManagedNamespaceMetadata ApplicationSpecSyncPolicyManagedNamespaceMetadata
Controls metadata in the given namespace (if CreateNamespace=true).
Retry ApplicationSpecSyncPolicyRetry
Controls failed sync retry behavior.
SyncOptions []string
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.
automated ApplicationSpecSyncPolicyAutomated
Whether to automatically keep an application synced to the target revision.
managedNamespaceMetadata ApplicationSpecSyncPolicyManagedNamespaceMetadata
Controls metadata in the given namespace (if CreateNamespace=true).
retry ApplicationSpecSyncPolicyRetry
Controls failed sync retry behavior.
syncOptions List<String>
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.
automated ApplicationSpecSyncPolicyAutomated
Whether to automatically keep an application synced to the target revision.
managedNamespaceMetadata ApplicationSpecSyncPolicyManagedNamespaceMetadata
Controls metadata in the given namespace (if CreateNamespace=true).
retry ApplicationSpecSyncPolicyRetry
Controls failed sync retry behavior.
syncOptions string[]
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.
automated ApplicationSpecSyncPolicyAutomated
Whether to automatically keep an application synced to the target revision.
managed_namespace_metadata ApplicationSpecSyncPolicyManagedNamespaceMetadata
Controls metadata in the given namespace (if CreateNamespace=true).
retry ApplicationSpecSyncPolicyRetry
Controls failed sync retry behavior.
sync_options Sequence[str]
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.
automated Property Map
Whether to automatically keep an application synced to the target revision.
managedNamespaceMetadata Property Map
Controls metadata in the given namespace (if CreateNamespace=true).
retry Property Map
Controls failed sync retry behavior.
syncOptions List<String>
List of sync options. More info: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/.

ApplicationSpecSyncPolicyAutomated
, ApplicationSpecSyncPolicyAutomatedArgs

AllowEmpty bool
Allows apps have zero live resources.
Prune bool
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
SelfHeal bool
Whether to revert resources back to their desired state upon modification in the cluster.
AllowEmpty bool
Allows apps have zero live resources.
Prune bool
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
SelfHeal bool
Whether to revert resources back to their desired state upon modification in the cluster.
allowEmpty Boolean
Allows apps have zero live resources.
prune Boolean
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
selfHeal Boolean
Whether to revert resources back to their desired state upon modification in the cluster.
allowEmpty boolean
Allows apps have zero live resources.
prune boolean
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
selfHeal boolean
Whether to revert resources back to their desired state upon modification in the cluster.
allow_empty bool
Allows apps have zero live resources.
prune bool
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
self_heal bool
Whether to revert resources back to their desired state upon modification in the cluster.
allowEmpty Boolean
Allows apps have zero live resources.
prune Boolean
Whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync.
selfHeal Boolean
Whether to revert resources back to their desired state upon modification in the cluster.

ApplicationSpecSyncPolicyManagedNamespaceMetadata
, ApplicationSpecSyncPolicyManagedNamespaceMetadataArgs

Annotations Dictionary<string, string>
Annotations to apply to the namespace.
Labels Dictionary<string, string>
Labels to apply to the namespace.
Annotations map[string]string
Annotations to apply to the namespace.
Labels map[string]string
Labels to apply to the namespace.
annotations Map<String,String>
Annotations to apply to the namespace.
labels Map<String,String>
Labels to apply to the namespace.
annotations {[key: string]: string}
Annotations to apply to the namespace.
labels {[key: string]: string}
Labels to apply to the namespace.
annotations Mapping[str, str]
Annotations to apply to the namespace.
labels Mapping[str, str]
Labels to apply to the namespace.
annotations Map<String>
Annotations to apply to the namespace.
labels Map<String>
Labels to apply to the namespace.

ApplicationSpecSyncPolicyRetry
, ApplicationSpecSyncPolicyRetryArgs

Backoff Three14.Argocd.Inputs.ApplicationSpecSyncPolicyRetryBackoff
Controls how to backoff on subsequent retries of failed syncs.
Limit string
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
Backoff ApplicationSpecSyncPolicyRetryBackoff
Controls how to backoff on subsequent retries of failed syncs.
Limit string
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
backoff ApplicationSpecSyncPolicyRetryBackoff
Controls how to backoff on subsequent retries of failed syncs.
limit String
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
backoff ApplicationSpecSyncPolicyRetryBackoff
Controls how to backoff on subsequent retries of failed syncs.
limit string
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
backoff ApplicationSpecSyncPolicyRetryBackoff
Controls how to backoff on subsequent retries of failed syncs.
limit str
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
backoff Property Map
Controls how to backoff on subsequent retries of failed syncs.
limit String
Maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.

ApplicationSpecSyncPolicyRetryBackoff
, ApplicationSpecSyncPolicyRetryBackoffArgs

Duration string
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
Factor string
Factor to multiply the base duration after each failed retry.
MaxDuration string
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
Duration string
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
Factor string
Factor to multiply the base duration after each failed retry.
MaxDuration string
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
duration String
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
factor String
Factor to multiply the base duration after each failed retry.
maxDuration String
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
duration string
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
factor string
Factor to multiply the base duration after each failed retry.
maxDuration string
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
duration str
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
factor str
Factor to multiply the base duration after each failed retry.
max_duration str
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
duration String
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.
factor String
Factor to multiply the base duration after each failed retry.
maxDuration String
Maximum amount of time allowed for the backoff strategy. Default unit is seconds, but could also be a duration (e.g. 2m, 1h), as a string.

ApplicationStatus
, ApplicationStatusArgs

Conditions List<Three14.Argocd.Inputs.ApplicationStatusCondition>
List of currently observed application conditions.
Healths List<Three14.Argocd.Inputs.ApplicationStatusHealth>
Application's current health status.
OperationStates List<Three14.Argocd.Inputs.ApplicationStatusOperationState>
Information about any ongoing operations, such as a sync.
ReconciledAt string
When the application state was reconciled using the latest git version.
Resources List<Three14.Argocd.Inputs.ApplicationStatusResource>
List of Kubernetes resources managed by this application.
Summaries List<Three14.Argocd.Inputs.ApplicationStatusSummary>
List of URLs and container images used by this application.
Syncs List<Three14.Argocd.Inputs.ApplicationStatusSync>
Application's current sync status
Conditions []ApplicationStatusCondition
List of currently observed application conditions.
Healths []ApplicationStatusHealth
Application's current health status.
OperationStates []ApplicationStatusOperationState
Information about any ongoing operations, such as a sync.
ReconciledAt string
When the application state was reconciled using the latest git version.
Resources []ApplicationStatusResource
List of Kubernetes resources managed by this application.
Summaries []ApplicationStatusSummary
List of URLs and container images used by this application.
Syncs []ApplicationStatusSync
Application's current sync status
conditions List<ApplicationStatusCondition>
List of currently observed application conditions.
healths List<ApplicationStatusHealth>
Application's current health status.
operationStates List<ApplicationStatusOperationState>
Information about any ongoing operations, such as a sync.
reconciledAt String
When the application state was reconciled using the latest git version.
resources List<ApplicationStatusResource>
List of Kubernetes resources managed by this application.
summaries List<ApplicationStatusSummary>
List of URLs and container images used by this application.
syncs List<ApplicationStatusSync>
Application's current sync status
conditions ApplicationStatusCondition[]
List of currently observed application conditions.
healths ApplicationStatusHealth[]
Application's current health status.
operationStates ApplicationStatusOperationState[]
Information about any ongoing operations, such as a sync.
reconciledAt string
When the application state was reconciled using the latest git version.
resources ApplicationStatusResource[]
List of Kubernetes resources managed by this application.
summaries ApplicationStatusSummary[]
List of URLs and container images used by this application.
syncs ApplicationStatusSync[]
Application's current sync status
conditions Sequence[ApplicationStatusCondition]
List of currently observed application conditions.
healths Sequence[ApplicationStatusHealth]
Application's current health status.
operation_states Sequence[ApplicationStatusOperationState]
Information about any ongoing operations, such as a sync.
reconciled_at str
When the application state was reconciled using the latest git version.
resources Sequence[ApplicationStatusResource]
List of Kubernetes resources managed by this application.
summaries Sequence[ApplicationStatusSummary]
List of URLs and container images used by this application.
syncs Sequence[ApplicationStatusSync]
Application's current sync status
conditions List<Property Map>
List of currently observed application conditions.
healths List<Property Map>
Application's current health status.
operationStates List<Property Map>
Information about any ongoing operations, such as a sync.
reconciledAt String
When the application state was reconciled using the latest git version.
resources List<Property Map>
List of Kubernetes resources managed by this application.
summaries List<Property Map>
List of URLs and container images used by this application.
syncs List<Property Map>
Application's current sync status

ApplicationStatusCondition
, ApplicationStatusConditionArgs

LastTransitionTime string
The time the condition was last observed.
Message string
Human-readable message indicating details about condition.
Type string
Application condition type.
LastTransitionTime string
The time the condition was last observed.
Message string
Human-readable message indicating details about condition.
Type string
Application condition type.
lastTransitionTime String
The time the condition was last observed.
message String
Human-readable message indicating details about condition.
type String
Application condition type.
lastTransitionTime string
The time the condition was last observed.
message string
Human-readable message indicating details about condition.
type string
Application condition type.
last_transition_time str
The time the condition was last observed.
message str
Human-readable message indicating details about condition.
type str
Application condition type.
lastTransitionTime String
The time the condition was last observed.
message String
Human-readable message indicating details about condition.
type String
Application condition type.

ApplicationStatusHealth
, ApplicationStatusHealthArgs

Message string
Human-readable informational message describing the health status.
Status string
Status code of the application or resource.
Message string
Human-readable informational message describing the health status.
Status string
Status code of the application or resource.
message String
Human-readable informational message describing the health status.
status String
Status code of the application or resource.
message string
Human-readable informational message describing the health status.
status string
Status code of the application or resource.
message str
Human-readable informational message describing the health status.
status str
Status code of the application or resource.
message String
Human-readable informational message describing the health status.
status String
Status code of the application or resource.

ApplicationStatusOperationState
, ApplicationStatusOperationStateArgs

FinishedAt string
Time of operation completion.
Message string
Any pertinent messages when attempting to perform operation (typically errors).
Phase string
The current phase of the operation.
RetryCount string
Count of operation retries.
StartedAt string
Time of operation start.
FinishedAt string
Time of operation completion.
Message string
Any pertinent messages when attempting to perform operation (typically errors).
Phase string
The current phase of the operation.
RetryCount string
Count of operation retries.
StartedAt string
Time of operation start.
finishedAt String
Time of operation completion.
message String
Any pertinent messages when attempting to perform operation (typically errors).
phase String
The current phase of the operation.
retryCount String
Count of operation retries.
startedAt String
Time of operation start.
finishedAt string
Time of operation completion.
message string
Any pertinent messages when attempting to perform operation (typically errors).
phase string
The current phase of the operation.
retryCount string
Count of operation retries.
startedAt string
Time of operation start.
finished_at str
Time of operation completion.
message str
Any pertinent messages when attempting to perform operation (typically errors).
phase str
The current phase of the operation.
retry_count str
Count of operation retries.
started_at str
Time of operation start.
finishedAt String
Time of operation completion.
message String
Any pertinent messages when attempting to perform operation (typically errors).
phase String
The current phase of the operation.
retryCount String
Count of operation retries.
startedAt String
Time of operation start.

ApplicationStatusResource
, ApplicationStatusResourceArgs

Group string
The Kubernetes resource Group.
Healths List<Three14.Argocd.Inputs.ApplicationStatusResourceHealth>
Resource health status.
Hook bool
Indicates whether or not this resource has a hook annotation.
Kind string
The Kubernetes resource Kind.
Name string
The Kubernetes resource Name.
Namespace string
The Kubernetes resource Namespace.
RequiresPruning bool
Indicates if the resources requires pruning or not.
Status string
Resource sync status.
SyncWave string
Sync wave.
Version string
The Kubernetes resource Version.
Group string
The Kubernetes resource Group.
Healths []ApplicationStatusResourceHealth
Resource health status.
Hook bool
Indicates whether or not this resource has a hook annotation.
Kind string
The Kubernetes resource Kind.
Name string
The Kubernetes resource Name.
Namespace string
The Kubernetes resource Namespace.
RequiresPruning bool
Indicates if the resources requires pruning or not.
Status string
Resource sync status.
SyncWave string
Sync wave.
Version string
The Kubernetes resource Version.
group String
The Kubernetes resource Group.
healths List<ApplicationStatusResourceHealth>
Resource health status.
hook Boolean
Indicates whether or not this resource has a hook annotation.
kind String
The Kubernetes resource Kind.
name String
The Kubernetes resource Name.
namespace String
The Kubernetes resource Namespace.
requiresPruning Boolean
Indicates if the resources requires pruning or not.
status String
Resource sync status.
syncWave String
Sync wave.
version String
The Kubernetes resource Version.
group string
The Kubernetes resource Group.
healths ApplicationStatusResourceHealth[]
Resource health status.
hook boolean
Indicates whether or not this resource has a hook annotation.
kind string
The Kubernetes resource Kind.
name string
The Kubernetes resource Name.
namespace string
The Kubernetes resource Namespace.
requiresPruning boolean
Indicates if the resources requires pruning or not.
status string
Resource sync status.
syncWave string
Sync wave.
version string
The Kubernetes resource Version.
group str
The Kubernetes resource Group.
healths Sequence[ApplicationStatusResourceHealth]
Resource health status.
hook bool
Indicates whether or not this resource has a hook annotation.
kind str
The Kubernetes resource Kind.
name str
The Kubernetes resource Name.
namespace str
The Kubernetes resource Namespace.
requires_pruning bool
Indicates if the resources requires pruning or not.
status str
Resource sync status.
sync_wave str
Sync wave.
version str
The Kubernetes resource Version.
group String
The Kubernetes resource Group.
healths List<Property Map>
Resource health status.
hook Boolean
Indicates whether or not this resource has a hook annotation.
kind String
The Kubernetes resource Kind.
name String
The Kubernetes resource Name.
namespace String
The Kubernetes resource Namespace.
requiresPruning Boolean
Indicates if the resources requires pruning or not.
status String
Resource sync status.
syncWave String
Sync wave.
version String
The Kubernetes resource Version.

ApplicationStatusResourceHealth
, ApplicationStatusResourceHealthArgs

Message string
Human-readable informational message describing the health status.
Status string
Status code of the application or resource.
Message string
Human-readable informational message describing the health status.
Status string
Status code of the application or resource.
message String
Human-readable informational message describing the health status.
status String
Status code of the application or resource.
message string
Human-readable informational message describing the health status.
status string
Status code of the application or resource.
message str
Human-readable informational message describing the health status.
status str
Status code of the application or resource.
message String
Human-readable informational message describing the health status.
status String
Status code of the application or resource.

ApplicationStatusSummary
, ApplicationStatusSummaryArgs

ExternalUrls List<object>
All external URLs of application child resources.
Images List<object>
All images of application child resources.
ExternalUrls []interface{}
All external URLs of application child resources.
Images []interface{}
All images of application child resources.
externalUrls List<Object>
All external URLs of application child resources.
images List<Object>
All images of application child resources.
externalUrls any[]
All external URLs of application child resources.
images any[]
All images of application child resources.
external_urls Sequence[Any]
All external URLs of application child resources.
images Sequence[Any]
All images of application child resources.
externalUrls List<Any>
All external URLs of application child resources.
images List<Any>
All images of application child resources.

ApplicationStatusSync
, ApplicationStatusSyncArgs

Revision string
Information about the revision the comparison has been performed to.
Revisions List<object>
Information about the revision(s) the comparison has been performed to.
Status string
Sync state of the comparison.
Revision string
Information about the revision the comparison has been performed to.
Revisions []interface{}
Information about the revision(s) the comparison has been performed to.
Status string
Sync state of the comparison.
revision String
Information about the revision the comparison has been performed to.
revisions List<Object>
Information about the revision(s) the comparison has been performed to.
status String
Sync state of the comparison.
revision string
Information about the revision the comparison has been performed to.
revisions any[]
Information about the revision(s) the comparison has been performed to.
status string
Sync state of the comparison.
revision str
Information about the revision the comparison has been performed to.
revisions Sequence[Any]
Information about the revision(s) the comparison has been performed to.
status str
Sync state of the comparison.
revision String
Information about the revision the comparison has been performed to.
revisions List<Any>
Information about the revision(s) the comparison has been performed to.
status String
Sync state of the comparison.

Import

ArgoCD applications can be imported using an id consisting of {name}:{namespace}. E.g.

$ pulumi import argocd:index/application:Application myapp myapp:argocd
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
argocd Three141/pulumi-argocd
License
Apache-2.0
Notes
This Pulumi package is based on the argocd Terraform Provider.