Skip to content

Commit

Permalink
bugfix: service.annotations did not find expected key
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhsb committed Sep 4, 2024
1 parent fe2e49f commit 63f2d23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/apisix/templates/service-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ metadata:
name: {{ include "apisix.fullname" . }}-gateway
namespace: {{ .Release.Namespace }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "apisix.labels" . | nindent 4 }}
app.kubernetes.io/service: apisix-gateway
Expand Down

0 comments on commit 63f2d23

Please sign in to comment.