You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to add a sidecar container to the existing deployment which is deployed through Argocd application.yaml. Kindly suggest me the right way to add the sidecar to the existing deployment using Application.yaml without modifying the source repository manifests. I just want to add a sidecar to the existing deployment.
I tried in several ways by adding the below to the Application.yaml
"patchResource" , "patchStrategicMerge", "patchesStrategicMerge", "patchListStrategicMerge", "patches" by mapping the
patch.yaml and adding inline patch content.
But it always giving the below error.
strict decoding error: unknown field "spec. patchStrategicMerge" , strict decoding error: unknown field "spec. patchFile", strict decoding error: unknown field "spec. patch", strict decoding error: unknown field "spec. patchesStrategicMerge"
Then i tried with Kustomization.yaml with inline kustomize to patch, it again gives different error "ComparisonError
Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): failed to load kustomization.yaml: open <path to cached source>/charts/devlake/templates/kustomization.yaml: no such file or directory"
Inline kustomize patch on the application.yaml should apply the patch right?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want to add a sidecar container to the existing deployment which is deployed through Argocd application.yaml. Kindly suggest me the right way to add the sidecar to the existing deployment using Application.yaml without modifying the source repository manifests. I just want to add a sidecar to the existing deployment.
I tried in several ways by adding the below to the Application.yaml
"patchResource" , "patchStrategicMerge", "patchesStrategicMerge", "patchListStrategicMerge", "patches" by mapping the
patch.yaml and adding inline patch content.
But it always giving the below error.
Inline kustomize patch on the application.yaml should apply the patch right?
Beta Was this translation helpful? Give feedback.
All reactions