Commit Graph

195 Commits

Author SHA1 Message Date
e1622c1aad Another instance -> router change 2024-02-12 22:31:48 +01:00
983dbcbb2e Name middleware with router name, not instance 2024-02-12 22:28:38 +01:00
0e89bd8379 Aligment fix 2024-02-12 21:52:12 +01:00
9ac50f36b4 Add support for setting upstream protocol
Workaround a bug in Nomad -> Consul synchro. See https://github.com/hashicorp/nomad/issues/18538
2024-02-12 13:34:43 +01:00
268ebce9f4 Set destination_type to prevent constant registration on Consul 2024-02-11 10:28:54 +01:00
89b4c0d698 Fix connect sidecar image 2024-02-07 13:50:16 +01:00
64961d142d Better proxy handling for java 2024-02-05 13:44:28 +01:00
a259aaf71b Add variables and script template for transit 2024-02-05 12:00:25 +01:00
4d9c30607e Handle pki path starting with / 2024-02-02 16:32:34 +01:00
31a339315d Fix $rand.path 2024-02-02 16:26:27 +01:00
db551aac1c path must not be an empty string 2024-02-02 16:23:25 +01:00
804edf3632 Set change_mode for vault policies 2024-02-02 15:12:09 +01:00
26167ab5d5 Add a / before adding path to randome secrets 2024-01-31 17:17:16 +01:00
80e4ba76f3 Allow custom role and pgrole 2024-01-31 14:49:46 +01:00
388f820bb1 Support generating different secrets with path and cmd 2024-01-31 12:25:29 +01:00
6590b7a097 Cleanup mkmysqlrole 2024-01-31 12:08:17 +01:00
9826efa42d Cleanups in random secrets generation 2024-01-31 11:51:21 +01:00
652ddbb187 More cleanup on vault stuff 2024-01-31 11:14:00 +01:00
db8f8270ae Some cleanup on vault 2024-01-31 10:52:49 +01:00
9f388a54d8 Handle cases with a rule but no public_url 2024-01-29 11:35:11 +01:00
5903329a6d Auto add instance and consul suffix to router name 2024-01-29 11:23:16 +01:00
e58b691593 Do not add rules for UDP services, and only add middlewares if needed 2024-01-29 11:01:40 +01:00
1b8667670a Ensure a single / is used for the PathPrefix 2024-01-29 10:43:30 +01:00
bdf6f35c55 Use router's name for csp and stripprefix middleware name 2024-01-29 10:40:43 +01:00
effe8da557 Useless char return 2024-01-29 10:23:11 +01:00
31bb369489 Support tcp and udp in traefik_tags template 2024-01-29 10:22:19 +01:00
d9416277d8 Support disabling CSP 2024-01-28 22:27:19 +01:00
def1f8b875 Use a cleaner model for Traefik middlewares 2024-01-28 22:25:48 +01:00
fc2c8901a5 Allow custom router name 2024-01-27 00:11:13 +01:00
b08d491f26 Add support for specific, locally defined middlewares 2024-01-26 23:48:11 +01:00
3253e9cb54 Work when .public_url is not defined 2024-01-26 23:27:36 +01:00
ef1d69f8e5 Add new traefik_tags template 2024-01-26 23:20:16 +01:00
9e58511ad8 Add support for some connect sidecar config 2024-01-26 15:44:32 +01:00
ec687fd6a6 Use a 3MB tmpfs by default
We can always pass a dict as context if we want something custom
2024-01-25 10:23:44 +01:00
93fe1295ad Handle bool as simple env vars 2024-01-22 14:00:18 +01:00
4fa4e4452f Support env from vault 2024-01-22 11:53:35 +01:00
ba949c6111 Fix spacing in resources template 2024-01-22 10:53:54 +01:00
661a510fa1 New template for vault KV policy 2024-01-22 10:31:20 +01:00
c2ba7a7760 Allow custom port for pgpooler 2024-01-19 13:36:20 +01:00
bde5882674 Change the way vault.mkpki.sh gets its context 2024-01-18 14:41:21 +01:00
4e25fd7a79 Allow custom cmd for secret generation 2024-01-18 00:09:26 +01:00
c32c4e40c1 Fix unwanted new line 2024-01-17 16:12:55 +01:00
ef9fa3450f Support passing whole context to traefik_middlewares 2024-01-17 16:10:00 +01:00
ec581ab748 Support passing the whole context for env and resources 2024-01-17 16:03:03 +01:00
ba25682e54 Fix comments in templates 2024-01-17 16:00:49 +01:00
2d0ddf6aab Support passing the whole context to file_env 2024-01-17 15:57:12 +01:00
171f4597d1 Fix volumes 2024-01-17 15:57:07 +01:00
481cfd78b7 Force pull the nginx image for metrics_proxy 2024-01-17 15:53:41 +01:00
31c6a8fdaf volumes template can now be passed the whole context 2024-01-17 15:53:17 +01:00
e721abb5b2 New template to generate random secrets
Create with pwgen and stored in vault kv
2024-01-17 15:00:54 +01:00
6a1015f4a2 Only add metrics_prox if prometheus is enabled 2024-01-16 16:15:12 +01:00
0a004ce515 Rename metrics-meta to metrics_meta 2024-01-16 15:52:52 +01:00
e103447a70 Useless spacing 2024-01-16 15:50:42 +01:00
6c774876c1 Support per_alloc for volumes 2024-01-16 15:48:42 +01:00
e0cd97b3fa Rename postgres_pooler -> task.pgpooler 2024-01-15 16:59:32 +01:00
2c552ba045 Enable max_prepared_statements in pgbouncer 2024-01-15 16:58:50 +01:00
2fafac7cec More work on the php base image 2024-01-13 23:08:35 +01:00
001e56d727 Fix mkmysqlrole 2024-01-13 23:07:54 +01:00
36b7f6da44 Add a tempalte to create mysql users 2024-01-13 22:54:23 +01:00
2f8a48d75b Support session or transaction mode for pooler 2024-01-13 13:45:31 +01:00
b3376e6553 Use workdir instead of command + args 2024-01-11 22:21:08 +01:00
4d7a0a9459 Preliminary support for pgcat 2024-01-11 22:11:52 +01:00
48a97d4c22 Simplify and fix traefik_middleware template 2024-01-10 23:38:15 +01:00
87f225e021 Fix spacing in tmpfs template 2024-01-09 16:39:19 +01:00
48ec8034ab use force_pull for redis image 2024-01-09 16:15:52 +01:00
b0789936fd Do not fail if base image has no additional tags 2024-01-09 12:14:51 +01:00
5cbaf399f2 Update pgbouncer variables 2024-01-09 11:04:47 +01:00
09fa3f9bb0 Add pgbouncer and vault policies template 2024-01-09 10:27:33 +01:00
759e43392b Add a template for artifacts 2024-01-04 10:41:22 +01:00
ada6722a95 Fix multi tag support 2023-12-30 22:38:08 +01:00
aef899cf34 Push all tags when building base images 2023-12-18 22:52:58 +01:00
8744fd6796 Remove .tpl extension, and add links for compatibility 2023-12-13 23:17:21 +01:00
ded9263b81 Add a template to declare volumes 2023-12-13 23:09:49 +01:00
021d0a5405 Also rename conf like instance-anything 2023-12-13 23:09:15 +01:00
7c76401365 Add support for alternate tags for base images 2023-12-12 13:44:00 +01:00
375234a3f9 Set redis task as a prestart sidecar 2023-11-15 21:30:04 +01:00
8c3f1f71b6 Add a simple, reusable redis task 2023-11-13 23:50:50 +01:00
6eba23f6b1 Add support for setting job priority 2023-11-12 20:05:07 +01:00
1c88e5ccf9 Support setting size of tmpfs 2023-11-08 22:47:24 +01:00
e5fc24bdba Add a tmpfs template 2023-11-03 14:22:47 +01:00
c2a400a772 Quote postgres role name 2023-10-31 12:00:45 +01:00
448197abf9 Simplify the wait_for template usage 2023-10-30 23:37:11 +01:00
59ccf31656 Support custom update conf in job_start 2023-10-30 15:04:04 +01:00
b6af9b54d3 Add support for custom proxy config 2023-10-30 11:53:37 +01:00
44eab68df9 Use a 12h ttl for database roles 2023-10-18 14:19:59 +02:00
d6d0e555e5 metrics-proxy mustn't be readonly 2023-10-16 15:40:39 +02:00
0d7fdb3253 Support setting disable_default_tcp_check 2023-10-09 22:37:32 +02:00
4e9889ad09 Fix metrics_url and put default driver in .nomad 2023-10-08 16:04:57 +02:00
0f3e98b2a6 WIP: merge conf in job to simplify external templates 2023-10-07 22:47:22 +02:00
983ffc7480 Rename with .tpl 2023-09-27 14:31:10 +02:00
6c647530a0 Set role for vault dynamic users 2023-09-26 14:31:47 +02:00
35a421ba0c Only add domain suffix if not ending with . 2023-09-26 14:31:26 +02:00
daec22a931 Fix vault.mkpgrole 2023-09-25 14:52:02 +02:00
292bf04d1b Add a template to create pg roles 2023-09-25 10:48:04 +02:00
5f5c57089d Explain why a template instead of env {} 2023-09-21 15:46:08 +02:00
662bcf064e Add empty line before template begin 2023-09-21 15:44:30 +02:00
a350e118b2 Make file_env a complete template block 2023-09-21 15:43:12 +02:00
f941db8f9d Add pgbackrest and compile wal-g for postgres 2023-09-21 15:39:07 +02:00
5c0e9aa175 Fixes in mkpki template 2023-09-17 17:20:44 +02:00
fcfe9cb312 Add a template to create a new PKI 2023-09-16 22:48:30 +02:00