docker-development-youtube-series icon indicating copy to clipboard operation
docker-development-youtube-series copied to clipboard

patchesStrategicMerge is overridding the other.

Open nishit93-hub opened this issue 2 years ago • 0 comments

Hi,

I am trying to add multiple pod specs using Kustomize. However, it is adding the last one. I am using patchesStrategicMerge: for this. Below are spec I am trying to add

apiVersion: argoproj.io/v1alpha1
kind:  ApplicationSet 
metadata:
  name: maven-app1
  namespace: argocd
spec:
  generators:
  - list:
      elements:
      - cluster: rancher
        url: https://192.168.29.143:6443/

---
apiVersion: argoproj.io/v1alpha1
kind:  ApplicationSet 
metadata:
  name: maven-app1
  namespace: argocd
spec:
  generators:
  - list:
      elements:
      - cluster: baremetal
        url: https://192.168.29.145:6443/

nishit93-hub avatar Feb 21 '22 21:02 nishit93-hub