Skip to content

Add labels to Metadata #7425

Closed
Closed
@jlewi

Description

I'd like to allow labels to be specified in the metadata of the Skaffold Config. e.g.

apiVersion: skaffold/v2beta28
kind: Config
metadata:
  name: somename
  labels:
    somelabel: some value

The reason for this is we'd like to be able to use selectors to match some config.

I submitted #6782 a while back to add labels to metadata.

Looks like a number of versions have been cut since then but they don't include the changes.

Name string `yaml:"name,omitempty"`

Any pointers about what additional changes are needed to properly support labels?

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions