Skip to content

Add status field to API #2900

Open
Open

Description

@MorrisLaw

We need a way to communicate to the user that the CR is misconfigured. Also, whether or not a Gateway exists in order to implement Policy Attachment correctly (see here).

Task:
The status of the targetRef referenced Gateway needs to be exposed to the controller responsible for applying policy. (One idea is to add a status field to Istio/api, but we should also consider existing solutions that may exist (e.g. kstatus)).

Activity

  1. self-assigned this
    on Aug 10, 2023
  2. linsun commented on Aug 14, 2023

    @linsun
    Member

    cc @therealmitchconnors who I recall tried to add this for Istio resources, also cc @howardjohn

  3. therealmitchconnors commented on Aug 14, 2023

    @therealmitchconnors
    Contributor

    Istio resources already have a status field, which we mostly do not use. I like this idea, but it will require careful API design. For starters, I would consider using kstatus compatible conditions, unless there is a compelling reason to roll our own.

  4. MorrisLaw commented on Aug 14, 2023

    @MorrisLaw
    ContributorAuthor

    Thank you @linsun @therealmitchconnors. Is this where gateway status is updated?

  5. howardjohn commented on Aug 14, 2023

    @howardjohn
    Member

    Yes but only k8s Gateway. Istio status has been a bit different to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions