1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 16:27:05 +00:00
Commit graph

752 commits

Author SHA1 Message Date
Markus Lehtonen
0512b06027 test/e2e: fix e2e-config node matching
Pick the correct rule when multiple node rules are present.
2020-11-24 11:35:35 +02:00
Kubernetes Prow Robot
9b8451209c
Merge pull request #402 from marquiz/fixes/kernel-version-sanitize
kernel: more agressively sanitize full kernel version
2020-11-23 09:57:34 -08:00
Kubernetes Prow Robot
def4b60d65
Merge pull request #386 from marquiz/devel/default-configmap
Add nfd-worker-conf ConfigMap to deployment templates
2020-11-23 09:07:34 -08:00
Markus Lehtonen
ba4ecfe7dc kernel: more agressively sanitize full kernel version
Trim illegal characters from the beginning and end of the kernel version
string. Label values must start and end with an alphanumeric and we want
to have some 'version.full' label, even if a sanitized one.
2020-11-23 19:04:12 +02:00
Markus Lehtonen
979d3b88fe Add nfd-worker-conf ConfigMap to deployment templates
Add a virtually empty ConfigMap that is mounted inside the workers.
Makes it easier to start customizing the worker deployment e.g. with just:

  $ kubectl -n ${NFD_NS} edit configmap nfd-worker-conf

Create a new 'templates' make target for inserting the content of
nfd-worker.conf.example into the configmap spec of the templates. Thus,
'make templates' should be run whenever the example config is update.
Update the verify.sh prow script to check that the templates are up to
date.

This patch also streamlines the documentation about configuration
management, reflecting the changes.
2020-11-23 18:49:52 +02:00
Markus Lehtonen
f72ec8f9b2 Sync nfd-worker-job.template with others
Add TLS placeholders.
2020-11-23 16:04:37 +02:00
Kubernetes Prow Robot
83e2a9defb
Merge pull request #356 from marquiz/devel/sources-flag
nfd-worker: add special handling for --sources=all
2020-11-22 01:53:33 -08:00
Kubernetes Prow Robot
16095ea6bc
Merge pull request #401 from dsb3/version-bump
Container base image version bump
2020-11-21 08:51:33 -08:00
Kubernetes Prow Robot
23286cd60b
Merge pull request #400 from marquiz/fixes/deploy-templates
Sync ClusterRole in deployment templates
2020-11-20 14:28:22 -08:00
Dave Baker
fc3a96928e Container base image version bump:
- update to golang 1.15.5 (was 1.15.4)
- Be more explicit about using the -buster variant for build image
- Update runtime image from -stretch to -buster to pick up security fixes
2020-11-20 16:39:18 -05:00
Kubernetes Prow Robot
64cb0403d5
Merge pull request #399 from marquiz/devel/release-script
docs: specify container image in config
2020-11-20 07:18:51 -08:00
Markus Lehtonen
045e3f2981 Sync ClusterRole in deployment templates 2020-11-20 17:18:26 +02:00
Markus Lehtonen
40be2c7e0c docs: specify container image in config 2020-11-20 17:00:19 +02:00
Kubernetes Prow Robot
c4fa78c8d0
Merge pull request #393 from ArangoGutierrez/minor_e2e_fixes
Fix a thing or two under test
2020-11-20 06:42:51 -08:00
Markus Lehtonen
29cbb2429c nfd-worker: add special handling for --sources=all
A new special value 'all' is a shortcut for enabling all feature
sources. It should be the only name specified -- if any other names are
specified 'all' does not take effect, but, we only enable the listed
feature sources. E.g.
  --sources=all enables all sources, but
  --sources=all,cpu only enables the cpu source

Also, print a warning if unknown sources are specified.
2020-11-20 16:23:53 +02:00
Kubernetes Prow Robot
6cc51e178a
Merge pull request #397 from marquiz/devel/release-script
scripts: add prepare-release.xh
2020-11-20 06:22:51 -08:00
Carlos Eduardo Arango Gutierrez
f18884d6fb
Fix a thing or two under test
This patch fix typo in a file name
Updates default image on e2e tests
Adds an extra file that should be ignored to gitignore

