Skip to content

Commit

Permalink
fix for when settings are null
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocc authored Sep 5, 2024
1 parent 9c6d3c8 commit 3dad7d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helm/cf-tunnel-v3/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
{{/* (merge $rootV.x (deepCopy $rootG.x)) --> $rootG wins */}}
{{/* (merge $rootG.x (deepCopy $rootV.x)) --> $rootV wins */}}
{{/* ---------------------------------------------------------------------------------------------------- */}}
{{- $affinity := (merge $rootV.affinity $rootG.affinity) }}
{{- $nodeSelector := (merge $rootV.nodeSelector $rootG.nodeSelector) }}
{{- $tolerations := concat $rootV.tolerations $rootG.tolerations }}
{{- $affinity := (merge ($rootV.affinity |default dict) ($rootG.affinity |default dict)) }}
{{- $nodeSelector := (merge ($rootV.nodeSelector |default dict) ($rootG.nodeSelector |default dict)) }}
{{- $tolerations := concat ($rootV.tolerations |default list) ($rootG.tolerations |default list) }}
{{/* ---------------------------------------------------------------------------------------------------- */}}
---
# Here we deploy cloudflared images. The tunnel token is stored ina k8s secret
Expand Down

0 comments on commit 3dad7d6

Please sign in to comment.