Skip to content

Commit

Permalink
Merge pull request #32 from ndustrialio/backstage
Browse files Browse the repository at this point in the history
feat: add backstage label
  • Loading branch information
kalinon authored Sep 30, 2021
2 parents 851ab3e + e982797 commit 5490d77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ndustrial/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ sources:
- https://ndustrial.io/
type: library
# Please make sure that version and appVersion are always the same.
version: 0.2.3
appVersion: 0.2.3
version: 0.2.4
appVersion: 0.2.4
6 changes: 5 additions & 1 deletion ndustrial/common/templates/_labels.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ app.kubernetes.io/name: {{ include "nio-common.names.name" . }}
helm.sh/chart: {{ include "nio-common.names.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
# Ndustrial labels
*/}}
ndustrial.io/app: {{ .Values.ndustrial.name }}
backstage.io/kubernetes-id: {{ .Values.ndustrial.name }}
ndustrial.io/organization.slug: {{ .Values.ndustrial.organization }}
ndustrial.io/owner: {{ .Values.ndustrial.owner }}
ndustrial.io/project.slug: {{ .Values.ndustrial.project }}
Expand All @@ -23,8 +26,9 @@ ndustrial.io/env: {{ .Values.ndustrial.env }}
{{- if .Values.ndustrial.repo }}
ndustrial.io/repo: {{ .Values.ndustrial.repo }}
{{- end }}

{{/*
# Datadog labels
*/}}
tags.datadoghq.com/env: {{ .Values.ndustrial.env }}
tags.datadoghq.com/version: {{ .Values.ndustrial.version }}
tags.datadoghq.com/service: {{ .Values.ndustrial.name }}
Expand Down

0 comments on commit 5490d77

Please sign in to comment.