forked from compdemocracy/polis
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate secret env variables to k8s Secret object
- Loading branch information
1 parent
ab458a8
commit dd0aa25
Showing
4 changed files
with
74 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: polis-secret | ||
type: Opaque | ||
data: | ||
POSTGRES_USER: cG9zdGdyZXM= | ||
POSTGRES_DB: cG9saXMtZGV2 | ||
POSTGRES_PORT: NTQzMg== | ||
POSTGRES_HOST: cG9zdGdyZXM6NTQzMg== | ||
POSTGRES_PASSWORD: b2lQb3JnM05yejB5cURMRQ== | ||
STRIPE_SECRET_KEY: c2tfdGVzdF9ORkJERVRoa3BIQ1lCelhQSnVCbFk4VFc= | ||
|
||
# Note(geoah): This seems to be needed until the following TODO is resolved: | ||
# https://github.com/compdemocracy/polis/blob/9a294140bbfc50d5bbb50ce4e474f4ad72541881/server/src/session.ts#L8-L10 | ||
ENCRYPTION_PASSWORD_00001: UExFQVNFX0NIQU5HRV9NRQ== | ||
|
||
# These may be the deprecated settings for submitting web requests to the math worker | ||
WEBSERVER_USERNAME: d3MtdXNlcg== | ||
WEBSERVER_PASS: d3MtcGFzcw== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters