-
Notifications
You must be signed in to change notification settings - Fork 989
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(script): add local installation example scripts
- Loading branch information
Showing
3 changed files
with
37 additions
and
11 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
charts/ | ||
node_modules/ | ||
package*.json | ||
package*.json | ||
*.bak |
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,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
## Infisical local k8s development environment setup script | ||
## using 'helm' and assume you already have a cluster and an ingress (nginx) | ||
## | ||
|
||
## | ||
## DEVELOPMENT USE ONLY | ||
## DO NOT USE IN PRODUCTION | ||
## | ||
|
||
# define variables | ||
cluster_name=infisical | ||
host=infisical.local | ||
|
||
# install infisical (local development) | ||
helm dep update | ||
cat <<EOF | helm upgrade --install --atomic \ | ||
-n infisical-dev --create-namespace \ | ||
-f - \ | ||
infisical-dev . | ||
mailhog: | ||
enabled: true | ||
backendEnvironmentVariables: | ||
SITE_URL: https://$host | ||
SMTP_FROM_ADDRESS: dev@$host | ||
SMTP_FROM_NAME: Local Infisical | ||
SMTP_HOST: mailhog | ||
SMTP_PASSWORD: "" | ||
SMTP_PORT: 1025 | ||
SMTP_SECURE: false | ||
SMTP_USERNAME: dev@$host | ||
frontendEnvironmentVariables: | ||
SITE_URL: https://$host | ||
EOF |
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