Skip to content

Instantly share code, notes, and snippets.

@aceamarco
Last active August 12, 2021 19:17
Show Gist options
  • Save aceamarco/b209e9b367798215e0b5341dbb06b11f to your computer and use it in GitHub Desktop.
Save aceamarco/b209e9b367798215e0b5341dbb06b11f to your computer and use it in GitHub Desktop.
Introducing the AppSource Controller for ArgoCD
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-appsource-cm
namespace: argocd-appsource
data:
argocd.address: 172.17.0.6:8080
argocd.clientOpts: "--insecure"
project.profiles: |
- my-project:
namePattern: (?P<project>.*)-us-(west|east)-(\d.*)
spec:
description: US West/East projects
sourceRepos:
- 'https://github.com/argoproj/*'
- default:
namePattern: .*
spec:
description: Default AppSource project
sourceRepos:
- '*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment