Martin
b9d88f74ed
tools.kata-webhook: Specify runtime class using configMap
...
The kata webhook requires a configmap to define what runtime class it
should set for the newly created pods. Additionally, the configmap
allows others to modify the default runtime class name we wish to set
(in case the handler is kata but the name of the runtimeclass is
different).
Finally, this PR changes the webhook-check to compare the runtime of the
newly created pod against the specific runtime class in the configmap,
if said confimap doesn't exist, then it will default to "kata".
Signed-off-by: Martin <mheberling@microsoft.com >
2024-09-19 11:51:38 -07:00
dependabot[bot]
391bc35805
build(deps): bump the go_modules group across 5 directories with 8 updates
...
Bumps the go_modules group with 2 updates in the /src/runtime directory: [github.com/containerd/containerd](https://github.com/containerd/containerd ) and [github.com/containers/podman/v4](https://github.com/containers/podman ).
Bumps the go_modules group with 4 updates in the /src/tools/csi-kata-directvolume directory: [golang.org/x/sys](https://github.com/golang/sys ), google.golang.org/protobuf, [golang.org/x/net](https://github.com/golang/net ) and [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 2 updates in the /src/tools/log-parser directory: [golang.org/x/sys](https://github.com/golang/sys ) and gopkg.in/yaml.v3.
Bumps the go_modules group with 2 updates in the /tests directory: [golang.org/x/sys](https://github.com/golang/sys ) and gopkg.in/yaml.v3.
Bumps the go_modules group with 2 updates in the /tools/testing/kata-webhook directory: [golang.org/x/sys](https://github.com/golang/sys ) and [golang.org/x/net](https://github.com/golang/net ).
Updates `github.com/containerd/containerd` from 1.7.2 to 1.7.11
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.2...v1.7.11 )
Updates `github.com/containers/podman/v4` from 4.2.0 to 4.9.4
- [Release notes](https://github.com/containers/podman/releases )
- [Changelog](https://github.com/containers/podman/blob/v4.9.4/RELEASE_NOTES.md )
- [Commits](https://github.com/containers/podman/compare/v4.2.0...v4.9.4 )
Updates `google.golang.org/protobuf` from 1.29.1 to 1.33.0
Updates `github.com/cyphar/filepath-securejoin` from 0.2.3 to 0.2.4
- [Release notes](https://github.com/cyphar/filepath-securejoin/releases )
- [Commits](https://github.com/cyphar/filepath-securejoin/compare/v0.2.3...v0.2.4 )
Updates `golang.org/x/sys` from 0.15.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `google.golang.org/protobuf` from 1.31.0 to 1.33.0
Updates `golang.org/x/net` from 0.19.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0 )
Updates `google.golang.org/grpc` from 1.59.0 to 1.63.2
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.63.2 )
Updates `golang.org/x/sys` from 0.0.0-20191026070338-33540a1f6037 to 0.1.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `gopkg.in/yaml.v3` from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0
Updates `golang.org/x/sys` from 0.0.0-20220429233432-b5fbb4746d32 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `gopkg.in/yaml.v3` from 3.0.0-20210107192922-496545a6307b to 3.0.0
Updates `golang.org/x/sys` from 0.15.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `golang.org/x/net` from 0.19.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: github.com/containers/podman/v4
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: github.com/cyphar/filepath-securejoin
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/net
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-30 09:46:13 +01:00
Lukáš Doktor
3b0049b2a4
tools.kata-webhook: Fix lib path
...
When moving the webhook we skipped the common.bash as (close-enough)
version is already in `/tests` but we forgot to update the source path,
fixing it here.
Fixes : #8653
Signed-off-by: Lukáš Doktor <ldoktor@redhat.com >
2024-02-05 14:17:24 +01:00
Lukáš Doktor
4c58478536
ci/openshift-ci: Move openshift-ci from the tests repo
...
Move the f15be37d9bef58a0128bcba006f8abb3ea13e8da version of scripts
required for openshift-ci from "kata-containers/tests/.ci/openshift-ci"
into "kata-containers/kata-containers/ci/openshift-ci" and required
webhook+libs into "kata-containers/kata-containers/tools/testing" as is
to simplify verification, the different location handling will be added
in following commit.
Signed-off-by: Lukáš Doktor <ldoktor@redhat.com >
2024-01-30 19:05:55 +01:00