Specifying the Path of the Volume Where the Secrets are Mounted
To specify the path to the volume where the secrets are mounted, you can specify the
volume_path
parameter in a JSON file or as a JSON string.
In a JSON File
- Set the
volume_path
parameter in a.json
file. For example,k8s_secrets_config.json
contains:{ "volume_path": "/etc/test" }
- Set the path to the
.json
file in theFLOGO_APP_PROPS_K8S_VOLUME
environment variable. For example:FLOGO_APP_PROPS_K8S_VOLUME=k8s_secrets_config.json
As a JSON String
Set the
FLOGO_APP_PROPS_K8S_VOLUME
environment variable as a JSON string as follows:
FLOGO_APP_PROPS_K8S_VOLUME="{\"volume_path\":\"\/etc\/test\"}"