diff --git a/charts/neon-storage-controller/Chart.yaml b/charts/neon-storage-controller/Chart.yaml index 1a1a3c2..12c5519 100644 --- a/charts/neon-storage-controller/Chart.yaml +++ b/charts/neon-storage-controller/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: neon-storage-controller description: Neon storage controller type: application -version: 1.1.1 +version: 1.1.2 appVersion: "0.1.0" kubeVersion: "^1.18.x-x" home: https://neon.tech diff --git a/charts/neon-storage-controller/README.md b/charts/neon-storage-controller/README.md index 970e0ed..c3e6b5d 100644 --- a/charts/neon-storage-controller/README.md +++ b/charts/neon-storage-controller/README.md @@ -1,6 +1,6 @@ # neon-storage-controller -![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml) +![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml) Neon storage controller diff --git a/charts/neon-storage-controller/templates/deployment.yaml b/charts/neon-storage-controller/templates/deployment.yaml index 29e0afa..5aa32bc 100644 --- a/charts/neon-storage-controller/templates/deployment.yaml +++ b/charts/neon-storage-controller/templates/deployment.yaml @@ -59,6 +59,8 @@ spec: - --chaos-interval - {{ .Values.settings.chaosInterval | quote }} {{- end }} + - --address-for-peers + - http://$(POD_IP):{{ .Values.service.port }}/ env: - name: LD_LIBRARY_PATH value: "/usr/local/v16/lib" @@ -66,6 +68,10 @@ spec: value: "INFO" - name: RUST_BACKTRACE value: "1" + - name: POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP {{- if .Values.settings }} {{- with .Values.settings.sentryUrl }} - name: SENTRY_DSN