Skip to content

Find a smart way to validate the conf in the typedConfig of networkRBAC plugin #630

Open
@spacewander

Description

Description

No response

Use Scenes

See

// Another TODO: do it more smartly
.

The TypedConfig is a wrapper of protobuf Any so it's not validated by the generated validation.
Maybe we can use reflect to get all the TypedConfig and check them with the real proto message? Or using other solution. The solution should also work with other TypedConfig

Advice

No response

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions