Skip to content

Commit

Permalink
Add service label and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardsegarra committed Jun 28, 2024
1 parent d894e0e commit 549cec8
Show file tree
Hide file tree
Showing 22 changed files with 210 additions and 66 deletions.
2 changes: 1 addition & 1 deletion charts/allure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: allure
type: application
description: A Helm chart for Allure Report

version: 0.1.2
version: 0.1.3
appVersion: "2.19.0"
kubeVersion: ">= 1.19.0-0"
23 changes: 18 additions & 5 deletions charts/allure/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -41,11 +58,7 @@ helm.sh/chart: {{ include "allure.chart" . }}
app.kubernetes.io/version: {{ .Values.api.image.tag | default .Chart.AppVersion }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/errbot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ maintainers:
- name: David Girón
url: https://github.com/duhow

version: 0.0.4
version: 0.0.5
# renovate: datasource=docker depName=errbotio/errbot
appVersion: 6.1.9

Expand Down
23 changes: 18 additions & 5 deletions charts/errbot/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -40,11 +57,7 @@ helm.sh/chart: {{ include "errbot.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/folding-at-home/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ maintainers:
- name: David Girón
url: https://github.com/duhow

version: 0.0.2
version: 0.0.3
# renovate: datasource=docker depName=linuxserver/foldingathome
appVersion: 7.6.21
23 changes: 18 additions & 5 deletions charts/folding-at-home/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -40,11 +57,7 @@ helm.sh/chart: {{ include "fah.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/fossology/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ maintainers:
- name: David Girón
url: https://github.com/duhow

version: 0.2.1
version: 0.2.2
# renovate: datasource=docker depName=fossology/fossology
appVersion: 4.2.1

Expand Down
23 changes: 18 additions & 5 deletions charts/fossology/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -39,11 +56,7 @@ helm.sh/chart: {{ include "fossology.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{- define "fossology.scheduler.labels" -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/librenms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maintainers:
- name: David Girón
url: https://github.com/duhow

version: 0.3.1
version: 0.3.2
# renovate: datasource=docker depName=librenms/librenms
appVersion: 22.4.1

Expand Down
23 changes: 18 additions & 5 deletions charts/librenms/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -39,11 +56,7 @@ helm.sh/chart: {{ include "librenms.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{- define "librenms.labels" -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/nginx-static/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: nginx-static
description: Deploy nginx with static pages
type: application
version: 0.1.5
version: 0.1.6
# renovate: datasource=docker depName=nginx
appVersion: 1.23.0
24 changes: 19 additions & 5 deletions charts/nginx-static/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -40,12 +57,9 @@ helm.sh/chart: {{ include "nginx-static.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{ include "charts.midokura.labels" . }}
{{- end }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}

{{/*
Selector labels
*/}}
Expand Down
2 changes: 1 addition & 1 deletion charts/salt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ maintainers:
- name: David Girón
url: https://github.com/duhow

version: 0.0.2
version: 0.0.3
# renovate: datasource=docker depName=saltstack/salt
appVersion: "3006.3"
23 changes: 18 additions & 5 deletions charts/salt/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -39,11 +56,7 @@ helm.sh/chart: {{ include "salt.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{- define "salt.labels" -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/sshportal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: sshportal
description: simple, fun and transparent SSH (and telnet) bastion server

type: application
version: 0.1.3
version: 0.1.4
# renovate: datasource=docker depName=moul/sshportal
appVersion: 1.19.3
home: https://github.com/moul/sshportal
Expand Down
23 changes: 18 additions & 5 deletions charts/sshportal/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Midokura labels
*/}}
{{- define "charts.midokura.labels" -}}
{{- if .Values.global }}

{{- if .Values.global.team }}
team: {{ .Values.global.team }}
{{- end }}

{{- if .Values.global.service }}
service: {{ .Values.global.service }}
{{- end }}

{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand All @@ -40,11 +57,7 @@ helm.sh/chart: {{ include "sshportal.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.global -}}
{{- if .Values.global.team }}
team: {{ .Values.global.team | quote }}
{{- end }}
{{- end }}
{{ include "charts.midokura.labels" . }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/static-page/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: static-page
description: Deploy a simple Docker image as static page.
type: application

version: 0.1.1
version: 0.1.2

appVersion: "0.0.0"

Expand Down
Loading

0 comments on commit 549cec8

Please sign in to comment.