From 7bbc120651599358f121aa248365cbe189c5a04e Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 24 Feb 2024 03:27:01 -0600 Subject: [PATCH] fix(headscale): Allow args to be overridden --- charts/headscale/Chart.yaml | 6 +++--- charts/headscale/README.md | 5 +++-- charts/headscale/templates/common.yaml | 2 -- charts/headscale/values.yaml | 3 +++ 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/charts/headscale/Chart.yaml b/charts/headscale/Chart.yaml index c17821907..743f79c38 100644 --- a/charts/headscale/Chart.yaml +++ b/charts/headscale/Chart.yaml @@ -4,7 +4,7 @@ description: An open source, self-hosted implementation of the Tailscale control home: https://charts.gabe565.com/charts/headscale/ icon: https://raw.githubusercontent.com/juanfont/headscale/56a7b1e/docs/logo/headscale3-dots.svg type: application -version: 0.13.0 +version: 0.13.1 # renovate datasource=docker depName=ghcr.io/juanfont/headscale appVersion: 0.22.3 kubeVersion: ">=1.22.0-0" @@ -25,8 +25,8 @@ sources: - https://github.com/juanfont/headscale annotations: artifacthub.io/changes: |- - - kind: changed - description: BREAKING - Update postgresql helm release to v14 + - kind: fixed + description: Allow args to be overridden artifacthub.io/links: |- - name: App Source url: https://github.com/juanfont/headscale diff --git a/charts/headscale/README.md b/charts/headscale/README.md index 240a28759..811a46177 100644 --- a/charts/headscale/README.md +++ b/charts/headscale/README.md @@ -2,7 +2,7 @@ headscale logo -![Version: 0.13.0](https://img.shields.io/badge/Version-0.13.0-informational?style=flat) +![Version: 0.13.1](https://img.shields.io/badge/Version-0.13.1-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: 0.22.3](https://img.shields.io/badge/AppVersion-0.22.3-informational?style=flat) @@ -11,7 +11,7 @@ An open source, self-hosted implementation of the Tailscale control server. **Homepage:** **This chart is not maintained by the upstream project and any issues with the chart should be raised -[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=headscale&version=0.13.0)** +[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=headscale&version=0.13.1)** ## Source Code @@ -145,6 +145,7 @@ Once deployed, the UI will be available at `/web`. | Key | Type | Default | Description | |-----|------|---------|-------------| +| args | list | `["headscale","serve"]` | Container args | | configMaps.acl.data.policy | string | `nil` | ACL policy JSON [[ref]](https://tailscale.com/kb/1018/acls/) | | configMaps.acl.enabled | bool | `false` | Enables ACL policy | | env | object | See [values.yaml](./values.yaml) | Environment variables. [[ref]](https://github.com/juanfont/headscale/blob/main/config-example.yaml) | diff --git a/charts/headscale/templates/common.yaml b/charts/headscale/templates/common.yaml index 611c511a9..ac163e93f 100644 --- a/charts/headscale/templates/common.yaml +++ b/charts/headscale/templates/common.yaml @@ -1,7 +1,5 @@ {{/* Append the hardcoded settings */}} {{- define "headscale.harcodedValues" -}} -args: ["headscale", "serve"] - initContainers: config: image: alpine diff --git a/charts/headscale/values.yaml b/charts/headscale/values.yaml index 8756d40e3..8a6ca4e65 100644 --- a/charts/headscale/values.yaml +++ b/charts/headscale/values.yaml @@ -13,6 +13,9 @@ image: # -- image tag tag: 0.22.3 +# -- Container args +args: ["headscale", "serve"] + # -- Environment variables. [[ref]](https://github.com/juanfont/headscale/blob/main/config-example.yaml) # @default -- See [values.yaml](./values.yaml) env: