mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 13:28:27 +00:00
feat(secret-sync): improve update logic and add warning on docs for gitlab limitation on hidden variables
This commit is contained in:
@@ -339,8 +339,8 @@ export const GitLabSyncFns = {
|
|||||||
variable: {
|
variable: {
|
||||||
value,
|
value,
|
||||||
environment_scope: targetEnvironment,
|
environment_scope: targetEnvironment,
|
||||||
protected: destinationConfig.shouldProtectSecrets ?? existingVariable.protected,
|
protected: destinationConfig.shouldProtectSecrets,
|
||||||
masked: existingVariable.masked || destinationConfig.shouldMaskSecrets
|
masked: destinationConfig.shouldMaskSecrets || existingVariable.hidden
|
||||||
},
|
},
|
||||||
targetEnvironment
|
targetEnvironment
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export type TGitLabVariable = {
|
|||||||
protected: boolean;
|
protected: boolean;
|
||||||
masked: boolean;
|
masked: boolean;
|
||||||
environmentScope?: string;
|
environmentScope?: string;
|
||||||
|
hidden?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TGitLabVariableCreate = {
|
export type TGitLabVariableCreate = {
|
||||||
|
|||||||
Reference in New Issue
Block a user