Markus Lehtonen
389a3d4e2e
nfd-master: drop cleanup of ancient incubator labels
...
Remove the cleanup code that removes ancient NFD labels with the
node.alpha.kubernetes-incubator.io/ prefix. This label namespace was
deprecated/dropped already in v0.4.0 so it should be safe to drop this
code.
2022-09-20 19:56:58 +03:00
Kubernetes Prow Robot
8199cb3f13
Merge pull request #885 from marquiz/devel/hack-scripts
...
scripts: move hacky scripts to hack directory
2022-09-19 02:16:32 -07:00
Feruzjon Muyassarov
92f862d954
Add netlify configuration file
...
This patch adds netlify configuration file which includes steps
needed to build the documentation as part of presubmit review
process.
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-09-16 00:47:49 +03:00
Kubernetes Prow Robot
c491c1dc37
Merge pull request #892 from marquiz/documentation/fixes
...
docs: fix incorrect shell snippet for removing labels
2022-09-15 06:27:26 -07:00
Markus Lehtonen
db7dd93a64
docs: fix incorrect shell snippet for removing labels
2022-09-15 16:18:09 +03:00
Markus Lehtonen
02955b57c7
test/e2e: fix segfault in case no e2e config file is specified
2022-09-14 11:00:16 +03:00
Kubernetes Prow Robot
15f0cea172
Merge pull request #888 from marquiz/devel/k8s-1.25
...
Update kubernetes to v1.25.0
2022-09-13 08:17:05 -07:00
Markus Lehtonen
97590e200a
scripts: move hacky scripts to hack directory
...
Move prepare-release.sh and kustomize.sh from scripts/ to hack/.
2022-09-13 17:58:09 +03:00
Kubernetes Prow Robot
9d5d7cfbee
Merge pull request #890 from marquiz/devel/registry
...
Update registry to registry.k8s.io
2022-09-12 02:47:25 -07:00
Markus Lehtonen
f21315d85f
Update kubernetes registry to registry.k8s.io
...
Update registry location for non-nfd images.
2022-09-12 11:23:04 +03:00
Markus Lehtonen
4f34451db8
Update NFD registry to registry.k8s.io
...
Kubernetes has moved to a new container image registry:
https://groups.google.com/a/kubernetes.io/g/dev/c/DYZYNQ_A6_c/m/FpHqeVR2BAAJ
2022-09-12 11:21:12 +03:00
Markus Lehtonen
ffa35427cd
nfd-client: don't use deprecated grpc.WithInsecure()
...
Replace deprecated grpc.WithInsecure() with
grpc.WithTransportCredentials and insecure.NewCredentials(). Makes
golangci-lint pass muster.
enter the commit message for your changes. Lines starting
2022-09-09 11:07:22 +03:00
Markus Lehtonen
c09225f75c
test/e2e: drop utils/kubeletconfig.go
...
The required fix is in kubernetes v1.25.0 so we can drop this local
copy.
2022-09-09 10:55:03 +03:00
Markus Lehtonen
449b0b2199
go.mod: update kubernetes to v1.25.0
2022-09-09 10:55:03 +03:00
Kubernetes Prow Robot
a006459078
Merge pull request #889 from marquiz/fixes/verify
...
Lint fixes
2022-09-08 08:29:45 -07:00
Markus Lehtonen
12e859d50c
Drop deprecated io/ioutil package
...
Makes golanci-lint happy.
2022-09-08 14:26:02 +03:00
Markus Lehtonen
98228d2069
Update auto-generated artefacts
...
Latest gofmt changes and update to go v1.19 induce some changes in the
generated files.
2022-09-08 12:45:20 +03:00
Markus Lehtonen
81fbc685df
generate: use common builder base image
...
Use the same base image (golang) for auto-generation as for building
container images. This makes sure that we stay in sync in terms of the
golang version used.
2022-09-08 12:43:15 +03:00
Markus Lehtonen
2bbfe3edc8
Run gofmt
...
Golang v1.19 was not happy with our code comments.
2022-09-08 12:43:15 +03:00
Markus Lehtonen
2e0e93fb84
scripts/test-infra: bump golangci-lint to v1.49.0
...
Update to the latest version, supporting golang v1.19. Also make the
verify script a tad more verbose.
2022-09-08 11:53:07 +03:00
Kubernetes Prow Robot
c433d2c69f
Merge pull request #887 from marquiz/devel/golang-1.19
...
Bump golang to v1.19
2022-09-07 11:04:38 -07:00
Markus Lehtonen
ba7a3ba3eb
Bump golang to v1.19
2022-09-07 15:37:12 +03:00
Kubernetes Prow Robot
77af16fe9d
Merge pull request #880 from fmuyassarov/add-tiltfile/feruz
...
Add Tilt option for developing NFD
2022-09-06 12:06:23 -07:00
Kubernetes Prow Robot
42b593f4fe
Merge pull request #882 from fmuyassarov/run-local
...
Run local markdown tests inside an isolated container
2022-09-06 07:48:54 -07:00
Feruzjon Muyassarov
1e3bfcc77d
Run local markdown tests inside an isolated container
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-09-06 16:08:06 +03:00
Kubernetes Prow Robot
81da164b7f
Merge pull request #833 from marquiz/devel/security-refactor
...
cpu: re-organize security features
2022-09-01 05:29:06 -07:00
Feruzjon Muyassarov
e7af8d068f
Update documentation about hooks depreciation
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-09-01 10:58:35 +03:00
Feruzjon Muyassarov
56d5da2ce0
Add a config option to disable hooks of local feature
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-09-01 10:58:31 +03:00
Feruzjon Muyassarov
a675fd93fd
Don't advertise BASE_IMAGE_FULL and BASE_IMAGE_MINIMAL
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-08-30 17:37:01 +03:00
Feruzjon Muyassarov
a30ceb2973
Describe how to develop locally with Tilt
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-08-30 17:36:58 +03:00
Feruzjon Muyassarov
bac1ea1642
add initial tilt configuration
...
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-08-30 17:29:01 +03:00
Kubernetes Prow Robot
778c897345
Merge pull request #878 from marquiz/devel/readme-e2e-badge
...
README: reconfigure prow badges
2022-08-26 00:26:25 -07:00
Markus Lehtonen
a308743834
README: add a prow badge for e2e-test status
2022-08-25 22:11:36 +03:00
Markus Lehtonen
e6c0a2dd6a
README: change prow badge to display status of image-build
...
Change the prow badge on top of the readme file to show the status of
image building (push-image job). We're not interested in the status of
the PR builds, merely on how the tip of the master branch (or occasional
releases) are doing.
2022-08-25 22:08:51 +03:00
Kubernetes Prow Robot
2b64baef86
Merge pull request #877 from marquiz/fixes/e2e
...
scripts/test-e2e: install kubectl
2022-08-25 11:08:07 -07:00
Markus Lehtonen
d61f31076f
scripts/test-e2e: install kubectl
...
Kubectl is required bu the topologu-updater end-to-end tests.
2022-08-25 16:27:59 +03:00
Kubernetes Prow Robot
e24cf7a801
Merge pull request #874 from marquiz/devel/readme
...
README: update to v0.11.2
2022-08-24 08:30:04 -07:00
Markus Lehtonen
1e8f5a6222
README: update to v0.11.2
2022-08-24 10:43:54 +03:00
Kubernetes Prow Robot
4e6a718dfe
Merge pull request #865 from stek29/fix-864
...
Fix templates for NodeFeatureRule with MatchAny
2022-08-23 09:55:24 -07:00
Viktor Oreshkin
6fd12a2da7
apis/nfd: fix templates with MatchAny only
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-23 18:00:44 +03:00
Kubernetes Prow Robot
a753d11e0b
Merge pull request #867 from stek29/worker-priority-class
...
helm: add priorityClassName to worker
2022-08-23 07:23:31 -07:00
Kubernetes Prow Robot
c8e52564e5
Merge pull request #862 from marquiz/devel/helm
...
helm: rename "manifests" subdir to "crds"
2022-08-23 07:23:24 -07:00
Kubernetes Prow Robot
6842ec3457
Merge pull request #868 from marquiz/fixes/klog-errorf
...
logging: do not use %w with klog.Errorf
2022-08-23 05:39:25 -07:00
Markus Lehtonen
2c92e1dcff
logging: do not use %w with klog.Errorf
...
It is not recognized (and does not work like with fmt.Errorf) so use %v
instead.
2022-08-22 14:39:52 +03:00
Viktor Oreshkin
7498e49ba5
helm: add priorityClassName to worker
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-22 06:45:52 +03:00
Viktor Oreshkin
4375e08e39
apis/nfd: add more tests for templates
...
test that NodeFeatureRule templates work with empty MatchFeatures, but
with MatchAny.
this test would fail, higligting an issue which is fixed in next commit.
see #864 .
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-08-22 02:27:55 +03:00
Markus Lehtonen
acdc632935
helm: rename "manifests" subdir to "crds"
...
Rename the Helm subdir that contains CRD(s) to match the expected chart
directory structure.
2022-08-19 14:58:01 +03:00
Kubernetes Prow Robot
da3eed5101
Merge pull request #861 from marquiz/fixes/log-msg
...
nfd-master: more fixes to log messages
2022-08-17 00:24:55 -07:00
Markus Lehtonen
889e4c1351
nfd-master: more fixes to log messages
...
Use correct name for the CR (NodeFeatureRule) object. Also, the resource
is cluster-scoped so don't print the namespace.
2022-08-17 10:07:26 +03:00
Kubernetes Prow Robot
1ab4bc4be8
Merge pull request #860 from marquiz/fixes/log-msg
...
nfd-master: fix incorrect log messages in crd controller
2022-08-16 07:07:08 -07:00