Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/postgresql] Ensure intContainer creates the data directory. #14401

Merged
merged 4 commits into from
Jun 3, 2019
Merged

[stable/postgresql] Ensure intContainer creates the data directory. #14401

merged 4 commits into from
Jun 3, 2019

Conversation

juan131
Copy link
Collaborator

@juan131 juan131 commented Jun 3, 2019

Signed-off-by: juan131 [email protected]

What this PR does / why we need it:

This PR ensures the initContainer used to prepare the right permissions in the volume used to persist data are correct. To do so, it ensure the "data" directory exists so the PostgreSQL container doesn't face the error below:

 04:12:56.72 INFO  ==> pg_hba.conf file not detected. Generating it...
mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied
 04:12:56.73 INFO  ==> Stopping PostgreSQL...

Which issue this PR fixes

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [stable/chart])

@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 3, 2019
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2019
@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/retest

@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/hold
Until bitnami/bitnami-docker-postgresql#149 is merged

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2019
@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2019
@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/retest

@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/hold
Wait for tag 11.3.0-debian-9-r27 to be released

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2019
@juan131
Copy link
Collaborator Author

juan131 commented Jun 3, 2019

/hold cancel
The tag 11.3.0-debian-9-r27 was released!
/retest

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2019
@carrodher
Copy link
Collaborator

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 3, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: carrodher, juan131

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit cdc331a into helm:master Jun 3, 2019
@juan131 juan131 deleted the postgresql_permissions branch June 3, 2019 13:30
JGodin-C2C pushed a commit to camptocamp/charts-1 that referenced this pull request Jun 3, 2019
…elm#14401)

* [stable/postgresql] Ensure intContainer creates the data directory.

Signed-off-by: juan131 <[email protected]>

* Update PostgreSQL image tag to '11.3.0-debian-9-r26'

Signed-off-by: juan131 <[email protected]>

* Update PostgreSQL image tag to '11.3.0-debian-9-r26' on 'values-production.yaml'

Signed-off-by: juan131 <[email protected]>

* Update PostgreSQL image tag to '11.3.0-debian-9-r27'

Signed-off-by: juan131 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[stable/postgresql] Using minikube, mkdir: cannot create directory ‘/bitnami/postgresql/data’
4 participants