-
Notifications
You must be signed in to change notification settings - Fork 80
[BUG] The "config" attribute is not working for ContainerizedWorkload #235
Comments
The I think we should get rid of it and use the podSpec to pass env or mount secret/configMap would be enough. |
A little more background to echo Hongchao's comment:
Not sure which abstraction level matches best to your scenario @mgianatagh? At the mean time, the |
Thank you, I will take a look at the My initial setup of deploying |
I used to implement it in rudr oam-dev/rudr#149. I think we could use the similar way to do so. @captainroy-hy Would you like to have a try? |
Sure, I will work on it. |
Describe the bug
The
config
attribute within a container for a ContainerizedWorkload is not working or implemented.To Reproduce
For example:
For example:
kubectl
to exec into themysql
pod and do anls /docker-entrypoint-initdb.d/initdb.sql
. No such file will be found.Expected behavior
I expected to see the file
/docker-entrypoint-initdb.d/initdb.sql
get created in the container and have the contents betest
.Screenshots
Cluster information
Additional context
I searched the code and it did not appear that the fields
Path
andValue
in the typeContainerConfigFile
were being used.The text was updated successfully, but these errors were encountered: