1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #515 from Ethyling/enh-helm-extralabelns

helm: add extraLabelNs master flag
This commit is contained in:
Kubernetes Prow Robot 2021-04-20 10:04:34 -07:00 committed by GitHub
commit 09cb512f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View file

@ -12,4 +12,4 @@ keywords:
- feature-detection
- node-labels
type: application
version: 0.1.1
version: 0.1.2

View file

@ -48,6 +48,9 @@ spec:
{{- if .Values.master.instance | empty | not }}
- "--instance={{ .Values.master.instance }}"
{{- end }}
{{- if .Values.master.extraLabelNs | empty | not }}
- "--extra-label-ns={{- join "," .Values.master.extraLabelNs }}"
{{- 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

View file

@ -5,7 +5,7 @@ image:
# tag, if defined will use the given image tag, else Chart.AppVersion will be used
# tag
imagePullSecrets: []
serviceAccount:
# Specifies whether a service account should be created
create: true
@ -20,6 +20,8 @@ fullnameOverride: ""
master:
instance:
extraLabelNs: []
replicaCount: 1
podSecurityContext: {}

View file

@ -226,6 +226,7 @@ We have introduced the following Chart parameters.
| ---- | ---- | ------- | ----------- |
| `master.*` | dict | | NFD master deployment configuration |
| `master.instance` | string | | Instance name. Used to separate annotation namespaces for multiple parallel deployments |
| `master.extraLabelNs` | array | [] | List of allowed extra label namespaces |
| `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 |