1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 10:47:23 +00:00

Add NFD master '--instance' flag support to Helm chart

This commit is contained in:
Ivan Kolodyazhny 2021-02-19 14:24:43 +02:00
parent 3e00bfb2ae
commit 88bd80d415
3 changed files with 6 additions and 1 deletions

View file

@ -44,6 +44,10 @@ spec:
- "nfd-master"
resources:
{{- toYaml .Values.master.resources | nindent 12 }}
args:
{ { - if .Values.master.instance | empty | not } }
- "--instance={{ .Values.master.instance }}"
{ { - end } }
## Enable TLS authentication
## The example below assumes having the root certificate named ca.crt stored in
## a ConfigMap named nfd-ca-cert, and, the TLS authentication credentials stored
@ -51,7 +55,6 @@ spec:
## Additional hardening can be enabled by specifying --verify-node-name in
## args, in which case every nfd-worker requires a individual node-specific
## TLS certificate.
# args:
# - "--ca-file=/etc/kubernetes/node-feature-discovery/trust/ca.crt"
# - "--key-file=/etc/kubernetes/node-feature-discovery/certs/tls.key"
# - "--cert-file=/etc/kubernetes/node-feature-discovery/certs/tls.crt"

View file

@ -19,6 +19,7 @@ nameOverride: ""
fullnameOverride: ""
master:
instance:
replicaCount: 1
podSecurityContext: {}

View file

@ -171,6 +171,7 @@ We have introduced the following Chart parameters.
##### Master pod parameters
| `master.*` | dict | | NFD master deployment configuration |
| `master.instance` | string | | Instance name. Used to separate annotation namespaces for multiple parallel deployments |
| `master.replicaCount` | integer | 1 | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified |
| `master.podSecurityContext` | dict | {} | SecurityContext holds pod-level security attributes and common container settings |
| `master.service.type` | string | ClusterIP | NFD master service type |