Hello,
I got a custom plugin I created for a service and I want to deploy it as a configmap using kubernetes_config_map_v1 resource.
data:
configManagementPlugins: |
- name: argocd-vault-plugin
generate:
command: [“argocd-vault-plugin”]
args: [“generate”, “./”]- name: argocd-vault-plugin-helm generate: command: ["sh", "-c"] args: ['helm template "$ARGOCD_APP_NAME" -n "$ARGOCD_APP_NAMESPACE" . | argocd-vault-plugin generate -'] - name: argocd-vault-plugin-helm-with-args generate: command: ["sh", "-c"] args: ['helm template "$ARGOCD_APP_NAME" -n "$ARGOCD_APP_NAMESPACE" ${helm_args} . | argocd-vault-plugin generate -'] - name: argocd-vault-plugin-helm-with-values generate: command: ["bash", "-c"] args: ['helm template "$ARGOCD_APP_NAME" -n "$ARGOCD_APP_NAMESPACE" -f <(echo "$ARGOCD_ENV_HELM_VALUES") . | argocd-vault-plugin generate -']
This is more of a yaml body than key/value pairs and the current documentation dont show on how to format the “data” section of kubernetes_config_map_v1 resource (Reference: link)
Looking for some inputs on how to here peoples