Skip to content

Allow specifying k8s annotations and labels for generated Deployments and other resources #632

Description

@kadel

Which area this feature is related to?
/area api
/area library

Which functionality do you think we should add?

Add a way to define annotations and labels that should be applied to the generated Kubernetes resources.

In some cases annotations or labels can be application's functional requirement. In that case it should be defined in devfile.

Why is this needed? Is your feature request related to a problem?

In some cases it is required to add annotations or labels to the resources.
For example can Istio, requires Deployments to have sidecar.istio.io/inject: "true" annotation.
Labels might be usefull ofr external visualizers, cleaners and other tools.

Related feature request for odo redhat-developer/odo#2623

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

Labels

area/apiEnhancement or issue related to the api/devfile specificationarea/libraryCommon devfile library for interacting with devfilesbreakingidentifies changes that would break clients

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions