allow server annotations with dev mode (#371)

This commit is contained in:
Dawson Mortenson 2020-08-20 10:45:36 -07:00 committed by GitHub
parent 986191117e
commit f40cc89467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,7 +269,7 @@ Sets the injector node selector for pod placement
Sets extra pod annotations
*/}}
{{- define "vault.annotations" -}}
{{- if and (ne .mode "dev") .Values.server.annotations }}
{{- if .Values.server.annotations }}
annotations:
{{- $tp := typeOf .Values.server.annotations }}
{{- if eq $tp "string" }}