From a6857edf273256b33ce8ce0119be96e943463d1e Mon Sep 17 00:00:00 2001 From: mugioka Date: Sat, 5 Mar 2022 03:14:15 +0900 Subject: [PATCH] feat(panope): set terminationGracePeriodSeconds to 600 for graceful shutdown in deployment for agent. --- charts/panope/Chart.yaml | 2 +- charts/panope/templates/agent/deployment.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/panope/Chart.yaml b/charts/panope/Chart.yaml index 56989c3..102e426 100644 --- a/charts/panope/Chart.yaml +++ b/charts/panope/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.3.0 +version: 0.3.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/panope/templates/agent/deployment.yaml b/charts/panope/templates/agent/deployment.yaml index c1779a8..3d58de8 100644 --- a/charts/panope/templates/agent/deployment.yaml +++ b/charts/panope/templates/agent/deployment.yaml @@ -29,6 +29,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + terminationGracePeriodSeconds: 600 # for graceful shutdown volumes: - secret: secretName: {{ include "panope.agent.fullname" . }}