ci.docker.websphere-traditional icon indicating copy to clipboard operation
ci.docker.websphere-traditional copied to clipboard

Add Docker secrets support for wsadmin password config

Open f8th-io opened this issue 2 years ago • 0 comments

Hi.

This pull requests contains all the changes to set the password for the wsadmin user from a Docker secret, even having the workaround by bind-mounting the /tmp/PASSWORD and /tmp/passwordupdated files from the host with the desired password.

To make this consistent, the environment variable SECRET_NAME has been created to customize the secret management without breaking anything in the service. The script defaults it to wsadmin_password.

If you have any questions or suggestion please feel free to comment here.

Greetings from Cartagena (Spain).

f8th-io avatar Aug 05 '24 21:08 f8th-io