mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-17 03:33:08 +00:00
31 lines
891 B
Smarty
31 lines
891 B
Smarty
{{- define "nomos-runner.chart" -}}
|
|
{{- .Chart.Name -}}
|
|
{{- end -}}
|
|
|
|
{{- define "nomos-runner.name" -}}
|
|
{{- include "nomos-runner.chart" . -}}
|
|
{{- end -}}
|
|
|
|
{{- define "nomos-runner.fullname" -}}
|
|
{{- printf "%s" .Release.Name | trunc 63 | trimSuffix "-" -}}
|
|
{{- end -}}
|
|
|
|
{{- define "nomos-runner.labels" -}}
|
|
app.kubernetes.io/name: {{ include "nomos-runner.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
{{- end -}}
|
|
|
|
{{- define "nomos-runner.selectorLabels" -}}
|
|
app.kubernetes.io/name: {{ include "nomos-runner.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
{{- end -}}
|
|
|
|
{{- define "nomos-runner.nodeLabels" -}}
|
|
{{- $root := index . "root" -}}
|
|
{{- $index := index . "index" -}}
|
|
app.kubernetes.io/name: {{ include "nomos-runner.chart" $root }}
|
|
app.kubernetes.io/instance: {{ $root.Release.Name }}
|
|
nomos/logical-role: node
|
|
nomos/node-index: "{{ $index }}"
|
|
{{- end -}}
|