Skip to content

Commit

Permalink
storage controller: update binary name (#70)
Browse files Browse the repository at this point in the history
* storage controller: update readiness hook, add RUST_BACKTRACE & RUST_LOG

* storage controller: update binary name

* Bump version
  • Loading branch information
jcsp authored Mar 7, 2024
1 parent 2e483a3 commit 0bf5af2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/neon-storage-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-storage-controller
description: Neon storage controller
type: application
version: 1.0.3
version: 1.0.4
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
2 changes: 1 addition & 1 deletion charts/neon-storage-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-storage-controller

![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-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.0.4](https://img.shields.io/badge/Version-1.0.4-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

Expand Down
12 changes: 9 additions & 3 deletions charts/neon-storage-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- attachment_service
- storage_controller
- -l
# In the container, use the same port as service.
- 0.0.0.0:{{ .Values.service.port }}
Expand All @@ -55,6 +55,10 @@ spec:
env:
- name: LD_LIBRARY_PATH
value: /usr/local/v16/lib
- name: RUST_LOG
value: INFO
- name: RUST_BACKTRACE
value: 1
{{- if .Values.settings }}
{{- with .Values.settings.sentryUrl }}
- name: SENTRY_DSN
Expand Down Expand Up @@ -90,8 +94,10 @@ spec:
httpGet:
path: /ready
port: controller
periodSeconds: 15
timeoutSeconds: 10
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
failureThreshold: 24
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 0bf5af2

Please sign in to comment.