Commit graph

78 commits

Author SHA1 Message Date
Gavin Mogan
2854bd0fb7
fix: merge env arrays first instead of overwriting eachother (#260) 2025-12-25 08:13:51 +01:00
Bojan Čekrlić
53851fd3b8 Fix: revert readonly 2025-12-22 09:36:17 +01:00
Bojan Čekrlić
b5101f26d7 Fix: Harden postfix deployment by default 2025-12-19 10:36:52 +01:00
Bojan Čekrlić
23ac7afb25 Ud: Replace /docker-init.db with /docker-init.d everywhere 2025-11-15 17:48:19 +01:00
Bojan Čekrlić
f6946c13ad Fix: Fix for logrotate. 2025-11-15 17:33:08 +01:00
Bojan Čekrlić
ba45ff7aab Fix: Make tests work with podman + add new kubernetes versions 2025-11-15 17:32:47 +01:00
Bojan Čekrlić
ec85f9ac26 Fix: Add terminationGracePeriodSeconds due to #245 2025-11-15 16:39:55 +01:00
Bojan Čekrlić
f942684f17 fix: Add preSleepSeconds as explaind in #245 2025-11-15 16:39:55 +01:00
mrskul
bbe209cea2
Allow setting existing secret name for TLS certs (#233)
* allow change of cert secret name

* change to helpers.tpl

* update secretName

* fix certname

* fix name of default

* set static name

* Removing comment

* update Readme and set cert name as ${mail.fullname}

* update test file name

* add create

* Removing the certs.existing. As this was not setup to be used.

* Update to allow setting only existingSecret or certs.create

* allow existing secret to add certs script

---------

Co-authored-by: nicholasm <nicholas.matters@prontocloud.com.au>
2025-07-29 12:59:03 +02:00
Dan Mills
a47f941243
Add externalTrafficPolicy to helm Fixes #239 (#240)
* Add externalTrafficPolicy to helm Fixes #239

* Add externalTrafficPolicy to documentation
2025-07-29 12:58:47 +02:00
Mario Zelger
76bde40218
added ability to define resource options for the metrics exporter (#238) 2025-07-01 09:29:19 +02:00
Jarek
f65c22454f add k8s version min requirement 2024-04-30 22:35:01 +02:00
Jarek
86ee369d26 Add missing appProtocol 2024-04-30 22:35:01 +02:00
Bojan Čekrlić
fc5f540436 Fix #196: Remove duplicated 'name:' that caused helm chart to fail 2024-04-24 08:39:47 +02:00
Bojan Čekrlić
aba3d60919 Fix: Update HorizontalPodAutoscaler to autoscaling/v2 2024-04-21 17:54:47 +01:00
shcherbak
55f2f71dd5 fix HorizontalPodAutoscaler apiVersion 2024-04-21 17:43:45 +02:00
shcherbak
e3898ed071 autoscaling.apiVersion 2024-04-21 17:43:45 +02:00
Bojan Čekrlić
025cb58d0e Upt: Add postfix-pcre, add additional checks for sanity and mount /tmp to emptydir 2024-02-25 09:12:28 +01:00
Filipe
5ea8c32ffa Expand volumeClaimTemplates spec
Use the full volumeClaimTemplates spec to avoid manifest diffs when using ServerSideApply/Diff
2024-02-07 13:47:18 +01:00
Bojan Čekrlić
a1b30f31f9 Fix for #174: Incrase healthcheck timeout
Default timeout for healthcheck by kubernetes is too low. As we wait up
for 2 seconds for the Postfix and DKIM to respond, this exceeds the
threshold and the healthcheck fails with:

```
Readiness probe failed: command "sh -c /scripts/healthcheck.sh" timed out
```

By simply increasing `timeoutSeconds` this issue is resolved.
2024-01-09 17:00:04 +01:00
Bojan Čekrlić
83b9af5c9b Fix for #174: Try to refactor healthcheck 2024-01-09 10:59:04 +01:00
Bojan Čekrlić
df9771b6e2 Fix for #172: Change order of parameters for netcat 2024-01-07 16:51:33 +01:00
Bojan Čekrlić
72988ddf47 Fix #158: Add copytruncate to logrotate.conf.
From lograte man pages:

> `copytruncate`: Truncate the original log file to zero size in place after creating a copy, instead of moving the old log file and optionally creating a new one.

Why? Because file might be followed by file descriptior (and not name).
So when logrorate rotates the file, Prometheus will follow the old file
(thus receiving no metrics).

By using `comytruncate` we ensure that the followed file is always the
proper one.
2023-12-29 14:39:21 +01:00
Joe Krill
553874a056 Fix ServiceMonitor selector 2023-12-29 08:56:58 +01:00
Bojan Čekrlić
b317e68e28 Fix for #163: Remove NodePort from headless service 2023-12-29 08:51:20 +01:00
Bojan Čekrlić
806eef5bb9 Fix for #154: Allow different labels for regular and headless service 2023-11-01 15:38:53 +01:00
Bojan Čekrlić
dcf80ccda3 Fix for #154 2023-11-01 15:04:15 +01:00
Bojan Čekrlić
81e900b3e1 Fix for #152 2023-11-01 12:06:01 +01:00
Bojan Čekrlić
58f20bddcd Upd: Add schemas so we can work (a bit more) offline 2023-10-27 18:16:56 +02:00
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