Skip to content

Diagnostic flagging configuration error for AuthService when include_body.allow_partial: false #4222

@junmcao

Description

@junmcao

Describe the bug
Diagnostic flagging configuration error for AuthService when include_body.allow_partial: false with
[auth.ambassador.1: spec.include_body.allow_partial in body is required] when include_body.allow_partial is set to false which is also the default.

To Reproduce
Steps to reproduce the behavior:
Configure an AuthService resource with include_body.allow_partial: false and deploy it.

apiVersion: getambassador.io/v3alpha1 kind: AuthService metadata: name: auth namespace: ambassador spec: auth_service: "127.0.0.1:8500" proto: grpc include_body: max_bytes: 1000001 allow_partial: false status_on_error: code: 403 failure_mode_allow: false

Expected behavior
When include_body.allow_partial is false, it should not throw any errors about it not being set.

Versions (please complete the following information):

  • Ambassador: [e.g. 2.2.2]
  • Kubernetes environment [AKS]
  • Version [e.g. 1.22.6]

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssue is stale and will be closedt:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions