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

[stable/postgresql] Ignore lost+found in the mountPath directory #14684

Merged
merged 2 commits into from
Jun 12, 2019

Conversation

sangyye
Copy link
Contributor

@sangyye sangyye commented Jun 11, 2019

What this PR does / why we need it:

I got problems with deploying Postgresql on an Openshift Cluster with a Ceph backed storage. The Problem was that the user which the init container run as has not the sufficient rights to change the ownership of the lost+found folder if one is available. Because we don't ever want to write data in this folder we can just ignore it and so get the init container to run successful.

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 the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Jun 11, 2019
@helm-bot helm-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 11, 2019
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 11, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @sangyye. Thanks for your PR.

I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@alemorcuq
Copy link
Contributor

Related issue: #14602

@javsalgar
Copy link
Collaborator

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm Indicates that a PR is ready to be merged. labels Jun 11, 2019
Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>
Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>
@sangyye
Copy link
Contributor Author

sangyye commented Jun 12, 2019

@javsalgar I rebased with the master branch and bumped the version of the Chart again.

@javsalgar
Copy link
Collaborator

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: javsalgar, sangyye

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 cb794f4 into helm:master Jun 12, 2019
fooka03 pushed a commit to fooka03/charts that referenced this pull request Jun 17, 2019
…m#14684)

* Ignore lost+found in the mountPath directory

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>

* Bump Chart Version

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>
Signed-off-by: Nigel Foucha <nigel.foucha@gmail.com>
anasinnyk pushed a commit to MacPaw/charts that referenced this pull request Jun 29, 2019
…m#14684)

* Ignore lost+found in the mountPath directory

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>

* Bump Chart Version

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>
Signed-off-by: Andrii Nasinnyk <anasinnyk@macpaw.com>
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. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[stable/postgresql] lost+found directory causes init pod failure
5 participants