add additionalMounts and additionalVolumeMounts to values and deployment#40
Conversation
|
Sorry about the delay here, I received the notification for the review request among a flurry of other GitHub notifications on my phone, and then completely missed it thereafter. (I find GitHub notifications tricky to manage!). This looks sensible to me, and I don't see any harm - I've enabled the running of the lint-test, which I see is currently failing. This is because any change to the chart requires a version bump in |
|
I think GitHub alerts on my phone would drive me crazy. :) But I'm one of those people who likes email, despite running mailservers. Good idea to update the README.md, but which one? Looks like there are two, and they've diverged slightly. I'm happy to send a fix to sync them and eliminate one, but want to know which one you'd prefer to preserve. The top-level one or the nested one? (See diff below.) I sent another PR to to fix the local lint instructions. Then I discovered the local lint isn't configured to do the version increment. |
|
Thanks @rspier! Thinking it through, it probably makes the most sense to put the README at the root of the repository, and just copy the README to the As for which README is the most up-to-date, I'd go with the one in the Thanks! |
|
(Oh, but you'll want to bump the chart version to satisfy the lint test, which will probably re-request an approval!) |
What do you mean by "copy" here? I think the duplication may have been the cause of this skew situation in the first place. It looks like ArtifactHub wants it in the Looking at the commit history, it looks like a symlink was tried, but didn't work out. It might be simpler (or at least less error prone) to make the top-level README.md have brief summary and a links to the
I was going to suggest going the other direction. It looks like the top-level README.md is more up to date, with the exception of line line about HAProxy support. $ diff -U0 README.md charts/docker-mailserver/README.md
--- README.md 2021-10-23 09:13:08.000000000 -0700
+++ charts/docker-mailserver/README.md 2021-10-23 09:13:08.000000000 -0700
@@ -43,0 +44 @@
+* Supports integration with external HAProxy, HAProxy Ingress Controller, or [poor-mans-k8s-lb](https://www.funkypenguin.co.nz/project/a-simple-free-load-balancer-for-your-kubernetes-cluster/)
@@ -45 +46 @@
-* Bundles in [RainLoop](https://www.rainloop.net) for webmail access (disabled by default)
+* Bundles in [RainLoop](https://www.rainloop.net) for webmail access (enabled by default)
@@ -47,2 +48 @@
-* CI/CD tested against Kubernetes 1.18,1.19, and 1.20 : 
-*
+
@@ -51 +51 @@
-- Kubernetes 1.16+ (*CI validates against > 1.18.0*)
+- Kubernetes 1.5+ (*CI validates against 1.12.0*)
@@ -213 +213,2 @@
-| `pod.dockermailserver.hostPID` | Not really sure. TBD. | `None` | |
+| `pod.dockermailserver.hostPID` | Not really sure. TBD. | `None` |
+| `pod.dockermailserver.securityContext.privileged` | Whether to run this pod in "privileged" mode. | `false` |Thanks- |
…ent. This is to simplify injecting dynamic configuration files (for example postfix maps modified by an external program) into the container. Bump chart version to 0.3.1.
|
Rebased against master. How would you feel about merging this even without adding the docs and solving the duplicated README issue? It at least gets the functionality out there. |
|
Sorry, this stalled again due to my lack of attention :( I see what you mean about artifacthub's expectation - and yes, I'm inclined to agree that we should avoid duplicating a README, and just let the repo-level README point to the chart README (which also seems to be the format I've been increasingly noticing in other charts). I'll merge these functional changes now, and then we can do a separate PR for the README update :) D |
…mailserver-helm * 'master' of https://github.com/docker-mailserver/docker-mailserver-helm: Follow up on docker-mailserver#45 (docker-mailserver#46) add additionalMounts and additionalVolumeMounts to values and deployment. (docker-mailserver#40) update ingress from v1beta to v1 (docker-mailserver#45) update `README.md`, looking for maintainers Bump chart version to 3.0.1 CI: switch to matrix strategy for kube chart testing to enable parallelism. ci: Make kube-score work again ci: upgrade to helm/chart-testing-action@v2.1.0 and helm/kind-action@v1.2.0 update dockerhub URLs: tvial -> mailserver
This is to simplify injecting semi-dynamic configuration files (for example
postfix maps modified by an external program) into the container.
example usage:
And then
custommaps-postfixcan be a shared volume that a CronJob updates periodically with new maps.