1. Packages
  2. ArgoCD
Argo CD v1.0.1 published on Friday, Feb 21, 2025 by Three141

ArgoCD

Argo CD v1.0.1 published on Friday, Feb 21, 2025 by Three141

The Argo CD Resource Provider lets you manage Argo CD resources. The ArgoCD provider must be configured with credentials to deploy and update resources in ArgoCD.

Example

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

const publicNginxHelm = new argocd.Repository("public_nginx_helm", {
    repo: "https://helm.nginx.com/stable",
    name: "nginx-stable",
    type: "helm",
});
Copy
import pulumi
import pulumi_argocd as argocd

public_nginx_helm = argocd.Repository("public_nginx_helm",
    repo="https://helm.nginx.com/stable",
    name="nginx-stable",
    type="helm")
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Argocd = Three14.Argocd;

return await Deployment.RunAsync(() => 
{
    var publicNginxHelm = new Argocd.Repository("public_nginx_helm", new()
    {
        Repo = "https://helm.nginx.com/stable",
        Name = "nginx-stable",
        Type = "helm",
    });
});
Copy
package main

import (
	"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 {
		// Public Helm repository
		_, err := argocd.NewRepository(ctx, "public_nginx_helm", &argocd.RepositoryArgs{
			Repo: pulumi.String("https://helm.nginx.com/stable"),
			Name: pulumi.String("nginx-stable"),
			Type: pulumi.String("helm"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
Argo CD v1.0.1 published on Friday, Feb 21, 2025 by Three141