Skip to content

Commit

Permalink
fix: removed postgre DB username var that wasn't in use
Browse files Browse the repository at this point in the history
The credentials are provided via a secret named in the values file instead
  • Loading branch information
JoeHCQ1 committed Sep 17, 2024
1 parent 44ac481 commit 06e0360
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Jira is configured by default to assume the internal dependencies that are used
#### Database

- A Postgres database is running on port `5432` and accessible to the cluster via the `JIRA_DB_ENDPOINT` Zarf var.
- This database can be logged into via the username configured with the Zarf var `JIRA_DB_USERNAME`. Default is `jira.jira`
- This database can be logged into via the username & password given in the postgre connection secret (see `values/common-values.yaml`).
- This database instance has a psql database created matching what is defined in the Zarf var `JIRA_DB_NAME`. Default is `jiradb`
- The user has read/write access to the above mentioned database
- Create `jira-postgres` service in `jira` namespace that points to the psql database
Expand Down
3 changes: 0 additions & 3 deletions bundle/uds-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
shared:
JIRA_DB_USERNAME: "jira.jira"

variables:
jira:
jira_db_endpoint: "pg-cluster.postgres.svc.cluster.local"
Expand Down
2 changes: 0 additions & 2 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ metadata:
variables:
- name: JIRA_DB_NAME
default: "jiradb"
- name: JIRA_DB_USERNAME
default: "jira"
- name: JIRA_DB_ENDPOINT
default: "postgres"
- name: DOMAIN
Expand Down

0 comments on commit 06e0360

Please sign in to comment.