chore: track .envrc, gitignore .envrc.local for secrets
.envrc contains shared direnv/Nix setup (no secrets). Local overrides and secrets belong in .envrc.local, which is now gitignored.
This commit is contained in:
parent
bff35368b0
commit
24eaccd7a8
2 changed files with 9 additions and 1 deletions
7
.envrc
Normal file
7
.envrc
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
|
use flake . --impure
|
||||||
|
|
||||||
|
dotenv_if_exists .env.local
|
||||||
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -60,7 +60,8 @@ npm-debug.log
|
||||||
/priv/plts/
|
/priv/plts/
|
||||||
|
|
||||||
# Environment variables (used by direnv and Kustomize secretGenerator)
|
# Environment variables (used by direnv and Kustomize secretGenerator)
|
||||||
.envrc
|
# .envrc is tracked — put local secrets in .envrc.local
|
||||||
|
.envrc.local
|
||||||
k8s/.envrc
|
k8s/.envrc
|
||||||
|
|
||||||
/towerops-agent/
|
/towerops-agent/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue