bcgov / bcgov/crunchy-postgres

Allow creation of multiple postgres users

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go Template
Stars
6
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently this list is hardcoded to create a `postgres` and `crunchy-postgres` (or whatever the project name is). We should enable the creation of more users with a list variable.

Example of the variable in `values.yaml` and it being used in a chart:
[values](https://github.com/bcgov/cas-cif/blob/develop/chart/cas-cif/values-test.yaml#L8)
[template that uses the values list](https://github.com/bcgov/cas-cif/blob/develop/chart/cas-cif/templates/db-post-upgrade-job.yaml#L22)

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the linked values example in values-test.yaml with the chart usage in templates/db-post-upgrade-job.yaml, then locate the corresponding hardcoded user list in this repository. The work is done when the chart accepts a list variable for additional users and uses it to create all configured users.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, postgres
Domain
database, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.