Skip to content

k8s 1.23 kubectl debug only allow single type of image #84

@nissessenap

Description

@nissessenap

In k8s 1.23 kubectl debug was introduced.
As a part of this we have already added basic rules to make sure that the debug container can't run in privileged mode.

But to make sure that we know exactly witch software that is running in the debug containers we should also limit the image that can be used for a debug pod.

DoD:

  • Create the image in a good fitting repo with automatic updates etc. and publish it.
  • Write documentation about the image and how to use the debug container: https://github.com/XenitAB/xenitab.github.io
  • Write a OPA rule that makes it only possible to run a debug container with this image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions