pls check the below example, i tried and it doesn’t work, kindly advise the right configuration.
Issue: it applies either secret or configmap(first one), it doesn’t apply both to pod.
Ex:
spec:
containers:
- name: app-config
image: kodekloud/webapp-color
env:
- name: Profile
value: "dev"
envFrom:
- secretRef:
name: vault-secret
envFrom:
- configMapRef:
name: scg-config