Skip to content

Helm charts can't be deployed in a "restricted" kubernetes namespace. #482

@viklund

Description

@viklund

Description

Deploying the helm charts in a security hardened kubernetes environment fails because of some security violoations for namespaces created with the restricted policy.

Expected behaviour

Ability to deploy helmcharts in a reststricted kubernetes namespace.

Step to reproduce

Create a restricted kubernetes namespace. Try to deploy the services.

Environment

Kubernetes version 1.33.5.

Additional information

You can read about the restricted kubernetes security policy here.

The configuration for creating a namespace with a restricted policy is like this:

apiVersion: v1
kind: Namespace
metadata:
  labels:
    pod-security.kubernetes.io/enforce: restricted
    pod-security.kubernetes.io/enforce-version: latest
  name: restircted

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions