mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
chore: Bump version for Home Assistant charts and improve CIDR detection in deployment script
This commit is contained in:
@@ -4,7 +4,7 @@ description: Home Assistant development build - wraps home-assistant chart with
|
||||
type: application
|
||||
annotations:
|
||||
version-source: dockerhub-dev:homeassistant/home-assistant:^[0-9]+\.[0-9]+\.[0-9]+\.dev[0-9]+$
|
||||
version: 0.1.32-dev
|
||||
version: 0.1.33-dev
|
||||
appVersion: "2026.5.0.dev202604130316"
|
||||
dependencies:
|
||||
- name: home-assistant
|
||||
|
||||
@@ -5,5 +5,5 @@ type: application
|
||||
annotations:
|
||||
version-source: github-release:home-assistant/core
|
||||
version-pattern: "s|^v||"
|
||||
version: 0.1.20
|
||||
version: 0.1.21
|
||||
appVersion: "2026.4.2"
|
||||
|
||||
@@ -53,9 +53,9 @@ spec:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
# Auto-detect pod and service CIDRs
|
||||
SVC_CIDR=$(echo $KUBERNETES_SERVICE_HOST | sed 's/\.[0-9]*$/\.0\/16/')
|
||||
POD_CIDR=$(echo $POD_IP | sed 's/\.[0-9]*$/\.0\/16/')
|
||||
# Auto-detect pod and service CIDRs (zero last two octets for /16)
|
||||
SVC_CIDR=$(echo $KUBERNETES_SERVICE_HOST | sed -E 's/\.[0-9]+\.[0-9]+$/.0.0\/16/')
|
||||
POD_CIDR=$(echo $POD_IP | sed -E 's/\.[0-9]+\.[0-9]+$/.0.0\/16/')
|
||||
cat > /config/http.yaml << EOF
|
||||
server_port: {{ .Values.http.server_port }}
|
||||
ip_ban_enabled: {{ .Values.http.ip_ban_enabled }}
|
||||
|
||||
Reference in New Issue
Block a user