Skip to content

Commit 0c84f99

Browse files
fix: fix path to values of admin credentials in helpers (#766)
Co-authored-by: Ilya Katlinsky <[email protected]>
1 parent d5a7358 commit 0c84f99

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/apisix/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type: application
3131
# This is the chart version. This version number should be incremented each time you make changes
3232
# to the chart and its templates, including the app version.
3333
# Versions are expected to follow Semantic Versioning (https://semver.org/)
34-
version: 2.8.0
34+
version: 2.8.1
3535

3636
# This is the version number of the application being deployed. This version number should be
3737
# incremented each time you make changes to the application. Versions are not expected to

charts/apisix/templates/_helpers.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ Return the password key name of etcd secret
140140
Key to use to fetch admin token from secret
141141
*/}}
142142
{{- define "apisix.admin.credentials.secretAdminKey" -}}
143-
{{- if .Values.admin.credentials.secretAdminKey }}
144-
{{- .Values.admin.credentials.secretAdminKey }}
143+
{{- if .Values.apisix.admin.credentials.secretAdminKey }}
144+
{{- .Values.apisix.admin.credentials.secretAdminKey }}
145145
{{- else }}
146146
{{- "admin" }}
147147
{{- end }}
@@ -151,8 +151,8 @@ Key to use to fetch admin token from secret
151151
Key to use to fetch viewer token from secret
152152
*/}}
153153
{{- define "apisix.admin.credentials.secretViewerKey" -}}
154-
{{- if .Values.admin.credentials.secretViewerKey }}
155-
{{- .Values.admin.credentials.secretViewerKey }}
154+
{{- if .Values.apisix.admin.credentials.secretViewerKey }}
155+
{{- .Values.apisix.admin.credentials.secretViewerKey }}
156156
{{- else }}
157157
{{- "viewer" }}
158158
{{- end }}

0 commit comments

Comments
 (0)