Skip to content

Commit

Permalink
use quote var to wrap numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchcrab committed Feb 1, 2025
1 parent ad9f169 commit 78e59af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ data:
# apiserver OIDC config
DEX_SUBDOMAIN: dex
DEX_CLIENT_ID: 9aba9b32-e761-4507-8445-cea11a6b15da

# flux hack (see https://fluxcd.io/flux/components/kustomize/kustomizations/#post-build-substitution-of-numbers-and-booleans)
quote: '"' # double quote var
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@
fieldRef:
fieldPath: status.podIP
- name: bgp_as
value: "${BGP_CLUSTER_AS}"
- name: bgp_peeraddress
- name: bgp_peerpass
- name: bgp_peeras
value: "${BGP_PEER_AS}"
- name: bgp_peers
value: ${quote}${BGP_CLUSTER_AS}${quote}
value: "${BGP_PEERS}"
- name: address
value: "${APISERVER_VIP}"
Expand Down

0 comments on commit 78e59af

Please sign in to comment.