kubernetes 클러스터에서 postgresql을 시작하면 로그는 다음과 같습니다.
postgresql 07:00:48.68
postgresql 07:00:48.68 Welcome to the Bitnami postgresql container
postgresql 07:00:48.68 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 07:00:48.68 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 07:00:48.68
postgresql 07:00:48.70 INFO ==> ** Starting PostgreSQL setup **
postgresql 07:00:48.72 INFO ==> Validating settings in POSTGRESQL_* env vars..
postgresql 07:00:48.72 INFO ==> Loading custom pre-init scripts...
postgresql 07:00:48.73 INFO ==> Initializing PostgreSQL database...
mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied
그렇다면 가장 작은 폴더에는 어떤 권한을 부여해야 할까요 /bitnami/postgresql/data
? 왜 이 권한을 주어야 합니까?