Kubeslice Worker Operator Opensource Repository: The KubeSlice Worker Operator is a Kubernetes operator that manages the lifecycle of KubeSlice worker clusters.
Apache License 2.0
60
stars
19
forks
source link
Webhook internal server error in case deployment annotations are nil #78
Mutating webhook refers deployment annotations without checking if it is nil (https://github.com/kubeslice/worker-operator/blob/master/pkg/webhook/deploy/webhook.go#L88) this causes webhook to fail and the pod in not admitted in case annotations are nil
Possible solution: Check if the annotations are nil before referencing annotations