From 289afcd2591e3129809cd1b719ef1343f2a4edf6 Mon Sep 17 00:00:00 2001 From: Jose Gomez Date: Thu, 11 Apr 2024 19:50:37 +0200 Subject: [PATCH] Remove terminationGracePeriodSeconds duplicated key (#143) * Remove terminationGracePeriodSeconds duplicated key When using tools like Flux, the parser fails because there is a duplicated JSON key. When using helm it doesn't fails because K8s is more permissive than the parsers. * Increase the chart version to 0.5.2 The chart version needs to be new. Increasing from 0.5.1 to 0.5.2 --- charts/ndb-operator/Chart.yaml | 2 +- .../templates/deployment-ndb-operator-controller-manager.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/ndb-operator/Chart.yaml b/charts/ndb-operator/Chart.yaml index 888bdd9..998f6c8 100644 --- a/charts/ndb-operator/Chart.yaml +++ b/charts/ndb-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: ndb-operator description: A Helm chart for Nutanix Database Kubernetes Operator type: application -version: 0.5.1 +version: 0.5.2 appVersion: v0.5.0 maintainers: - name: mazin-s diff --git a/charts/ndb-operator/templates/deployment-ndb-operator-controller-manager.yaml b/charts/ndb-operator/templates/deployment-ndb-operator-controller-manager.yaml index bbd6e0f..9671718 100644 --- a/charts/ndb-operator/templates/deployment-ndb-operator-controller-manager.yaml +++ b/charts/ndb-operator/templates/deployment-ndb-operator-controller-manager.yaml @@ -96,4 +96,3 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - terminationGracePeriodSeconds: 10