pyama86 / argoswitch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArgoSwitch

ArgoSwitch is updating ArgoCD Application Config.

top secondary

usage

You can defined behavior when cluster state is change.

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: example
  annotations:
    argoswitch.github.io/primary: sync
    argoswitch.github.io/secondary: disable
    argoswitch.github.io/service-out: delete
  • auto-sync: do sync and enable auto sync.
  • sync: do sync.
  • disable, disable-sync : stop auto sync.
  • delete, delete-app: delete application.
  • delete-resource: delete resources and stop auto sync.

Author

@pyama86

About


Languages

Language:Go 62.4%Language:HTML 27.7%Language:Makefile 8.0%Language:Dockerfile 1.9%