charmed-kubernetes / kubernetes-docs

This repository contains the development version of docs for Charmed Kubernetes
7 stars 54 forks source link

CIS benchmark is removed from Kubernetes worker #864

Open VariableDeclared opened 2 weeks ago

VariableDeclared commented 2 weeks ago

Hello folks,

Following the guide at https://ubuntu.com/kubernetes/docs/cis-compliance - there is a step to execute cis-benchmark on Kubernetes worker. The action no longer exists:

juju run kubernetes-worker/0 cis-benchmark \
  config='https://github.com/charmed-kubernetes/kube-bench-config/archive/cis-1.5.zip'

Operation 3 failed to schedule any tasks:
action "cis-benchmark" not defined on unit "kubernetes-worker/0"

Thanks, Peter

evilnick commented 2 weeks ago

Thanks for this. It seems the action got dropped from the charm, possibly when it got rewritten. We can either solve this by

  1. implementing the action
  2. deleting the CIS-compliance docs

any preference @ktsakalozos @addyess ?

nobuto-m commented 2 weeks ago

https://bugs.launchpad.net/charm-kubernetes-worker/+bug/2044219

nobuto-m commented 2 weeks ago

And https://github.com/charmed-kubernetes/charm-kubernetes-control-plane/pull/349