cloud-native-edition icon indicating copy to clipboard operation
cloud-native-edition copied to clipboard

fix: permission denied when modifying temporary hosts file

Open iromli opened this issue 2 years ago • 0 comments

The updatelbip.py script unable to modify /etc/hosts.back due to permission issue.

See the following lines: https://github.com/GluuFederation/cloud-native-edition/blob/aa0b30cddf658f6c5dec79a9d5dab3a9cff058e8/pygluu/kubernetes/templates/helm/gluu/charts/config/templates/configmaps.yaml#L389-L396

The location of this file should be moved elsewhere to directory where entrypoint has sufficient access, i.e. /etc/certs.

iromli avatar Aug 14 '23 09:08 iromli