From 4777e4963b882be571174a30976c3cf8c73e6cf8 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 24 Nov 2023 11:41:37 -0500 Subject: [PATCH] feat: Terminate dns name of default loginUrl (#80) * feat: Terminate dns name of default loginUrl This changeset sets the bitwarden-eso-provider.clusterSecretStore.loginUrl to be terminated with a `.` so that the search domain is not appended to the hostname ideally forcing it to resolve within the cluster. * chore: bump chart patch version --- charts/bitwarden-eso-provider/Chart.yaml | 2 +- charts/bitwarden-eso-provider/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/bitwarden-eso-provider/Chart.yaml b/charts/bitwarden-eso-provider/Chart.yaml index cf75a77..ec0d621 100644 --- a/charts/bitwarden-eso-provider/Chart.yaml +++ b/charts/bitwarden-eso-provider/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.0 +version: 0.5.1 # renovate: image=jessebot/bweso appVersion: "v0.3.0" diff --git a/charts/bitwarden-eso-provider/templates/_helpers.tpl b/charts/bitwarden-eso-provider/templates/_helpers.tpl index 245d7a9..784ee31 100644 --- a/charts/bitwarden-eso-provider/templates/_helpers.tpl +++ b/charts/bitwarden-eso-provider/templates/_helpers.tpl @@ -66,7 +66,7 @@ Create the url string that will be used to query Bitwarden: - cluster-secret-store logins url */}} {{- define "bitwarden-eso-provider.clusterSecretStore.loginUrl" -}} -{{- printf "http://%s.%s.svc.cluster.local:%s/list/object/items?search={{ .remoteRef.key }}" .Release.Name .Release.Namespace (.Values.service.port | toString) | quote }} +{{- printf "http://%s.%s.svc.cluster.local.:%s/list/object/items?search={{ .remoteRef.key }}" .Release.Name .Release.Namespace (.Values.service.port | toString) | quote }} {{- end }}