pravega / pravega-operator

Pravega Kubernetes Operator
Apache License 2.0
41 stars 38 forks source link

Enhance validation for authentication settings #611

Closed anishakj closed 2 years ago

anishakj commented 2 years ago

Description

Currently, if user has enabled authentication via spec.Authentication.Enabled but not provided correct options, Pravega will get deployed and it fails to list streams

Importance

must-have

Location

pkg/apis/pravega/v1beta1/pravegacluster_types.go

Suggestions for an improvement

Add webhook validation to ensure authentication options are correct