From 7c30c01747ccd7f12b641a29404ecb98ea1e164c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Werner?= Date: Wed, 21 May 2025 14:49:41 +0200 Subject: [PATCH] fix: generate manifest in conformance with the deployment spec --- charts/graph-node/Chart.yaml | 2 +- charts/graph-node/README.md | 2 +- charts/graph-node/templates/graph-node/all.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/graph-node/Chart.yaml b/charts/graph-node/Chart.yaml index 9a12950e..b74b299e 100644 --- a/charts/graph-node/Chart.yaml +++ b/charts/graph-node/Chart.yaml @@ -22,4 +22,4 @@ version: 0.5.9 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. # renovate: image=graphprotocol/graph-node -appVersion: "v0.38.0" +appVersion: "v0.39.0" diff --git a/charts/graph-node/README.md b/charts/graph-node/README.md index a43bc079..5ac05cab 100644 --- a/charts/graph-node/README.md +++ b/charts/graph-node/README.md @@ -2,7 +2,7 @@ Deploy and scale [Graph Node](https://github.com/graphprotocol/graph-node) inside Kubernetes with ease -[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.5.9](https://img.shields.io/badge/Version-0.5.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.38.0](https://img.shields.io/badge/AppVersion-v0.38.0-informational?style=flat-square) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.5.9](https://img.shields.io/badge/Version-0.5.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.39.0](https://img.shields.io/badge/AppVersion-v0.39.0-informational?style=flat-square) ## Introduction diff --git a/charts/graph-node/templates/graph-node/all.yaml b/charts/graph-node/templates/graph-node/all.yaml index a892cd96..c29963df 100644 --- a/charts/graph-node/templates/graph-node/all.yaml +++ b/charts/graph-node/templates/graph-node/all.yaml @@ -61,17 +61,17 @@ metadata: {{- include "graph-node.labels" . | nindent 4 }} {{- $componentLabel | nindent 4 }} spec: - serviceName: {{ include "graph-node.fullname" . }}-{{ $groupName }}-headless replicas: {{ $values.replicaCount | default 1 }} {{- if (eq $values.kind "StatefulSet") }} + serviceName: {{ include "graph-node.fullname" . }}-{{ $groupName }}-headless podManagementPolicy: Parallel # https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#parallel-pod-management - {{- end }} updateStrategy: type: RollingUpdate # https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies # Requires k8s 1.24+ # rollingUpdate: # maxUnavailable: 25% # This ensures that despite the Parallel podManagementStrategy, updates don't cause service downtime # partition: 0 + {{- end }} selector: matchLabels: {{- include "graph-node.selectorLabels" . | nindent 6 }}