Commit graph

49 commits

Author SHA1 Message Date
Bojan Čekrlić 3370a9d1bc Fix: helm template fixes for prometheus monitoring 2023-10-27 16:02:32 +02:00
Bojan Čekrlić bcf7dcbfcb Fix: Fix syslog logging to stdout + fix starting of exporter 2023-10-27 15:31:54 +02:00
Bojan Čekrlić 335c7e949a Fix: Fix building of Postfix exporter with newer version of Go and other architectures
Build should be faster now as well, as it's being built on the build
platform and not through QEMU.
2023-10-27 11:24:40 +02:00
Bojan Čekrlić c3f909f2ec Fix: Fix DNS examples and tests 2023-10-27 10:53:59 +02:00
Bojan Čekrlić 12607b8b68 Fix: Fix How DNS policy and Config is injected into pod
Of course, the issue was YAML indending and spacing.
2023-10-27 10:49:00 +02:00
Bojan Čekrlić d300d9b401 Upd: Allow for setting the DNS policy for the pod 2023-10-27 09:50:22 +02:00
Bojan Čekrlić b90b336d04 Fix: Remove unneccessary dependendancy on external logrotate image
We now include logrotate in the the basic image. This does -- up to a
point -- reduce the "separation of concerns", but it simplifies image
management considerably and removes an unneccessary dependency on a
third-party container.
2023-10-27 09:38:54 +02:00
Bojan Čekrlić 6da38c0d4e Fix: Big logorotate ourselves for different platforms 2023-10-27 08:51:19 +02:00
Bojan Čekrlić 37a595e69a Fix: Move building of postfix-exporter to a separate action and fix build
To not repeat outselves, building of postfix-exporter was moved to a
separate action.

Helm now always references the lastest version, as there's no sense in
having specific versions which are all the same.

