mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-23 23:48:09 +08:00
6b07040ad7
* move e2e test in regular build * write to summary
17 lines
593 B
YAML
17 lines
593 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: sync-conf
|
|
namespace: {{ .Release.Namespace }}
|
|
data:
|
|
API_PORT: "0"
|
|
LOG_LEVEL: info
|
|
ORIGIN_URL: http://service-origin.{{ $.Release.Namespace }}.svc.cluster.local:3000
|
|
ORIGIN_PASSWORD: password
|
|
ORIGIN_USERNAME: username
|
|
{{ range $i,$version := .Values.replica.versions }}
|
|
REPLICA{{ $i }}_AUTOSETUP: "true"
|
|
REPLICA{{ $i }}_URL: http://service-replica-{{ $version | toString | replace "." "-" }}.{{ $.Release.Namespace }}.svc.cluster.local:3000
|
|
REPLICA{{ $i }}_PASSWORD: password
|
|
REPLICA{{ $i }}_USERNAME: username
|
|
{{- end }}
|