Comments (6)
Can you share your application's manifest, please?
from argo-cd.
project: apps
source:
repoURL: 'https://gitlab.com/navenest/kubernetes/apps/go-web-base.git'
path: clusters/rke2
targetRevision: HEAD
helm:
valueFiles:
- ../../common/values.yaml
- values.yaml
version: v3
destination:
server: 'https://kubernetes.default.svc'
namespace: go-web-base
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- Validate=true
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ServerSideApply=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
ignoreDifferences:
- group: monitoring.coreos.com
kind: ServiceMonitor
jqPathExpressions:
- '.spec.endpoints[]?.relabelings[]?.action'
I have tried serverside apply as I thought maybe changing the sync method would work better, but it didn't seem to make a difference.
from argo-cd.
It doesn't show things like app name and annotations still. I'm curious whether for example https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#manifest-paths-annotation is used.
from argo-cd.
Sorry, that was just a quick grab from the UI.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
argocd.argoproj.io/manifest-generate-paths: clusters/rke2
creationTimestamp: "2024-07-27T12:29:45Z"
generation: 3002
name: go-web-base
namespace: argocd
ownerReferences:
- apiVersion: argoproj.io/v1alpha1
blockOwnerDeletion: true
controller: true
kind: ApplicationSet
name: apps
uid: 5728fd6a-0227-47d0-a480-2f8748140099
resourceVersion: "336931335"
uid: c819f308-30bd-445d-b7a2-0d0a74169ede
spec:
destination:
namespace: go-web-base
server: https://kubernetes.default.svc
ignoreDifferences:
- group: monitoring.coreos.com
jqPathExpressions:
- .spec.endpoints[]?.relabelings[]?.action
kind: ServiceMonitor
project: apps
source:
helm:
valueFiles:
- ../../common/values.yaml
- values.yaml
version: v3
path: clusters/rke2
repoURL: https://gitlab.com/navenest/kubernetes/apps/go-web-base.git
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
retry:
backoff:
duration: 5s
factor: 2
maxDuration: 3m
limit: 5
syncOptions:
- Validate=true
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ServerSideApply=true
from argo-cd.
I adjusted argocd.argoproj.io/manifest-generate-paths: clusters/rke2
to argocd.argoproj.io/manifest-generate-paths: .
And that seemed to work? Does the manifest generate paths go before or after the source.path=clusters/rke2
I'll test some more, but I think in my case setting it to .
has worked fine, I am not using multiple applications in one repo, so this might have been left over from a previous setup I had.
from argo-cd.
Since you get values from common/values.yaml, you need generate manifest paths to include both clusters/rke2
and common
.
from argo-cd.
Related Issues (20)
- The Argo CD Application resource cannot retrieve the server address information of the deployment cluster.
- hydrator: support project-scoped write credentials
- "the server is currently unable to handle the request" - after AKS upgrade
- hydrator(ui): refresh revision metadata in hydrator panel
- hydrator(ui): show hydration status in applications list
- The ArgoCD v2.12.0 doesn't work with tag tracking HOT 7
- Argocd Panics with invalid cluster secret HOT 2
- hydrator: enable pushing for SSH creds HOT 3
- Allow to exclude specific resources from diff targets HOT 3
- Argo CD Release v2.13
- Floating view toolbar covers cloud and first two resource boxes in Network View
- argocd app diff fails to render when templating CRDs
- Support prompt for certain argocd cmd commands
- ApplicationSet rolling sync stuck in ArgoCD 2.12
- UI error: Cannot read properties of null (reading 'appsInAnyNamespaceEnabled') HOT 1
- OpenKruise Daemonset sync blocked by healthy check HOT 1
- PR got check failed and blocked by License Compliance check HOT 3
- Expose info about the argocd instnace in the clusters/namespaces it manages
- "ghost" env var HOT 2
- Add additional websocket tests HOT 1
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.