[stable/graylog] New graylog prestop hook (#18268)

* change graylog pre-stop hook

Signed-off-by: KongZ <goonohc@gmail.com>

* update sample value to latest plugin version

Signed-off-by: KongZ <goonohc@gmail.com>
This commit is contained in:
Siri
2019-10-24 03:55:27 -07:00
committed by Kubernetes Prow Robot
parent 7c8a2cefba
commit 3738f35bea
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: graylog
home: https://www.graylog.org
version: 1.3.8
version: 1.3.9
appVersion: 3.1.2-1
description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data.
keywords:
+1 -1
View File
@@ -171,7 +171,7 @@ spec:
- -ec
- |
ROOT_PASSWORD=`/k8s/kubectl get secret {{ template "graylog.fullname" . }} -o "jsonpath={.data['graylog-password-secret']}" | base64 -d`
curl -XPOST -sS -u "{{ .Values.graylog.rootUsername }}:${ROOT_PASSWORD}" "localhost:9000/api/system/shutdown/shutdown"
curl -XPOST -sS -u "{{ .Values.graylog.rootUsername }}:${ROOT_PASSWORD}" -H "X-Requested-By: {{ template "graylog.fullname" . }}" "localhost:9000/api/system/shutdown/shutdown"
terminationGracePeriodSeconds: {{ default 30 .Values.graylog.terminationGracePeriodSeconds }}
volumes:
- name: config
+2 -4
View File
@@ -90,12 +90,10 @@ graylog:
## Additional plugins you need to install on Graylog.
##
plugins: []
# - name: graylog-plugin-slack-2.7.1.jar
# url: https://github.com/omise/graylog-plugin-slack/releases/download/2.7.1/graylog-plugin-slack-2.7.1.jar
# - name: graylog-plugin-slack-notification-3.1.0.jar
# url: https://github.com/omise/graylog-plugin-slack-notification/releases/download/v3.1.0/graylog-plugin-slack-notification-3.1.0.jar
# - name: graylog-plugin-function-check-diff-1.0.0.jar
# url: https://github.com/omise/graylog-plugin-function-check-diff/releases/download/1.0.0/graylog-plugin-function-check-diff-1.0.0.jar
# - name: graylog-plugin-custom-alert-condition-1.0.0.jar
# url: https://github.com/omise/graylog-plugin-custom-alert-condition/releases/download/v1.0.0/graylog-plugin-custom-alert-condition-1.0.0.jar
# - name: graylog-plugin-auth-sso-3.0.0.jar
# url: https://github.com/Graylog2/graylog-plugin-auth-sso/releases/download/3.0.0/graylog-plugin-auth-sso-3.0.0.jar