8000 Update postgresql conf by michaellzc · Pull Request #105 · sourcegraph/deploy-sourcegraph-helm · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@michaellzc
Copy link
Member
@michaellzc michaellzc commented Apr 9, 2022

This PR copied the updated pg-conf from sourcegraph/deploy-sourcegraph-docker#792

Also, we use Files.Get template function to reference the static file to keep configmap template clean. My eyes will hurt less next time I have to update the postgresql.conf :)

Checklist

Test plan

helm template sourcegraph charts/sourcegraph/. > bundle.yaml

all configmaps look good

@michaellzc
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

{{ tpl .Values.codeInsightsDB.additionalConfig . | nindent 4 | trim }}
{{- .Files.Get "files/codeinsights-db/conf/postgresql.conf" | nindent 4 }}
{{- tpl .Values.codeInsightsDB.additionalConfig . | nindent 4 | trim }}
Copy link
Member Author
@michaellzc michaellzc Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-- remove the extra new line above

@michaellzc michaellzc requested a review from a team April 9, 2022 04:07
@michaellzc michaellzc force-pushed the 04-08-Update_postgresql_conf branch from 9ecc08e to 7432e7d Compare April 9, 2022 04:09
Copy link
Contributor
@caugustus-sourcegraph caugustus-sourcegraph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small concern about the info text but functionally looks good

@michaellzc michaellzc force-pushed the 04-08-Update_postgresql_conf branch from a088a42 to e032d7e Compare April 11, 2022 15:34
@michaellzc michaellzc merged commit 9f9c713 into main Apr 11, 2022
@michaellzc michaellzc deleted the 04-08-Update_postgresql_conf branch April 11, 2022 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0