Skip to content

Commit

Permalink
update readme with flags documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Feb 21, 2024
1 parent 5ac1ff1 commit 18c1797
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,15 @@ helm upgrade ccm-linode --install --set apiToken=$LINODE_API_TOKEN,region=$REGIO
```
_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._

### Flags
If required, ccm-linode can be started with following linode specific parameters:

Key | Values | Default | Description
---|---|---|---
`linodego-debug` | `boolean` | `false` | enables debug output for the LinodeAPI wrapper.
`linode-node-private-subnet` | `net.IPNet` | `192.168.128.0/17` | specifies backend network to use with nodebalancers.


### Configurations
There are other variables that can be set to a different value. For list of all the modifiable variables/values, take a look at './deploy/chart/values.yaml'.

Expand Down
5 changes: 4 additions & 1 deletion deploy/chart/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ spec:
- --v=3
- --port=0
- --secure-port=10253
{{- if .Values.linodegoDebug }}
- --linodego-debug={{ .Values.linodegoDebug }}
{{- end }}
{{- if .Values.linodeNodePrivateSubnet }}
- --linode-node-private-subnet={{ .Values.linodeNodePrivateSubnet }}
{{- end}}
{{- end }}
volumeMounts:
- mountPath: /etc/kubernetes
name: k8s
Expand Down
3 changes: 3 additions & 0 deletions deploy/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ image:
tag: # only set if required, defaults to .Chart.AppVersion set during release or "latest" by default
pullPolicy: Always

# enable debug output for the LinodeAPI wrapper
# linodegoDebug: false

# Set only if one wants to change the default backend network(192.168.128.0/17) to be configured with nodebalancers
# linodeNodePrivateSubnet: "192.168.128.0/17"

Expand Down

0 comments on commit 18c1797

Please sign in to comment.