Comments (8)
Please have a look at the LOVELY_ALLOW_GITCHECKOUT
option and associated documentation/caveats and see if that helps.
from argocd-lovely-plugin.
Seems to be working. According documentation it means that I have to set lockRepo: true
for the plugin if more than one ArgoCD Application reference the same Git repository?
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: test-argocd-plugin
namespace: argocd
spec:
destination:
url: https://kubernetes.default.svc
namespace: default
project: default
source:
plugin:
name: argocd-lovely-plugin-v1.0
env:
- name: LOVELY_HELM_NAME
value: foo
- name: LOVELY_HELM_REPO_ADD_PARAMS
value: --insecure-skip-tls-verify
- name: LOVELY_HELM_VALUES
value: "../values/custom-values.yaml"
+ - name: LOVELY_ALLOW_GITCHECKOUT
+ value: "true"
path: test-argocd-plugin
repoURL: '<git repo>'
targetRevision: master
from argocd-lovely-plugin.
Yes, that is correct, you should set lockRepo: true
from argocd-lovely-plugin.
Could you give me please example manifest of ConfigManagementPlugin with the lockRepo: true
for the argocd-lovely-plugin
? Or just hint where to set this option? Thanks
EDIT:
Could it be like this?
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: argocd-lovely-plugin
spec:
version: v1.0
generate:
command: ["argocd-lovely-plugin"]
allowConcurrency: true
lockRepo: true
from argocd-lovely-plugin.
Ah, if you're using lovely as a sidecar you don't need lockRepo, it's only needed for configmap plugins. Just carry on as you were.
from argocd-lovely-plugin.
I need to sort out the documentation etc better for sidecars. Apologies for wasting your time.
from argocd-lovely-plugin.
Yes basically I install argocd via original Helm Chart directly from argo-helm repo and I use these values
repoServer:
extraContainers:
- name: lovely-plugin
command: [/var/run/argocd/argocd-cmp-server]
image: ghcr.io/crumbhole/argocd-lovely-plugin-cmp-vault:0.18.0
envFrom:
- secretRef:
name: argocd-vault-replacer-credentials
securityContext:
runAsNonRoot: true
runAsUser: 999
volumeMounts:
- mountPath: /var/run/argocd
name: var-files
- mountPath: /home/argocd/cmp-server/plugins
name: plugins
- mountPath: /tmp
name: tmp-dir
volumes:
- name: tmp-dir
emptyDir: {}
from argocd-lovely-plugin.
I'm closing this as I think it's all done. Please re-open if I'm wrong.
from argocd-lovely-plugin.
Related Issues (20)
- ghcr.io/crumbhole/lovely-vault-plugin has no argocd-vault-plugin binary HOT 3
- bug: Environment variables from LOVELY_HELM_MERGE are expanded HOT 9
- Question: How to use argocd-vault-plugin for multiple Vault instances HOT 5
- argocd-vault-plugin container includes invalid binary HOT 1
- v0.20.0 - all plugins have the same default name HOT 4
- Environment variables LOVELY_HELM_REPO_ADD_PARAMS throwing Error: helm repo add requires 2 arguments HOT 4
- ci: CI always fails for users who offer PRs HOT 2
- CRDs not included in helmfile template processor HOT 3
- Can't run command as part of helm template HOT 2
- 401 unauthorized - Unable to pull OCI Registry images on Lovely CMP 0.22.1 (Helm 1.13.1) HOT 2
- Ytt crashes in lovely-ytt HOT 2
- Remove argocd-cm vestiges from installation examples HOT 7
- Cant add helm repo if using helmfile processor HOT 5
- Help wanted with dynamic kustomize resource configuration. HOT 1
- Adding a possibility to ignore directories HOT 4
- Provide helmwave support HOT 2
- Helmfile - view generated helmfile HOT 1
- Issue with helmfile and capabilities HOT 3
- Is there a way to use this to reference configmap/secret values in a helm values/yaml files? HOT 1
- v1.0.1 breaks dynamic Chart.yaml names HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argocd-lovely-plugin.