arrow_backRetour aux issues
prometheus-community/postgres_exporter
#1372
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Add --datasource.* CLI flags to replace DATA_SOURCE_* env vars
ecoDébutant
help wanted
go
descriptionDescription
Part of #1371.
**Summary**
`GetDataSources()` in `exporter/datasource.go` currently reads the Postgres connection config only from env vars, with no CLI flag path. Add flags that provide the same configuration options, so the env vars have something to deprecate in favor of.
**New flags**
- `--datasource.dsn` (replaces `DATA_SOURCE_NAME`)
- `--datasource.uri` (replaces `DATA_SOURCE_URI`)
- `--datasource.uri-file` (replaces `DATA_SOURCE_URI_FILE`)
- `--datasource.user` (replaces `DATA_SOURCE_USER`)
- `--datasource.user-file` (replaces `DATA_SOURCE_USER_FILE`)
- `--datasource.pass` (replaces `DATA_SOURCE_PASS`)
- `--datasource.pass-file` (replaces `DATA_SOURCE_PASS_FILE`)
Issues similaires
medik8s/fence-agents-remediation
star18
Poids du dépôt moyen
v0.8.0 starts a cluster-scoped Secret informer despite namespace-scoped Secret RBAC
## Description While testing Fence Agents Remediation (FAR) v0.8.0, I observed the manager repeatedly attempting to li…
Go
good first issue
Wayfare-labs/wayfare
star1
Poids du dépôt léger
Check that an issuer's home_domain round-trips to the same stellar.toml
Written to the standard set by #33 — read that issue first for the expected level of detail and the acceptance criteria…
Go
help wanted
area:corridor
Wayfare-labs/wayfare
star1
Poids du dépôt léger
Report auth_immutable: whether an issuer's flags can still change
> **This issue is the reference standard.** Every other check issue links back here for the expected level of detail. I…
Go
help wanted
good first issue