Skip to content

graysievert-lab/experiment-k8s-bootstrapping-applicationset-generator-git-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiment: Cluster bootstrapping using ArgoCD ApplicationSet and git:file generator

Assumption: Repo contains necessary charts and valuefiles, or valuefiles for charts in public Helm repos, or manifests. Supposedly resonable for the cluster tooling repo.

Cons:

  • configs in each directory
  • each config contains links to this repository
  • configs resemble application manifest too much
  • Still ended up with helm-style go-templating

Pros:

  • less copy pasting due to the reusage of fields equal to the basepath

NOTE:

to trigger webhook:

$ kubectl -n argocd port-forward services/argocd-applicationset-controller 7000:7000

$ curl -X POST localhost:7000/api/webhook \
-H 'Content-type: application/json' \
-H 'X-GitHub-Event:pull_request' \
-d '{
  "action": "opened",
  "repository": {
    "name": "experiment-k8s-bootstrapping-applicationset-generator-git-file",
    "owner": {
      "login": "graysievert-lab"
    },
    "url": "graysievert-lab/experiment-k8s-bootstrapping-applicationset-generator-git-file"
  }
}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages