argocd-executor-plugin

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0

README

Argo CD Executor Plugin

An Executor Plugin for Argo Workflows that lets you interact with Argo CD servers.

Example Usage

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: argocd-example-
spec:
  entrypoint: main
  templates:
    - name: main
      plugin:
        argocd:
          actions:
            - - sync:
                  apps:
                    - name: guestbook
                    - name: guestbook-backend

Getting Started

Prerequisites

You will need to have a working Argo Workflows and Argo CD instances to be able to deploy the plugin and use it.

Installing

kubectl apply -n argo -f https://raw.githubusercontent.com/crenshaw-dev/argocd-executor-plugin/main/manifests/argocd-executor-plugin-configmap.yaml

You will have to run the workflow using a service account with appropriate permissions. See examples/rbac.yaml for an example.

Contributing

Head to the scripts directory to find out how to get the project up and running on your local machine for development and testing purposes.

Directories

Path Synopsis
cmd
argocd-plugin command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL