SAP-archive / karydia

Kubernetes Security Walnut
Other
77 stars 10 forks source link

Introduce Version Restrictions #239

Closed dacappo closed 5 years ago

dacappo commented 5 years ago

Description

Reduce the timeout for the validation and mutating webhooks down to 10 seconds. The default timeout of 30 seconds interfered with the API server timeout.

Due to compatibility issues with older Kubernetes versions, we decided to remove nodes as resources registered for the webhooks instead of reducing the timeout. This solved the hibernation problem and we stay compatible with older k8s versions.

Due to compatibility issues with older Kubernetes versions, we decided to only support versions >=1.15. This stated in the README when visiting the Karydia project and is tracked in the Charts.yaml for the Helm installation.

Fixes #235

Checklist

Before submitting this PR, please make sure:

Neumann-Nils commented 5 years ago

As we had some troubles with other features used for Karydia, we decided to support only versions >=1.15 for now. This should fix the described issues.

For older versions following message is prompted:

Error: Chart requires kubernetesVersion: >= 1.15 which is incompatible with Kubernetes v1.13.12