Skip to content

Instantly share code, notes, and snippets.

@ArjunDandagi
Created January 13, 2022 10:22
Show Gist options
  • Save ArjunDandagi/941db70e59ffeda3fe710d7da85519f9 to your computer and use it in GitHub Desktop.
Save ArjunDandagi/941db70e59ffeda3fe710d7da85519f9 to your computer and use it in GitHub Desktop.
apiVersion: v1
data:
configManagementPlugins: |
- name: decider2
generate:
command: ["/bin/bash","-c",'rgrep prod ../apps/ &>/dev/null || exit 0 ; for i in *.yaml;do cat $i;echo ---;done']
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
name: argocd-cm
namespace: argocd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment