mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 22:51:53 +00:00
fix: requested changes
This commit is contained in:
@@ -1126,8 +1126,7 @@ export const INTEGRATION = {
|
||||
shouldAutoRedeploy: "Used by Render to trigger auto deploy.",
|
||||
secretGCPLabel: "The label for GCP secrets.",
|
||||
secretAWSTag: "The tags for AWS secrets.",
|
||||
azureUseLabels:
|
||||
"If enabled, each secret will be given a label that represents which Infisical environment they belong to.",
|
||||
azureLabel: "Define which label to assign to secrets created in Azure App Configuration.",
|
||||
githubVisibility:
|
||||
"Define where the secrets from the Github Integration should be visible. Option 'selected' lets you directly define which repositories to sync secrets to.",
|
||||
githubVisibilityRepoIds:
|
||||
|
||||
@@ -422,9 +422,9 @@ const syncSecretsAzureAppConfig = async ({
|
||||
})
|
||||
},
|
||||
{
|
||||
...(metadata.azureUseLabels && {
|
||||
...(metadata.azureLabel && {
|
||||
params: {
|
||||
label: integration.environment.slug
|
||||
label: metadata.azureLabel
|
||||
}
|
||||
}),
|
||||
|
||||
@@ -447,9 +447,9 @@ const syncSecretsAzureAppConfig = async ({
|
||||
headers: {
|
||||
Authorization: `Bearer ${accessToken}`
|
||||
},
|
||||
...(metadata.azureUseLabels && {
|
||||
...(metadata.azureLabel && {
|
||||
params: {
|
||||
label: integration.environment.slug
|
||||
label: metadata.azureLabel
|
||||
}
|
||||
}),
|
||||
// we force IPV4 because docker setup fails with ipv6
|
||||
|
||||
@@ -35,7 +35,7 @@ export const IntegrationMetadataSchema = z.object({
|
||||
.optional()
|
||||
.describe(INTEGRATION.CREATE.metadata.secretAWSTag),
|
||||
|
||||
azureUseLabels: z.boolean().optional().describe(INTEGRATION.CREATE.metadata.azureUseLabels),
|
||||
azureLabel: z.string().optional().describe(INTEGRATION.CREATE.metadata.azureLabel),
|
||||
|
||||
githubVisibility: z
|
||||
.union([z.literal("selected"), z.literal("private"), z.literal("all")])
|
||||
|
||||
Reference in New Issue
Block a user