mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-04 20:51:35 -03:00
formatting and typos
This commit is contained in:
@@ -22,7 +22,7 @@ apiVersion: scheduling.k8s.io/v1
|
||||
kind: PriorityClass
|
||||
metadata:
|
||||
name: {{ $objectData.name }}
|
||||
namespace: {{ include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "priorityclass") }}
|
||||
namespace: {{ include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "Priority Class") }}
|
||||
{{- $labels := (mustMerge ($objectData.labels | default dict) (include "tc.v1.common.lib.metadata.allLabels" $rootCtx | fromYaml)) -}}
|
||||
{{- with (include "tc.v1.common.lib.metadata.render" (dict "rootCtx" $rootCtx "labels" $labels) | trim) }}
|
||||
labels:
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- if $result -}}
|
||||
{{- $result -}}
|
||||
{{- $result -}}
|
||||
{{- else -}}
|
||||
{{- fail "No primary and enabled service found" -}}
|
||||
{{- fail "No primary and enabled service found" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{/* priorityclass Spawwner */}}
|
||||
{{/* Priority Class Spawner */}}
|
||||
{{/* Call this template:
|
||||
{{ include "tc.v1.common.spawner.priorityclass" $ -}}
|
||||
*/}}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
{{- include "tc.v1.common.lib.metadata.validation" (dict "objectData" $objectData "caller" "Service") -}}
|
||||
{{- include "tc.v1.common.lib.service.validation" (dict "rootCtx" $ "objectData" $objectData) -}}
|
||||
|
||||
{{/* Set the name of the service account */}}
|
||||
{{/* Set the name of the service */}}
|
||||
{{- $_ := set $objectData "name" $objectName -}}
|
||||
{{- $_ := set $objectData "shortName" $name -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user