fix(autopush): add autoend endpoint_url again

This commit is contained in:
WrenIX 2025-01-07 13:48:58 +01:00
parent a88e6e8601
commit c6d73fc92c
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 7 additions and 2 deletions

View file

@ -3,7 +3,7 @@ name: autopush
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
icon: icon:
type: application type: application
version: 0.0.2 version: 0.0.3
# renovate: image=docker.io/mozilla-services/autopush-rs # renovate: image=docker.io/mozilla-services/autopush-rs
appVersion: "1.72.2" appVersion: "1.72.2"
maintainers: maintainers:

View file

@ -7,7 +7,7 @@ description: "A Helm chart for Kubernetes"
# autopush # autopush
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.72.2](https://img.shields.io/badge/AppVersion-1.72.2-informational?style=flat-square) ![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.72.2](https://img.shields.io/badge/AppVersion-1.72.2-informational?style=flat-square)
A Helm chart for Kubernetes A Helm chart for Kubernetes

View file

@ -39,6 +39,11 @@ data:
{{- end }} {{- end }}
{{/* autoendpoint */}} {{/* autoendpoint */}}
AUTOEND__HOST: {{ "::" | b64enc }} AUTOEND__HOST: {{ "::" | b64enc }}
{{- if .Values.ingress.tls }}
AUTOEND__ENDPOINT_URL: {{ printf "https://updates.%s" .Values.ingress.host | b64enc }}
{{- else }}
AUTOEND__ENDPOINT_URL: {{ printf "http://updates.%s" .Values.ingress.host | b64enc }}
{{- end }}
{{- if .Values.prometheus.enabled }} {{- if .Values.prometheus.enabled }}
AUTOEND__STATSD_HOST: {{ "127.0.0.1" | b64enc }} AUTOEND__STATSD_HOST: {{ "127.0.0.1" | b64enc }}
AUTOEND__STATSD_PORT: {{ "9125" | b64enc }} AUTOEND__STATSD_PORT: {{ "9125" | b64enc }}