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

[stable/drupal] Allow non-bitnami image Drupal data and Apache configuration volume paths #1232

Merged
merged 5 commits into from
Jun 29, 2017

Conversation

scottrigby
Copy link
Member

Follow up to #1231.

@prydonius As an aside, I'm unclear why we mount the Apache config directory? I'm sure I'm missing something obvious about this.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 3, 2017
@k8s-ci-robot
Copy link
Contributor

Hi @scottrigby. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with @k8s-bot 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.

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. I understand the commands that are listed here.

@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 3, 2017
@scottrigby scottrigby changed the title [stable/drupal] Allow non-bitnami Drupal data and Apache configuration volume paths [stable/drupal] Allow non-bitnami image Drupal data and Apache configuration volume paths Jun 3, 2017
@prydonius
Copy link
Member

@scottrigby it's not required, but it persists the apache configuration in a volume in case you need to back it up, or modify it

@@ -88,9 +90,17 @@ $ helm install --name my-release -f values.yaml stable/drupal

> **Tip**: You can use the default [values.yaml](values.yaml)

## Persistence
## Image
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section seems redundant to me, as it's in the configuration table and there isn't really anything further to explain about this value?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I was trying to make a header that would encompass subheaders for both the existing Persistence header and this new volume mounts header - and thought Image might make sense. But maybe you're right. Let me remove that extra image header hierarchy, and see if it seems less redundant?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prydonius OK, how does that read now?

@prydonius
Copy link
Member

@k8s-bot ok to test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 6, 2017
@scottrigby scottrigby force-pushed the drupal-volume-mount-paths branch from 3fdf1c4 to b389233 Compare June 23, 2017 19:16
@scottrigby
Copy link
Member Author

@prydonius rebased, and correctly bumped version (note the bump is the same as #1340 because I'm not sure which will be merged first. Once one is, I can bump the other PR PATCH version again. Or you can if you prefer)

@scottrigby scottrigby force-pushed the drupal-volume-mount-paths branch from b389233 to c0b35f4 Compare June 26, 2017 05:15
@scottrigby
Copy link
Member Author

@prydonius OK rebased again, after #1340 was merged. This time I bumped the MINOR version (I should have bumped this PR MINOR version in the first place).

@scottrigby
Copy link
Member Author

@prydonius I also added an additional conditional in f131108. This was important for an image I tested that doesn't store anything in the apache conf directory, and so didn't need to be mounted. Also, it didn't build apache configs at runtime, so the dir was always overwritten by an empty object. This wasn't an issue with the bitnami-docker-drupal image because it has matching logic, but for other images this was difficult. I'm open to other ways of doing this though if you have suggestions?

@scottrigby
Copy link
Member Author

@prydonius The last commit f6cc19 fixes an issue with this patch on Tectonic/AWS. GCP was fine.

@prydonius
Copy link
Member

/ok-to-test

@prydonius prydonius added code reviewed lgtm Indicates that a PR is ready to be merged. UX reviewed labels Jun 29, 2017
@prydonius prydonius merged commit 9cef5f8 into helm:master Jun 29, 2017
mikesplain pushed a commit to barklyprotects/charts that referenced this pull request Jul 6, 2017
…uration volume paths (helm#1232)

* Specify Drupal data and Apache configuration volume mount paths

* Simplify README changes

* Bump stable/drupal minor version for new feature

* Allow not mounting Apache configs, if value volumeMounts.apache.mountPath is set to empty string

* Don't create the Apache PVC if mountPath is null
yanns pushed a commit to yanns/charts that referenced this pull request Jul 28, 2017
…uration volume paths (helm#1232)

* Specify Drupal data and Apache configuration volume mount paths

* Simplify README changes

* Bump stable/drupal minor version for new feature

* Allow not mounting Apache configs, if value volumeMounts.apache.mountPath is set to empty string

* Don't create the Apache PVC if mountPath is null
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. code reviewed lgtm Indicates that a PR is ready to be merged. UX reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants