Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/sourcegraph/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Use `**BREAKING**:` to denote a breaking change

## Unreleased

- Port names for all the DBs are renamed to `postgres` to create consistency across the deployments [#275](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/275)

## 5.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ metadata:
name: codeinsights-db
spec:
ports:
- name: codeinsights-db
- name: postgres
port: 5432
targetPort: codeinsights-db
targetPort: postgres
selector:
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
app: codeinsights-db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
terminationMessagePolicy: FallbackToLogsOnError
ports:
- containerPort: 5432
name: codeinsights-db
name: postgres
{{- if not .Values.sourcegraph.localDevMode }}
resources:
{{- toYaml .Values.codeInsightsDB.resources | nindent 10 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ metadata:
name: codeintel-db
spec:
ports:
- name: pgsql
- name: postgres
port: 5432
targetPort: pgsql
targetPort: postgres
selector:
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
app: codeintel-db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
periodSeconds: 10
ports:
- containerPort: 5432
name: pgsql
name: postgres
{{- if not .Values.sourcegraph.localDevMode }}
resources:
{{- toYaml .Values.codeIntelDB.resources | nindent 10 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/sourcegraph/templates/pgsql/pgsql.Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ metadata:
name: pgsql
spec:
ports:
- name: pgsql
- name: postgres
port: 5432
targetPort: pgsql
targetPort: postgres
selector:
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
app: pgsql
Expand Down
2 changes: 1 addition & 1 deletion charts/sourcegraph/templates/pgsql/pgsql.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
{{- end }}
ports:
- containerPort: 5432
name: pgsql
name: postgres
{{- if not .Values.sourcegraph.localDevMode }}
resources:
{{- toYaml .Values.pgsql.resources | nindent 10 }}
Expand Down