Hello,
I have a problem to mount secrets volume to container
My steps
- installed rancher server (1.4.1)
- custom added agent
- created secrets in rancher
- created container in rancher with assigned secret
Expecting
/run/secrects/ to contain passwords in container
Actual result
/run/secrets does not even exists
in api view i see secret to be assigned but I cannot find it inside container (using redis:3.0.7 as an example). Container is running.
“secrets”: [
{
“type”: “secretReference”,
“gid”: “0”,
“mode”: “444”,
“name”: “m”,
“secretId”: “1se3”,
“uid”: “0”
}
],
So my question is: Do I miss something in the process ? Maybe I have missed something crucial.
I have no other extension installed, just out of the box rancher, no vault …
rancher/agent:v1.2.0
rancher/server:1.4.1
rancher/scheduler:v0.6.3
rancher/net:v0.8.7
rancher/net:holder
rancher/healthcheck:v0.2.3
rancher/dns:v0.13.3
rancher/metadata:v0.7.0
rancher/network-manager:v0.4.5
Best