Use master instead of versioned tag for default test image
2020-11-20 09:22:29 -05:00
Markus Lehtonen
2283f29b19 scripts: add prepare-release.xh
A helper script for preparing the release branch.
2020-11-20 16:14:07 +02:00
Kubernetes Prow Robot
b0c02455d6
Merge pull request #396 from marquiz/docs/custom-source
docs: improve documentation of the custom source
2020-11-20 03:02:51 -08:00
Kubernetes Prow Robot
8ca1bdc54d
Merge pull request #395 from marquiz/devel/read-only-mounts
Make all mounts in deployment templates read-only
2020-11-20 02:20:52 -08:00
Markus Lehtonen
417bc6cdcf docs: improve documentation of the custom source
Better explain where the rules configuration is supposed to be
specified.
2020-11-20 12:10:02 +02:00
Markus Lehtonen
9d5dc4da1a Make all mounts in deployment templates read-only
NFD-Worker does not need write access.
2020-11-20 11:32:33 +02:00
Kubernetes Prow Robot
265454c405
Merge pull request #392 from ArangoGutierrez/patch-2
Update SECURITY_CONTACTS
2020-11-19 23:38:50 -08:00
Kubernetes Prow Robot
e850dfce5e
Merge pull request #340 from marquiz/devel/e2e
test/e2e: interpret node names in config as regexps
2020-11-19 13:32:51 -08:00
Carlos Arango Gutierrez
a235444800
Update SECURITY_CONTACTS
Update to active contributors
2020-11-19 15:10:27 -05:00
Kubernetes Prow Robot
d6bbd12b44
Merge pull request #369 from marquiz/devel/release-issue-template
Replace RELEASE.md with an issue template
2020-11-19 11:44:51 -08:00
Kubernetes Prow Robot
1265ceeacb
Merge pull request #391 from marquiz/devel/owners
OWNERS: drop balajismaniam
2020-11-19 11:38:51 -08:00
Markus Lehtonen
8ca38e26e3 Replace RELEASE.md with an issue template
In addition to just moving the content, update release process. Adjust
to the latest prow-based workflow. Capture steps required for
documentation.
2020-11-19 21:31:52 +02:00
Markus Lehtonen
42b4508a6c OWNERS: drop balajismaniam
Inactive for way over two years, now.
2020-11-19 21:28:53 +02:00
Kubernetes Prow Robot
62749bba1d
Merge pull request #389 from ArangoGutierrez/go_115
Go 1.15
2020-11-18 06:56:05 -08:00
Carlos Eduardo Arango Gutierrez
c4515b94ab
Go 1.15
this patch bumps both the Dockerfile and go.mod go version to 1.15

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-11-18 09:38:13 -05:00
Kubernetes Prow Robot
a8411b1585
Merge pull request #388 from marquiz/fixes/golang115
test/data: update test certs and keys
2020-11-18 06:28:06 -08:00
Markus Lehtonen
0d47a04e3e test/data: update test certs
Make them use SAN (Subject Alternative Name) instead of CN (Common Name)
field. Makes them compatible with golang 1.15 TLS.
2020-11-18 15:54:20 +02:00
Kubernetes Prow Robot
88344f257b
Merge pull request #385 from cynepco3hahue/update_dependencies_master
Update k8s dependencies to 1.19.4
2020-11-18 04:00:05 -08:00
Artyom Lukianov
a8c0b4a0d0 Focus only on NFD tests during the e2e tests run
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-11-18 13:09:13 +02:00
Artyom Lukianov
f363ba0e92 Update e2e test to work with updated dependencies
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-11-18 13:09:13 +02:00
Artyom Lukianov
6172c648e2 Update k8s dependencies to 1.19.4
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-11-18 13:09:13 +02:00
Kubernetes Prow Robot
6c6a682d23
Merge pull request #383 from marquiz/documentation/redirect
scripts/update-gh-pages: redirect to "stable" documentation
2020-11-04 07:52:04 -08:00
Markus Lehtonen
2dc3f0f7ab scripts/update-gh-pages: redirect to "stable" documentation
Update update-gh-pages.sh to manage the index.html in the root of the
main gh-pages site. Make the index page to redirect to the documentation
of the latest stable version.
2020-11-04 17:45:25 +02:00
Kubernetes Prow Robot
aac7722169
Merge pull request #370 from marquiz/devel/gh-pages-versioned
Link to correct Github blobs, use staging images in deployment templates
2020-11-04 07:44:06 -08:00
Markus Lehtonen
880ef462f7 docs: drop broken/outdated reference to kubernetes-incubator 2020-11-02 17:07:12 +02:00
Markus Lehtonen
18d1204251 Change deployment templates to point to staging image
Latest changes on the templates make them unusable with v0.6.0 release.
Going forward, we should keep it this way - templates in the master
branch should use staging image corresponding the template.
2020-11-02 17:05:39 +02:00
Markus Lehtonen
f3db20bdcb docs: support versioned links to gihub blobs
Make the links point to the blob from the release corresponding the
documentation.
2020-11-02 17:05:39 +02:00
Kubernetes Prow Robot
1814766263
Merge pull request #381 from marquiz/documentation/fix-refs
docs: fix broken refs
2020-11-02 06:24:53 -08:00
Markus Lehtonen
7b8e85c4ea docs: fixup site baseurl setting
Change build configuration related to site baseurl and Jekyll output
directory a bit. Making it more coherent e.g. by removing the need to
override baseurl for 'site-serve' makefile target.
2020-11-02 13:51:09 +02:00
Markus Lehtonen
18ffd2a06d docs: fix broken refs 2020-11-02 13:51:09 +02:00
Kubernetes Prow Robot
ef5239778d
Merge pull request #376 from marquiz/documentation/version-menu-polish
docs: polish the version menu
2020-10-30 07:16:06 -07:00
Kubernetes Prow Robot
a43334df5c
Merge pull request #378 from mythi/fix-pages
README: fix link to Github pages
2020-10-30 05:18:06 -07:00
Mikko Ylinen
1ca8b6c34d README: fix link to Github pages
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-10-30 13:37:50 +02:00
Markus Lehtonen
5295feb1ee docs: polish the version menu
Only show the dynamic version menu in production environment where it's
available. Local (development) builds only show a stub version menu with
one item.

Also, fix the theme customization. Append version list items to the
correct element in html so that they are displayed correctly. Drop
unnecessary <div/>.
2020-10-30 08:41:33 +02:00