Skip to main content
Home

Built and signed on GitHub Actions

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
4 weeks ago (0.4.4)

This package provides a wrapper for the official ArgoCD Helm chart, exposing a clean API for the most important configuration options and some convenient extras, as well as exposing access to the raw Helm chart values.

Features

  • Easily bootstrap ArgoCD and then have it manage itself in your Kubernetes cluster.
  • Configure ConfigManagementPlugins with a simple API.
  • Templates for ArgoCD Application and ApplicationSet resources for various use cases, as well as configuration for Private repositories (WIP).

Note: Unless you want to use this package solely for bootstrapping ArgoCD, you likely want to install the gin-argocd CMP, which allows you to invoke Deno scripts to generate Kubernetes resources and thus make use of Gin.

Usage example

For a complete example, see examples/deploy.ts.

import { Gin } from "jsr:@gin/core";
import { ArgoCDDeployment } from "jsr:@gin/argocd-v1alpha1";
import { hash } from "jsr:@stdext/crypto/hash/bcrypt";

new Gin().run((gin) => {
  gin.emit<ArgoCDDeployment>({
    apiVersion: "argocd.gin.jsr.io/v1alpha1",
    kind: "ArgoCDDeployment",
    metadata: {
      name: "argocd",
      namespace: "argocd",
    },
    spec: {
      chart: {
        version: "8.0.14",
      },
      common: {
        adminPassword: {
          bcryptHash: "$2b$12$1ykn5sGxWBPnDs89/pNukOFdRZ2oC86CvoJj1880mmH0GwbnA5Z2q", // "password"
        },
      },
      values: {
        crds: {
          install: true,
          keep: true,
        },
      },
    },
  });
});

Chart compatibility

This package is known to be compatible with the following ArgoCD Helm chart versions. If there have been no groundbreaking changes in the Helm chart, it should also be compatible with newer versions.

  • 8.0.14

Dependencies

This package depends on @gin/helm-v1alpha1, hence it has all the same Deno permission requirements when executed.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";
or

Import directly with a jsr specifier

import * as argocd_v_alpha_ from "jsr:@gin/argocd-v1alpha1";

Add Package

pnpm i jsr:@gin/argocd-v1alpha1
or (using pnpm 10.8 or older)
pnpm dlx jsr add @gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";

Add Package

yarn add jsr:@gin/argocd-v1alpha1
or (using Yarn 4.8 or older)
yarn dlx jsr add @gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";

Add Package

vlt install jsr:@gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";

Add Package

npx jsr add @gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";

Add Package

bunx jsr add @gin/argocd-v1alpha1

Import symbol

import * as argocd_v_alpha_ from "@gin/argocd-v1alpha1";