docker-development-youtube-series
docker-development-youtube-series copied to clipboard
patchesStrategicMerge is overridding the other.
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/