Skip to content

[docs]: incorrect webhook's url doc #1049

@Sshnyari

Description

@Sshnyari

Describe the missing piece of documentation

Docs state that the generated webhook url is generated based on the name of the webhook : https://github.com/dotnet/dotnet-operator-sdk/blob/main/src/KubeOps.Operator.Web/README.md#webhook-endpoint-routing

But in code, it is based on the type of the entity the webhook is mutating :

.Select(t => (HookTypeName: t.BaseType!.GenericTypeArguments[0].Name.ToLowerInvariant(),

Maybe docs are worth updating or code need to be fixed to conform to it

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions