Skip to content

Commit

Permalink
Merge pull request #207 from coolhome/patch-1
Browse files Browse the repository at this point in the history
Fix Values.ingress.annotations check
  • Loading branch information
RangerRick authored May 13, 2024
2 parents e743739 + d2ba6d4 commit 3165419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/netbox/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: netbox
version: 5.0.0-beta9
version: 5.0.0-beta10
appVersion: "v4.0.0"
type: application
kubeVersion: ^1.25.0-0
Expand Down
2 changes: 1 addition & 1 deletion charts/netbox/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "common.names.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if or .Values.service.annotations .Values.commonAnnotations }}
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.ingress.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit 3165419

Please sign in to comment.