Fix field validation error
The metacontroller chart currently has the field terminationGracePeriodSeconds in an invalid spot in the template which causes a chart building error when using helm v3. This change moves the field to the correct position in the template. Change-Id: Ief454115f67af35f8dfb570d8315de82d97b536d
This commit is contained in:
parent
728c340dc0
commit
f01f35a524
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v0.4.2
|
||||
description: A Helm chart for Metacontroller
|
||||
name: metacontroller
|
||||
version: 0.1.4
|
||||
version: 0.1.5
|
||||
home: https://metacontroller.app/
|
||||
keywords:
|
||||
- CRDs
|
||||
|
@ -65,7 +65,6 @@ spec:
|
||||
serviceName: {{ tuple "metacontroller" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
podManagementPolicy: "Parallel"
|
||||
replicas: {{ .Values.pod.replicas.metacontroller }}
|
||||
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.server.timeout | default "30" }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@ -75,6 +74,7 @@ spec:
|
||||
spec:
|
||||
{{ dict "envAll" . "application" "metacontroller" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.server.timeout | default "30" }}
|
||||
nodeSelector:
|
||||
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value | quote }}
|
||||
containers:
|
||||
|
@ -5,4 +5,5 @@ metacontroller:
|
||||
- 0.1.2 Fix disappearing metacontroller CRDs on upgrade
|
||||
- 0.1.3 Use full image ref for docker official images
|
||||
- 0.1.4 Update htk requirements
|
||||
- 0.1.5 Fix field validation error
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user