Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Denied when Installing Harbor Helm on harbor-database pod #1848

Open
BernardBerenes opened this issue Oct 23, 2024 · 1 comment
Open
Assignees

Comments

@BernardBerenes
Copy link

BernardBerenes commented Oct 23, 2024

persistence:
enabled: true
persistentVolumeClaim:
database:
size: 100Mi
redis:
size: 100Mi
trivy:
size: 100Mi

This is my current values.yaml for now, and it causing errors like:

init DB, DB version:15
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

initdb: error: could not create directory "/var/lib/postgresql/data/pgdata": Permission denied
The database cluster will be initialized with this locale configuration:
provider: libc
LC_COLLATE: en_US.UTF-8
LC_CTYPE: en_US.UTF-8
LC_MESSAGES: C
LC_MONETARY: C
LC_NUMERIC: C
LC_TIME: C
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/postgresql/data/pgdata/pg15

I don't know what's wrong here, but I'm trying to update the StatefulSet with an init container to change the ownership of the path folder.

Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants