Skip to content

Commit

Permalink
quote all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed Jun 10, 2024
1 parent 35c8af6 commit d71f1e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{- if (.Values.bgp.enabled) }}
{{- if (eq .Values.driver "cilium") }}
{{- if (.Values.bgp.enabled) }}

apiVersion: "cilium.io/v2alpha1"
kind: CiliumBGPPeeringPolicy
metadata:
name: {{ include "ck-loadbalancer.fullname" . }}
name: {{ include "ck-loadbalancer.fullname" . | quote }}
labels:
{{- include "ck-loadbalancer.labels" . | nindent 4 }}
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{- if .Values.l2.enabled }}
{{- if (eq .Values.driver "cilium") }}
{{- if .Values.l2.enabled }}

apiVersion: "cilium.io/v2alpha1"
kind: CiliumL2AnnouncementPolicy
metadata:
name: {{ include "ck-loadbalancer.fullname" . }}
name: {{ include "ck-loadbalancer.fullname" . | quote }}
labels:
{{- include "ck-loadbalancer.labels" . | nindent 4 }}
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{{- if .Values.l2.enabled }}
{{- if (eq .Values.driver "metallb") -}}
{{- if .Values.l2.enabled }}

apiVersion: "metallb.io/v1beta1"
kind: L2Advertisement
metadata:
name: {{ include "ck-loadbalancer.fullname" . }}
name: {{ include "ck-loadbalancer.fullname" . | quote }}
labels:
{{- include "ck-loadbalancer.labels" . | nindent 4 }}
spec:
ipAddressPools:
- {{ include "ck-loadbalancer.fullname" . }}
- {{ include "ck-loadbalancer.fullname" . | quote }}

{{- if gt (len .Values.l2.interfaces ) 0 -}}
{{- with .Values.l2.interfaces }}
Expand Down

0 comments on commit d71f1e5

Please sign in to comment.