Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 642 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 642 Bytes

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