Questions tagged [kustomize]

6 questions
6
votes
1 answer

Use a Kustomize image transformation on an Argo CronWorkflow

I am developing an ETL pipeline using Argo Workflows, and in order to handle environment related configurations, I am using Kustomize. Here is the base/cronworkflow.yaml file apiVersion: argoproj.io/v1alpha1 kind: CronWorkflow metadata: name:…
Vektor88
  • 163
  • 1
  • 5
4
votes
1 answer

Remove resource from Kustomize base?

I have a kustomize base that I'd like to re-use without editing it. Unfortunately, it creates a namespace I don't want to create. I'd like to simply remove that resource from consideration when compiling the manifests and add a resource for mine…
Josiah
  • 373
  • 1
  • 4
  • 11
2
votes
1 answer

kubernetes kustomize: replacements vs patches

Kustomize supports two ways to modify live kubernetes manifests: patches: upstream docs Patches (also called overlays) add or override fields on resources. They are provided using the patches Kustomization field. replacements: upstream…
thiagowfx
  • 145
  • 1
  • 6
0
votes
1 answer

Delete renamed/removed Services/Pods

I installed fluxcd via terraform on my AKS Cluster. If i rename a Service in the Flux Repo, it deployes the Service with the new name - but doesn't delete the old Service. Is this normal or do i have to configure this? My terraform Script to install…
0
votes
1 answer

Using kustomize and secretGenerator how do you create a secret under one key but from multiple files?

I have 2 separate properties files which contain secrets. I would like to use secretGenerator and merge them into a single property (i.e. app_properties). Here's the code I'm using but it's not working: apiVersion:…
tftd
  • 371
  • 1
  • 8
0
votes
0 answers

How to split out image tags from a kustomize file in for deployment

So I have the following kustomize.yaml file for my staging environment overlay and when I want to promote to production, I would like to move just the portion that has the image numbers into the production overlay. Ideally I would split out the…