Skip to content

Commit 3165419

Browse files
authored
Merge pull request #207 from coolhome/patch-1
Fix Values.ingress.annotations check
2 parents e743739 + d2ba6d4 commit 3165419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/netbox/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: netbox
3-
version: 5.0.0-beta9
3+
version: 5.0.0-beta10
44
appVersion: "v4.0.0"
55
type: application
66
kubeVersion: ^1.25.0-0

charts/netbox/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ include "common.names.fullname" . }}
66
namespace: {{ include "common.names.namespace" . | quote }}
77
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
8-
{{- if or .Values.service.annotations .Values.commonAnnotations }}
8+
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
99
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.ingress.annotations .Values.commonAnnotations ) "context" . ) }}
1010
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
1111
{{- end }}

0 commit comments

Comments
 (0)