Skip to content

darklab8/argocd-cue

Repository files navigation

Argo cd plugin to support Cue language, a.k.a Cuelang

example

Examples

Your can pass extra parameters into argocd application declarations to customize deployments!

Features

  • you can use this plugin and cue to implement

    • kubernetes manfiests
    • helm charts
  • it is in customize format with pinned all dependencies

  • using at the moment of this writing:

    • cue 0.7.1 (See here for adjustments)
    • helm v3.10.3 (See here for adjustments)
    • argocd v2.8.11 (Replace approproate file in plugin folder if necessary)
    • kubectl v1.29.1
    • dependencies are easily adjustable in install_deps.sh
  • tested on

    • local Kind cluster for amd64 cpu arch, kind v0.22.0, kube v1.29.2
    • microk8s with arm64 cpu architecture too, microk8s 1.28.7
  • inspired by official guide and their helm example plugin

Getting started with kind cluster

  • install

  • run task cluster:create

  • run task cluster:scan

    • get observed ipaddress+port
    • replace cluster address+port in ~/.kube/config for kind cluster with this value
  • deploy argo with task argo:deploy ( kubectl apply -k ./plugin )

  • deploy sample apps task argo:apply

Some docs