Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be interesting to be able to introduce additional metadata labels in the deployments and statefulsets #250

Open
gustavoborragan opened this issue Jul 12, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@gustavoborragan
Copy link

gustavoborragan commented Jul 12, 2024

It would be interesting to be able to introduce additional metadata labels in the deployments and statefulsets.

Current deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    ...
  labels:
    app.kubernetes.io/instance: haproxy
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: haproxy
    app.kubernetes.io/version: 2.8.1
    helm.sh/chart: haproxy-1.19.2

With deploymentLabels key into values:

deploymentLabels:
  foo: bar
  bar: foo

Desired deployments:

apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    ...
  labels:
    app.kubernetes.io/instance: haproxy
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: haproxy
    app.kubernetes.io/version: 2.8.1
    bar: foo
    foo: bar
    helm.sh/chart: haproxy-1.19.2
@gustavoborragan gustavoborragan changed the title It would be interesting to be able to introduce additional metadata labels in the deployments, statefulsets and daemonsets It would be interesting to be able to introduce additional metadata labels in the deployments and statefulsets Jul 12, 2024
@dkorunic
Copy link
Member

Hi @gustavoborragan , any specific use-case that you had in mind for this?

@dkorunic dkorunic self-assigned this Jul 12, 2024
@dkorunic dkorunic added the enhancement New feature or request label Jul 12, 2024
@gustavoborragan
Copy link
Author

Hi @dkorunic, yes, for example, adding metadata for observation applications.

@gustavoborragan
Copy link
Author

Hello dear ones. Any news on this? Thanks!!!

@dkorunic
Copy link
Member

dkorunic commented Sep 2, 2024

Hi @gustavoborragan, no progress on this yet, but it's in the pipeline to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants