Skip to content

Unify namespacedRef and konnectNamespacedRef #378

@pmalek

Description

@pmalek

Problem statement

Currently, types in this repository have 2 types of references that can be used to reference another object: konnectNamespacedRef and namespacedRef.

The former is used to refer to a Konnect CP from a config object (e.g.

controlPlaneRef:
type: konnectNamespacedRef
konnectNamespacedRef:
name: test1
).

The latter is used to refer to another object e.g. from a KongRoute to a KongService (https://github.com/Kong/gateway-operator/blob/38fcef4ddde9b1d24ff223f94ebada26cb400f9f/config/samples/konnect_kongroute.yaml#L49-L52).

This task tracks the design of a plan and implementation of unification of these reference types (unless a strong reason comes to light, preventing this unification).

Acceptance criteria

  • As a user I can use 1 type of reference to refer to another objects in the cluster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions