Skip to content

Commit

Permalink
fix(logto): helpers: Refactor logto templates and add missing definit…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
ISNing committed May 2, 2024
1 parent f7fa4af commit 9855b8c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/logto/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.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
13 changes: 13 additions & 0 deletions charts/logto/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,16 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
Create the name of secret
*/}}
{{- define "logto.secretName" -}}
{{- include "logto.fullname" . }}
{{- end }}

{{/*
*/}}
{{- define "logto.configMapName" -}}
{{- include "logto.fullname" . }}
{{- end }}

0 comments on commit 9855b8c

Please sign in to comment.