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

Merge pull request #443 from e0ne/instance-chart-support

Add NFD master '--instance' flag support to Helm chart
This commit is contained in:
Kubernetes Prow Robot 2021-02-22 05:21:42 -08:00 committed by GitHub
commit accb986418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 |