Skip to content

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

Closed
devfile/library
#123
@kadel

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

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