Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Ability to add/modify labels on a service #76

Open

Description

Hi,

I'd like to add labels to my kubernetes service, but I don't see this available in kx.Deployment.createService

I tried to work around it with the code below but it had no effect:

service.metadata.labels = {
            ...this.service.metadata.labels,
            "app": this.name
        } as any;

Any suggestions? Lots of other features require specific labels to be set on the service, for scoping purposes.

Thanks in advance!

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions