From 77a183bd08f836b2e886151fd8653ebda1e22fc9 Mon Sep 17 00:00:00 2001 From: Jan Funke Date: Thu, 4 Dec 2025 11:04:18 +0100 Subject: [PATCH] Added: config for kube quadlet --- Readme.md | 16 +++++++++++----- ...network.conf => proxy-network-container.conf} | 0 assets/proxy-network-kube.conf | 4 ++++ 3 files changed, 15 insertions(+), 5 deletions(-) rename assets/{proxy-network.conf => proxy-network-container.conf} (100%) create mode 100644 assets/proxy-network-kube.conf diff --git a/Readme.md b/Readme.md index 41d3273..2fa9a9d 100644 --- a/Readme.md +++ b/Readme.md @@ -17,13 +17,19 @@ Add the `proxy.network` to the service you would like to proxy. This can be done 1. Create a folder next to the container/pod file: `$name.$type.d/` (e.g. `nginx.container.d/`) 2. Create a config file (e.g. `proxy.conf`) in this folder with the following contents: -```yaml -[Container] -Network=proxy.network -``` + 1. Container + ```yaml + [Container] + Network=proxy.network + ``` + 2. Kube + ```yaml + [Kube] + Network=proxy.network:alias:my-service + ``` > [!TIP] -> The config is also available to copy under `assets/proxy-network.conf`! +> Configurations are also available to copy under `assets/`! ## Firewall settings diff --git a/assets/proxy-network.conf b/assets/proxy-network-container.conf similarity index 100% rename from assets/proxy-network.conf rename to assets/proxy-network-container.conf diff --git a/assets/proxy-network-kube.conf b/assets/proxy-network-kube.conf new file mode 100644 index 0000000..9b24aef --- /dev/null +++ b/assets/proxy-network-kube.conf @@ -0,0 +1,4 @@ +# Add this to the $NAME.kube.d/ folder + +[Kube] +Network=proxy.network:alias=my-service