SAP-archive / karydia

Kubernetes Security Walnut
Other
77 stars 10 forks source link

Allow Init-Container to Approve Certificate Requests #256

Closed Neumann-Nils closed 4 years ago

Neumann-Nils commented 4 years ago

Description

Kubernetes 1.18 introduces changes regarding certificates (see https://github.com/kubernetes/kubernetes/pull/86933). This breaks the deployment of Karydia on Kubernetes cluster with version >=1.18.

For certificate request approval, the used role needs to be assigned a "signer" for the respective "singer-name" (see https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#signers).

This PR adds the needed rbac-rule to the init-container role.

Checklist

Before submitting this PR, please make sure: