Skip to content

Commit

Permalink
feat: Terminate dns name of default loginUrl (#80)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jokajak authored Nov 24, 2023
1 parent 4dbab22 commit 4777e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/bitwarden-eso-provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion charts/bitwarden-eso-provider/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}


Expand Down

0 comments on commit 4777e49

Please sign in to comment.