Skip to content

kurzdigital/argocd-cdk8s-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

argocd-cdk8s-plugin

This is a Docker image which can be used as a sidecar for ArgoCD to enable cdk8s support.

WARNING: This is an early alpha version, currently only supporting TypeScript.

Requirements

This plugin currently requires a cdk8s.yaml file to be anywhere in the repository to be activated.

Usage

Step 1: add an extra container to ArgoCD Helm release:

{
  "extraContainers": [
    {
      "name": "cdk8s-cmp",
      "image": "kurzdigital/argocd-cdk8s-plugin",
      "securityContext": {
        "runAsUser": 999
      },
      "volumeMounts": [
        {
          "mountPath": "/var/run/argocd",
          "name": "var-files"
        },
        {
          "mountPath": "/home/argocd/cmp-server/plugins",
          "name": "plugins"
        },
        {
          "mountPath": "/tmp",
          "name": "cmp-tmp"
        }
      ]
    }
  ]
}

Step 2 (optional): add plugin configuration to your ArgoCD application:

spec:
  source:
    plugin: {}

Releases

No releases published

Packages

No packages published