Skip to content

Deprecate spec.scaleTargetRef.deployment #1061

Closed
@zroubalik

Description

@zroubalik

Proposal

Let's deprecate this field to be able to support more types, not just Deployments. The same way it is done for KEDA.

kind: HTTPScaledObject
...
spec:
...
    scaleTargetRef:
        deployment: xkcd
        service: xkcd
        port: 8080

->

kind: HTTPScaledObject
...
spec:
...
    scaleTargetRef:
        name: xkcd
        kind: Deployment
        apiVersion: apps/v1
        service: xkcd
        port: 8080

Use-Case

No response

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions