-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-error-notifs
- Loading branch information
Showing
48 changed files
with
687 additions
and
389 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,22 @@ | ||
name: Release Helm Charts | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.10.0 | ||
- name: Install python | ||
uses: actions/setup-python@v4 | ||
- name: Install Cloudsmith CLI | ||
run: pip install --upgrade cloudsmith-cli | ||
- name: Build and push helm package to Cloudsmith | ||
run: cd helm-charts && sh upload-to-cloudsmith.sh | ||
env: | ||
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} |
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,4 +1,4 @@ | ||
name: goreleaser | ||
name: Go releaser | ||
|
||
on: | ||
push: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: "Frequently Asked Questions" | ||
description: "Have any questions? [Join our Slack community](https://join.slack.com/t/infisical-users/shared_invite/zt-1kdbk07ro-RtoyEt_9E~fyzGo_xQYP6g)." | ||
--- | ||
|
||
## Problem with SMTP | ||
|
||
You can normally populate `SMTP_USERNAME` and `SMTP_PASSWORD` with your usual login and password (you could also create a 'burner' email). Sometimes, there still are problems. | ||
|
||
You can go to your Gmail account settings > security and enable “less secure apps”. This would allow Infisical to use your Gmail to send emails. | ||
|
||
If it still doesn't work, [this](https://stackoverflow.com/questions/72547853/unable-to-send-email-in-c-sharp-less-secure-app-access-not-longer-available/72553362#72553362) should help. | ||
|
||
## `MONGO_URL` issues | ||
|
||
Your `MONGO_URL` should be something like `mongodb://root:example@mongo:27017/?authSource=admin`. If you want to change it (not recommended), you should make sure that you keep this URL in line with `MONGO_USERNAME=root` and `MONGO_PASSWORD=example`. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "Kubernetes" | ||
description: "Deploy with Kubernetes" | ||
--- | ||
|
||
<Info> | ||
Self-host vs. Infisical Cloud | ||
|
||
Self-hosting Infisical means managing the service yourself, taking care of upgrades, scaling, security, etc. | ||
|
||
If you're less technical and looking for a hands-free experience with minimal overhead then we recommend Infisical Cloud. | ||
|
||
</Info> | ||
|
||
**Prerequisites** | ||
- You have understanding of [Kubernetes](https://kubernetes.io/) | ||
- You have understanding of [Helm package manager](https://helm.sh/) | ||
- You have [kubectl](https://kubernetes.io/docs/reference/kubectl/kubectl/) installed and connected to your kubernetes cluster | ||
|
||
|
||
#### 1. Fill our environment variables | ||
|
||
Before you can deploy the Helm chart, you must fill out the required environment variables. To do so, please either download or copy the | ||
contents of [this file](https://raw.githubusercontent.com/Infisical/infisical/main/helm-charts/infisical/values.yaml) to a `.yaml` file. | ||
_Refer to the available [environment variables](../../self-hosting/configuration/envars)_ | ||
|
||
Once you have a local copy of the values file, fill our the required environment variables and save the file. | ||
|
||
|
||
#### 2. Install Infisical Helm repository | ||
|
||
```bash | ||
helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/' | ||
|
||
helm repo update | ||
``` | ||
|
||
#### 3. Install the Helm chart | ||
|
||
By default, the helm chart will be installed on your default namespace. If you wish to install the Chart on a different namespace, you may specify | ||
that by adding the `--namespace <namespace-to-install-to>` to your `helm install` command. | ||
|
||
```bash | ||
## Installs to default namespace | ||
helm install infisical-helm-charts/infisical --values <path to the values.yaml you downloaded/created in step 2> | ||
``` | ||
|
||
<Note> | ||
If you have not filled out all of the required environment variables, you will see an error message prompting you to | ||
do so. | ||
</Note> | ||
|
||
4. Your Infisical installation is complete and should be running on the host name you specified in Ingress in `values.yaml`. | ||
Note: Please allow an additional time (2 minutes) for the frontend pods to be fully ready. |
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
Oops, something went wrong.