mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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: {
|
||||
value,
|
||||
environment_scope: targetEnvironment,
|
||||
protected: destinationConfig.shouldProtectSecrets ?? existingVariable.protected,
|
||||
masked: existingVariable.masked || destinationConfig.shouldMaskSecrets
|
||||
protected: destinationConfig.shouldProtectSecrets,
|
||||
masked: destinationConfig.shouldMaskSecrets || existingVariable.hidden
|
||||
},
|
||||
targetEnvironment
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export type TGitLabVariable = {
|
||||
protected: boolean;
|
||||
masked: boolean;
|
||||
environmentScope?: string;
|
||||
hidden?: boolean;
|
||||
};
|
||||
|
||||
export type TGitLabVariableCreate = {
|
||||
|
||||
Reference in New Issue
Block a user