Finish optimizing qovery integration, add docs for it
|
Before Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 336 KiB |
BIN
docs/images/integrations/qovery/integrations-qovery-auth.png
Normal file
|
After Width: | Height: | Size: 464 KiB |
BIN
docs/images/integrations/qovery/integrations-qovery-create-1.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
docs/images/integrations/qovery/integrations-qovery-create-2.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
docs/images/integrations/qovery/integrations-qovery-token.png
Normal file
|
After Width: | Height: | Size: 971 KiB |
BIN
docs/images/integrations/qovery/integrations-qovery.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
@@ -15,11 +15,11 @@ Prerequisites:
|
|||||||
|
|
||||||
Obtain a Qovery API Token in Settings > API Token.
|
Obtain a Qovery API Token in Settings > API Token.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Press on the Qovery tile and input your Qovery API TOken to grant Infisical access to your Qovery account.
|
Press on the Qovery tile and input your Qovery API Token to grant Infisical access to your Qovery account.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
If this is your project's first cloud integration, then you'll have to grant
|
If this is your project's first cloud integration, then you'll have to grant
|
||||||
@@ -32,8 +32,12 @@ Press on the Qovery tile and input your Qovery API TOken to grant Infisical acce
|
|||||||
|
|
||||||
Select which Infisical environment secrets you want to sync to Qovery and press create integration to start syncing secrets.
|
Select which Infisical environment secrets you want to sync to Qovery and press create integration to start syncing secrets.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Select your Qovery organization, project, and environment to which you want to sync secrets to. Next to that, select which scope you want secrets to (Application, Job, or Container). After you are done, hit "Create Integration."
|

|
||||||
|
|
||||||

|
<Note>
|
||||||
|
Infisical supports syncing secrets to various Qovery scopes including applications, jobs, or containers.
|
||||||
|
</Note>
|
||||||
|
|
||||||
|

|
||||||
@@ -164,6 +164,8 @@ const fetchIntegrationAuthQoveryProjects = async ({
|
|||||||
integrationAuthId: string;
|
integrationAuthId: string;
|
||||||
orgId: string;
|
orgId: string;
|
||||||
}) => {
|
}) => {
|
||||||
|
if (orgId === "none") return [];
|
||||||
|
|
||||||
const {
|
const {
|
||||||
data: { projects }
|
data: { projects }
|
||||||
} = await apiRequest.get<{ projects: Project[] }>(
|
} = await apiRequest.get<{ projects: Project[] }>(
|
||||||
@@ -185,6 +187,8 @@ const fetchIntegrationAuthQoveryEnvironments = async ({
|
|||||||
integrationAuthId: string;
|
integrationAuthId: string;
|
||||||
projectId: string;
|
projectId: string;
|
||||||
}) => {
|
}) => {
|
||||||
|
if (projectId === "none") return [];
|
||||||
|
|
||||||
const {
|
const {
|
||||||
data: { environments }
|
data: { environments }
|
||||||
} = await apiRequest.get<{ environments: Environment[] }>(
|
} = await apiRequest.get<{ environments: Environment[] }>(
|
||||||
@@ -208,6 +212,8 @@ const fetchIntegrationAuthQoveryScopes = async ({
|
|||||||
environmentId: string;
|
environmentId: string;
|
||||||
scope: "job" | "application" | "container";
|
scope: "job" | "application" | "container";
|
||||||
}) => {
|
}) => {
|
||||||
|
if (environmentId === "none") return [];
|
||||||
|
|
||||||
if (scope === "application") {
|
if (scope === "application") {
|
||||||
const {
|
const {
|
||||||
data: { apps }
|
data: { apps }
|
||||||
|
|||||||