Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.54 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.54 KB

auto-pilot

Description

This repo uses ArgoCD's Auto Pilot to boot strap a Kubernetes cluster.

Deployent

To boot strap a Kubernetes cluster run this command:

export GIT_TOKEN=xxxx
export GIT_REPO=https://github.com/polinchw/auto-pilot

argocd-autopilot repo bootstrap --recover

Apps

The applications in this ArgoCD application set will be installed automatically.

Rollback

cluster-addons

If you want to roll back the cluster-addons to a previous commit you need to change the ref in the kustomization.yaml. This is an example.

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/polinchw/cluster-addons/overlays/dev?ref=someprevioushashtagorbranch

hello-github-webhook

To roll back the hello-github-webhook to a previous release you need to change the config_dir.json. This is an example:

{
  "appName": "hello-github-webhook",
  "userGivenName": "hello-github-webhook",
  "destNamespace": "default",
  "destServer": "https://kubernetes.default.svc",
  "srcPath": "hello-github-webhook",
  "srcRepoURL": "https://github.com/polinchw/hello-github-webhook-cd.git",
  "srcTargetRevision": "previous-hash-tag-or-branch-goes-here",
  "labels": null,
  "annotations": null,
  "exclude": "",
  "include": ""
}