Skip to content

Commit c9af4f3

Browse files
Add flag to helm chart
1 parent c1f7c72 commit c9af4f3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deploy/chart/templates/daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ spec:
156156
{{- if .Values.nodeBalancerBackendIPv4Subnet }}
157157
- --nodebalancer-backend-ipv4-subnet={{ .Values.nodeBalancerBackendIPv4Subnet }}
158158
{{- end }}
159+
{{- if .Values.nodeBalancerBackendIPv4Subnet }}
160+
- --nodebalancer-prefix={{ .Values.nodeBalancerPrefix }}
161+
{{- end }}
159162
{{- if .Values.extraArgs }}
160163
{{- toYaml .Values.extraArgs | nindent 12 }}
161164
{{- end }}

deploy/chart/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ tolerations:
116116
# nodeBalancerBackendIPv4SubnetName is the subnet name to use for the backend ips of the NodeBalancer
117117
# nodeBalancerBackendIPv4SubnetName: ""
118118

119+
# nodeBalancerPrefix is used to add prefix for nodeBalacer name. Default is "ccm"
120+
# nodeBalancerPrefix: ""
121+
119122
# This section adds the ability to pass environment variables to adjust CCM defaults
120123
# https://github.com/linode/linode-cloud-controller-manager/blob/master/cloud/linode/loadbalancers.go
121124
# LINODE_HOSTNAME_ONLY_INGRESS type bool is supported

0 commit comments

Comments
 (0)