Commit graph

67 commits

Author SHA1 Message Date
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
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