Closed sabbyanandan closed 3 years ago
@umutcann commented on Sun Jul 04 2021
Hi,
We need to set environment variables of initContainer from configmap.
As far as I investigate the implementation of initContainer Environment variable, It is expecting like ['KEY1=VAL1', 'KEY2=VAL2'].
I tried like below. But It does not work.
{name: 'KEY, valueFrom: {configMapKeyRef: {key: 'value', name: 'configmapname'}}}
Do you have any workaround solution?
Or do you have any plan for this feature?
Thanks.
@sabbyanandan commented on Wed Jul 07 2021
If this is an enhancement, we will have to explore in k8s-deployer, and not in SCDF itself.
Duplicates #453.
@umutcann commented on Sun Jul 04 2021
Hi,
We need to set environment variables of initContainer from configmap.
As far as I investigate the implementation of initContainer Environment variable, It is expecting like ['KEY1=VAL1', 'KEY2=VAL2'].
I tried like below. But It does not work.
{name: 'KEY, valueFrom: {configMapKeyRef: {key: 'value', name: 'configmapname'}}}
Do you have any workaround solution?
Or do you have any plan for this feature?
Thanks.
@sabbyanandan commented on Wed Jul 07 2021
If this is an enhancement, we will have to explore in k8s-deployer, and not in SCDF itself.