UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 318d0eaa authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch...

Merge branch '9-add-lifecycle-poststart-support-to-auto-populate-index-patterns-into-kibana' into 'main'

Resolve "Add lifecycle postStart Support to Auto Populate Index Patterns into Kibana"

Closes #9

See merge request platform-one/big-bang/apps/core/elasticsearch-kibana!29
parents 870a1801 c30b3e65
No related branches found
No related tags found
1 merge request!29Resolve "Add lifecycle postStart Support to Auto Populate Index Patterns into Kibana"
Pipeline #226195 passed
......@@ -3,6 +3,9 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [0.1.8-bb.0] - 2021-04-19
### Added
- Adding Lifecycle declaration support for Kibana and Elasticsearch resources
## [0.1.7-bb.0] - 2021-04-07
### Added
......
apiVersion: v2
name: logging
version: 0.1.7-bb.0
version: 0.1.8-bb.0
appVersion: 7.9.2
......@@ -99,6 +99,8 @@ spec:
value: "-Xms{{ .heap.min }} -Xmx{{ .heap.max }}"
resources:
{{- toYaml .resources | nindent 14 }}
lifecycle:
{{- toYaml .lifecycle | nindent 14 }}
{{- with $.Values.elasticsearch.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 10 }}
......@@ -196,6 +198,8 @@ spec:
value: "-Xms{{ .heap.min }} -Xmx{{ .heap.max }}"
resources:
{{- toYaml .resources | nindent 14 }}
lifecycle:
{{- toYaml .lifecycle | nindent 14 }}
{{- with $.Values.elasticsearch.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 10 }}
......
......@@ -47,6 +47,8 @@ spec:
- name: kibana
resources:
{{- toYaml .Values.kibana.resources | nindent 12 }}
lifecycle:
{{- toYaml .Values.kibana.lifecycle | nindent 12 }}
{{- with .Values.kibana.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
......
......@@ -42,6 +42,13 @@ kibana:
nodeSelector: {}
# node-type: kibana
lifecycle: {}
# preStop:
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
# postStart:
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
elasticsearch:
version: 7.9.2
......@@ -86,6 +93,10 @@ elasticsearch:
nodeSelector: {}
# node-type: elastic-master
lifecycle: {}
# preStop:
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
count: 3
persistence:
......@@ -139,6 +150,10 @@ elasticsearch:
nodeSelector: {}
# node-type: elastic-data
lifecycle: {}
# preStop:
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
count: 4
persistence:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment