Files
truecharts/containers/apps/kube-sa-proxy
TrueCharts Bot 66ec254456 chore(container): update golang docker tag to v1.25.1 (#39171)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang | stage | patch | `1.25.0-alpine` -> `1.25.1-alpine` |
| golang | final | patch | `1.25.0` -> `1.25.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-09-06 00:29:09 +02:00
..

File Auth Proxy Service

File Auth Proxy Service is a lightweight Go application designed to act as a proxy server, forwarding HTTP requests to a specified target URL while handling authentication using an API key stored in a file. This service dynamically monitors changes to the API key file, ensuring seamless updates without service interruption. With File Auth Proxy Service, you can securely proxy requests while easily managing authentication credentials.

Features

  • Proxy server for HTTP requests
  • Authentication with API key stored in a file
  • Dynamic monitoring of the API key file for updates
  • Lightweight and easy to deploy

Getting Started

To get started with File Auth Proxy Service, follow these steps:

  1. Clone this repository.
  2. Build the project using go build.
  3. Run the executable, specifying the desired port, API file path, proxy target URL, and authentication token header.
./my-proxy-service -port <port> -api-file <api-file-path> -proxy-target <proxy-target-url> -auth-token-header <auth-token-header-name>

Docker Usage and Environment Variables

To run the File Auth Proxy Service using Docker, use the provided Docker image:

docker run

The volume can be ANY path like the port can be set to whatever you want; if you change the PORT env, you need to change the internal port too...

docker run -d -p 3000:3000 \
  -v /path/to/local/config:/config \
  -e PORT=3000 \
  -e API_FILE=/config/api-key \
  -e PROXY_TARGET=http://example.com \
  -e AUTH_TOKEN_HEADER=authorization \
  ghcr.io/xstar97/my-proxy-service:latest

docker-compose

The volume can be ANY path like the port can be set to whatever you want; if you change the PORT env, you need to change the internal port too...

version: '3.8'

services:
  my-proxy-service:
    image: ghcr.io/xstar97/my-proxy-service:latest
    ports:
      - "3000:3000"
    environment:
      - PORT=3000
      - API_FILE=/config/api-key
      - PROXY_TARGET=http://example.com
      - AUTH_TOKEN_HEADER=authorization
    volumes:
      - /path/to/local/config:/config