Commit Graph

14 Commits

Author SHA1 Message Date
Tuomas Katila
42c34a74a4 tls: drop additional ciphers
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-08-21 12:28:02 +03:00
Tuomas Katila
1a13dcd3e2 tls: limit version to 1.2 only and selected ciphers
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-08-20 11:58:38 +03:00
Mikko Ylinen
d7997800a9 logging: move away from klogr to ktesting/textlogger
klog has added ktesting/textlogger and is going to deprecate
klogr. The deprecation is going to trigger golangci-lint (staticcheck)
errors so rework the logging and move to ktesting/textlogger.

The commit also fixes the loglevel setting with operator.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-11-20 09:46:41 +02:00
Mikko Ylinen
60530ecdcd go.mod: bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.16.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-08-23 09:30:08 +03:00
Mikko Ylinen
42d47b9a81 go.mod: update to sigs.k8s.io/controller-runtime v0.15.0-beta.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-19 07:42:21 +03:00
Mikko Ylinen
b81d2dcba8 Update SGX and FPGA webhook flags
SGX Admission webhook was quickly forked from FPGA's
implementation. After a bit of thinking, it turns out
leader election and metrics are not necessary for a
(idempotent) webhook-only functionality.

For FPGA Admission webhook, the metrics isn't correctly
set up so it's better to disable the functionality. Leader
election is kept but the flag name is renamed to align with
"kubebuilder v3 functionality" similar to how we changed it
to the operator as well.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-13 13:18:28 +03:00
Ed Bartosh
5756725b09 fix lint failure
Removed unused import. This should fix this golangci-lint failure:
  can't run linter goanalysis_metalinter:
  buildir: failed to load package :
  could not load export data:
  no export data for "cloud.google.com/go/compute/metadata"

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-09-02 12:02:06 +03:00
Mikko Ylinen
f9ca36cc26 set TLSMinVersion for webhook servers
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-06-20 19:04:50 +03:00
Ed Bartosh
cec004c398 lint: enable wsl check
Fixes: #392

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2021-12-17 11:48:48 +02:00
Mikko Ylinen
0892a34705 move to k8s.io v1.20.x and klog/v2 v2.4.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-01-21 15:34:39 +02:00
Dmitry Rozhkov
f0fa9df292 operator: prepare for publishing at operatorhub.io 2020-11-24 18:35:56 +02:00
Dmitry Rozhkov
5f0da56045 Upgrade to k8s v1.19.3 2020-11-10 16:09:20 +02:00
Dmitry Rozhkov
200e2f8181 operator: add simple FPGA operator combined with FPGA webhook 2020-08-18 17:32:23 +03:00
Dmitry Rozhkov
a62c6f7d5e fpga webhook: reimplement to use kubebuilder framework
Simplify upgrade procedure to newer versions of kubernetes by relying on the
kubebuilder framework rather than using codegen directly.

Closes #377
2020-08-17 12:09:03 +03:00