Add argo cd vault plugin

This commit is contained in:
Ruben Hensen
2024-09-08 21:30:21 +02:00
parent 6483fc3d58
commit 9701ce3243
3 changed files with 29 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: cmp-plugin
data:
avp.yaml: |
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: argocd-vault-plugin
spec:
allowConcurrency: true
discover:
find:
command:
- sh
- "-c"
- "find . -name '*.yaml' | xargs -I {} grep \"<path\\|avp\\.kubernetes\\.io\" {} | grep ."
generate:
command:
- argocd-vault-plugin
- generate
- "."
lockRepo: false
---
+4 -3
View File
@@ -1,8 +1,9 @@
# additional resources like ingress rules, cluster and repository secrets.
resources:
- github.com/argoproj/argo-cd//manifests/cluster-install?ref=stable
- cmp-plugin.yaml
namespace: argocd
# changes to config maps
# patches:
# - path: overlays/argo-cd-cm.yaml
patches:
- path: overlays/cmp-plugin-pathc.yaml