Lastly, the build fails in the test phase, as it relies on an external
dependency and hence tests have been (temporarily, at least) removed
from the build cycle. This should prove to be a large issue, as we're
building from a fixed SHA hash which we know to be valid.
2023-10-27 06:54:06 +02:00
Bojan Čekrlić 4d7d071257 Fix: It was the docker -it that was causing the issues, not --force-color 2023-09-29 16:50:21 +02:00
Bojan Čekrlić ee7908dba9 Fix: --force-color does not work if the output device is not a TTY 2023-09-29 16:48:31 +02:00
Bojan Čekrlić 730e481171 Fix: running the script from non-script folder didn't work properly 2023-09-29 16:43:55 +02:00
Bojan Čekrlić 3e10ea64f9 Fix #140: Adding headless service for newer versions of Kubernetes 2023-09-29 16:43:16 +02:00
Jonathon Beauregard II ab1cca7286 Feat: Create metrics service 2023-09-27 22:55:28 +02:00
Netexpertise 90d8795747 Upd: Enable STARTSSL on both ends of the connection
`STARTTLS` command is not implemented because TLS is enabled on the outgoing instead of the incoming traffic.
This change enables `STARTTLS` on both ends of the connection.
2023-09-27 17:00:10 +02:00
Bojan Čekrlić 3eac3f42ae Fix for #118: Properly indent securityContext 2023-02-09 09:02:28 +01:00
vcazsdk 7390fa9e4f Fix stuck kubernetes pod shutdown 2022-09-13 08:24:26 +02:00
Justin Zandbergen 370c126b43 Updated documentation and added test 2021-12-01 10:03:23 +01:00
Justin Zandbergen 7d884e4d32 Add feature to bring your own secret resource 2021-12-01 10:03:23 +01:00
Bojan Čekrlić fab1b33b48 Fix for #83: Add the possibility to mount files from secret 2021-08-22 18:07:45 +02:00
Bojan Čekrlić 331e25899d Fix for #82: Wrong mount name used 2021-08-22 17:50:50 +02:00
Bojan Čekrlić 3cb19e7c13 Fix for #84: Do not set storageClassName if not set in values.yml 2021-08-22 17:49:29 +02:00
Bojan Čekrlić 956caf3fa4 Upd #63: Gracefully scaledown Postfix
Make sure the queue is flushed when the Postfix container is
shutdown through Kubernetes lifecycle hooks.
2021-06-05 21:07:54 +02:00
Bojan Čekrlić 18e96b8e8d Upd: Implementation for #71, tests for extraContainers 2021-06-04 16:22:05 +02:00
Bojan Čekrlić 3ec47a147b Fix: Formatting and layout, update pull_request GitHub action 2021-06-04 16:00:29 +02:00
Koen 9a444d495f
Need to set LoadbalancerIP in Service specification. Patch to copy all specs over from Values files. (#72)
* copy other specs over

I want to copy over loadBalancerIP to grab a predefined static ip

* removed hardcoded LoadbalancerIP

* Set theme jekyll-theme-slate

* update README

* test service specs are copied over

* undo config changes

* remove config file
2021-06-04 15:52:49 +02:00
msvechla 02b1caa6e5
add SASL_RELAYHOST to overwrite RELATHOST in sasl_passwd file on demand (#77) 2021-06-04 15:52:19 +02:00
jaazmyn e0f7636a1c
Add option to have multiple containers (#79) 2021-06-04 15:50:02 +02:00
Bojan Čekrlić a695d05a7b Fix: Depricate RELAYHOST_TLS_LEVEL with Postfix equivivalent 2021-05-31 09:01:53 +02:00
Bojan Čekrlić 13bdabe27e Fix: Fix deploymen of TLS certificates, script exec and Ubuntu build 2021-05-29 18:21:02 +02:00
Bojan Čekrlić b3e2e8daeb Fix: Remove linux/s390x build from Alpine
Alpine doesn't seem to have rsyslog compiled for linux/s390x and
will therefore fail the build.
2021-05-29 17:22:29 +02:00
jaazmyn 069195a125
Add option to use a specific nodePort (#70)
* Add option to use a specific nodePort

* Update README on option to specify a nodePort
2021-05-29 17:09:21 +02:00
Bojan Čekrlić 0c12027622 New: Add support for Ubuntu builds and TLS certs on Helm 2021-05-29 17:08:08 +02:00
Bojan Čekrlić 999c63c714 Fix: Inproper formatting of YAML when certain parameters were set 2021-05-29 09:11:16 +02:00
Bojan Čekrlić fb53f25c98 Fix #66: mount sockets into a temporary directory 2021-05-29 09:09:43 +02:00
Bojan Čekrlić 5713ef4b37 Upd: Fix table formatting 2021-05-29 09:04:05 +02:00
shivjm d9fe613d06
Fix: Correctly mount emptyDir volume if persistence is disabled (#67) 2021-05-25 20:29:41 +02:00
Bojan Čekrlić ef33ca90f7 New: Make it posssible to configure helm probes 2021-05-18 23:50:57 +02:00
Bojan Čekrlić 4677036a14 Update: Add the possibility to add a Secret to the chart 2021-05-18 22:58:53 +02:00
Bojan Čekrlić 5209c84c59 Upd: Notice to chart creations
The app version and the chart version get set on chart build. This
might not be apparent from the chart documentation. This has been
amended.
2021-03-21 13:33:09 +01:00
Bertrand Croq 8354e6c5f1
Add persistence.existingClaim (#57)
This commit enables the user to provide an existing volume claim instead of having the image create a new one automatically.
2021-02-08 15:44:23 +01:00
Lukas Grossar a956398b37
Replace localhost with 127.0.0.1 for healthcheck (#50)
Additionally change the commands in the pod probes from a single string to a list of strings.
2020-12-11 16:17:47 +01:00
Bojan Čekrlić 8cc2f60ca0 Update: Add Helm chart metadata 2020-11-18 11:11:01 +01:00
Bojan Čekrlić bab7880846 Rename file to align with other test scripts 2020-11-03 12:23:31 +01:00
Bojan Čekrlić ab725f5c40 Fix for #40: Add healthcheck to Dockerfile
`HEALTHCHECK` instruction has been added to `Dockerfile`. This should
allow `docker-compose` installations to monitor and restart the
container if neccessary.

Kubernetes deployment healthcheck has been tweaked a bit to better
validate that the server is actually running.
2020-11-03 11:58:10 +01:00
Bojan Čekrlić fdcab589d8 Updated documentation for Helm
Added info on how to deploy `docker-postfix` with Helm.
2020-10-25 19:11:58 +01:00
Bojan Čekrlić 7f0ab1e24f Setup for automatic deployment to gh-pages 2020-10-25 18:02:00 +01:00
Bojan Čekrlić 6bae2c20ba Rename chart and fix minor issues 2020-10-25 17:43:58 +01:00
Bojan Čekrlić 7fbed47e82 Initial commit of the helm chart
This is the initial commit of the helm chart.

TO-DO:

* write usage documentation
* add job which will automatically add the chart to `gh-pages` on
  creating a new release
2020-10-24 21:26:07 +02:00