mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add argo cd vault plugin
This commit is contained in:
@@ -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
|
||||
---
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user