I am working with an existing kustomization code base. The app heirarchy is:
└── application
├── base
│ ├── kustomization.yaml
│ └── deployment.yaml
| └── configmap.yaml
└── overlays
├── nonprod
└── prod
I have a need for a value in the configmap to be different based on geography also, say whether the prod/nonprod environment is in a US or EU. Do I need to change my overlay strategy to nonprod-us/nonprod-eu/prod-us/prod-eu and do a lot of duplication? Or is there a way I can nest or do a second override?
I thought maybe I could point to two overlays but I errored out with
may not add resource with an already registered id: Deployment.v1.apps/reports
but that could be because the way I attempted it was wrong.