Questions tagged [kustomize]
3 questions
1
vote
0 answers
How can I create configMap from a file in a different Git repository using Kustomize
I know that I can use Kustomize's configMapGenerator to create a configmap from a file that resides in the same Git repository as the "kustomization.yaml" file.
For Example:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
…

Alex Rodrigues
- 11
- 1
0
votes
0 answers
Using a variable in the namespace of a generated resource
I've created a policy that generates Services for every Deployment in a namespace. The one thing I can't figure out is that it's a Policy rather than a ClusterPolicy and I want to make the namespace attribute dynamic. (Because the policy is part of…

Brad Mace
- 1,024
- 3
- 17
- 32
0
votes
1 answer
How to edit patch items in a Kustomization file for doing gitops with Helm (and avoiding patches piling up)
I'm looking for a better way to update docker images defined ina HelmRelease using GitOps, as my current method is generating noise.
After introducing Helm to a cluster I'm managing with GitOps, I'm finding some difficulties on how to properly…

RogerFC
- 344
- 1
- 2
- 11