Following is my configmap content stores in a file called configmap.yaml:
apiVersion: v1
data:
key1: val1
key2: val2
key3: val3
kind: ConfigMap
metadata:
creationTimestamp: null
name: job-inputs
namespace: qa
And Following is my content of the kustomization.yaml that is present in the same folder where my configmap sits
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
However, I want to change the values of my data.keys in the config map using kustomize edit cli command.
I did not find the right documentation which could help me. First of all is this possible through kustomize, if so how?