Comments (6)
Hi @withnale,
I did everything you mentioned in Git support to Google Cloud Source Repos using Workload Identity
Once I am trying to add a google source repository I can see a new secrets has been added with the name repo-
Service Account in GCP has workload identity permissions and annotation has been added to "argocd-repo-server" kubernetes service account
I always get the error "error testing repository connectivity: authentication required"
Even when changed the logging level to debug Its still displays only this error in repo-server logs
BTW,
I added the repository with connection method HTTPS
what further steps I can do to debug the issue ?
from argo-cd.
what further steps I can do to debug the issue ?
It's very tricky to setup and there is next to no logging even at debug level when credentials are being used, making it especially difficult.
The first question I had was is the repo-gcloud-source
secret even being pickup correctly even before it tries to associate the gcloud credential. The easiest way I found for validating this was to change the credential_source.file
reference to a file that does not exist. In that event, you at least get an error in the logs telling you that it's trying to use a token file that doesn't exist.
After that, make sure you've replaced all the references such as __CLUSTER_PROJECT_ID__
with values specific to your setup.
You can always kubectl exec
or kubectl debug
into the pod and try some of the stuff interactively.
from argo-cd.
Can I get some feedback on this? It would be great to improve this flow.
from argo-cd.
Unfortunately I didn't get it working
from argo-cd.
No. I meant, can I get some feedback from one of the developers about whether we can get improvements to make this way easier!?
The above works for us consistently so it is possible. It's just amazingly kiunky.
from argo-cd.
Hi @withnale,
I was able to make it work :-)
My problem was that I am using branch "main" and argocd by default tried to fetch branch "master" (which is the default one)
How can I set ArgoCD to fetch the "main" branch ?
I didn't find anything on GCP side to accomplish this
from argo-cd.
Related Issues (20)
- Unable to override json value when using multiple sources to build argocd application HOT 1
- Generic Web API Provider Configuration
- argocd app sync --preview-changes actually performes sync HOT 1
- Argo CD validating duplicate variables and causing sync issues HOT 1
- ArgoCD webhook refresh causes apps to go into Unknown state
- The pod log view dark mode toggle fails to set the log background to dark when activated
- Docs - site is confused about current version HOT 1
- Mitigate issues with helm charts using the 'app.kubernetes.io/instance' label
- Same CRDs deployed by two ArgoCD apps causes loop and memory exhaustion
- Argo CD Helm Chart: Unnecessary RBAC permissions HOT 3
- MS Teams Notification configuration HOT 8
- Local WebUI broken in all 2.11 and 2.10.10 and later if using ArgoCD Core
- Version upgrade with `kubectl apply` overwrites deployment, removing `--insecure` flag, causing ingress to fail HOT 1
- ApplicationSet merge examples with gotemplate are confusing
- Unable to sync if "main" branch is missing HOT 2
- Cannot template first child of matrix generator inside first child of merge generator
- Useless regular-expression character escape HOT 1
- Incorrect conversion between integer types HOT 2
- Current Grafana dashboard example contains deprecated panels
- Incorrect conversion between integer types HOT 2
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 argo-cd.