Skip to content

Afaras72 add app.kubernetes.io/name and app.kubernetes.io/version labels for kiali

What does this MR do?

Interpolates Standard labels for deployment, pods, statefulsets and Daemonsets

Why was this MR needed?

The labels in questions are required for Kiali functionality

Examples:

metadata:
  labels:
    app.kubernetes.io/name: "{{ .Chart.Name }}"
    app.kubernetes.io/version: "{{ .Chart.Version }}"       

What's the best way to test this MR?

If you run the following command kubectl get deploy,sts,ds,pod -L app.kuberentes.io/name,app.kuberentes.io/version --namespace <PACKGE_NAMESPACE> the application name and application version should show as part of the output

Related issues

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated, and test plan for scenarios not covered by automated tests.
  • Equivalent MR/issue for omnibus-gitlab opened.

Reviewers checklist

Edited by Clemens Beck

Merge request reports

Loading