
Use debian method to apply local patches instead of patching in rules. Add "dl_path" and "src_files" in meta_data.yaml to download tarball and copy local files. No need dl_hook Test Plan: Pass: successfully build monitor-helm-elastic. Pass: No difference comparing with the result of dl_hook Story: 2009101 Task: 43838 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: I068f3ae0cbf9e0661abc12adcec005be145f2462
26 lines
959 B
Diff
26 lines
959 B
Diff
From 9d463c65aa5c5f7c6c6d75ba57da5e7b5c20fd3a Mon Sep 17 00:00:00 2001
|
|
From: Simon Cousineau <Simon.Cousineau@windriver.com>
|
|
Date: Thu, 16 Apr 2020 13:03:46 -0400
|
|
Subject: [PATCH 1/1] Fix esConfig checksum annotation
|
|
|
|
---
|
|
elasticsearch/templates/statefulset.yaml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/elasticsearch/templates/statefulset.yaml b/elasticsearch/templates/statefulset.yaml
|
|
index 16f9204..b4f6a98 100644
|
|
--- a/elasticsearch/templates/statefulset.yaml
|
|
+++ b/elasticsearch/templates/statefulset.yaml
|
|
@@ -50,7 +50,7 @@ spec:
|
|
{{- end }}
|
|
{{/* This forces a restart if the configmap has changed */}}
|
|
{{- if .Values.esConfig }}
|
|
- configchecksum: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum | trunc 63 }}
|
|
+ configchecksum: {{ toYaml .Values.esConfig | sha256sum | trunc 63 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.schedulerName }}
|
|
--
|
|
2.20.1
|
|
|