1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(gitops): reword automatic update to gitops update for ui and docs (#9067)

This commit is contained in:
Oscar Zhou 2023-06-13 15:32:10 +12:00 committed by GitHub
parent 57fa044f2e
commit 2ac70b1eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 10 deletions

View file

@ -49,7 +49,7 @@
label="'Enable Change Window'"
label-class="'col-sm-7 col-lg-4'"
feature-id="$ctrl.limitedFeatureAutoUpdate"
tooltip="'Specify a time-frame during which automatic updates can occur in this environment.'"
tooltip="'Specify a time-frame during which GitOps updates can occur in this environment.'"
on-change="($ctrl.onToggleAutoUpdate)"
>
</por-switch-field>

View file

@ -104,7 +104,7 @@
name="'disableSysctlSettingForRegularUsers'"
label="'Enable Change Window'"
feature-id="ctrl.limitedFeatureAutoWindow"
tooltip="'Automatic updates to stacks or applications outside the defined change window will not occur.'"
tooltip="'GitOps updates to stacks or applications outside the defined change window will not occur.'"
on-change="(ctrl.onToggleAutoUpdate)"
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
switch-class="'col-sm-8 text-muted'"

View file

@ -124,7 +124,7 @@ export type DeploymentOptions = {
};
/**
* EndpointChangeWindow determine when automatic stack/app updates may occur
* EndpointChangeWindow determine when GitOps stack/app updates may occur
*/
interface EndpointChangeWindow {
Enabled: boolean;
@ -161,7 +161,7 @@ export type Environment = {
EnableImageNotification: boolean;
LocalTimeZone?: string;
/** Automatic update change window restriction for stacks and apps */
/** GitOps update change window restriction for stacks and apps */
ChangeWindow: EndpointChangeWindow;
};

View file

@ -38,7 +38,7 @@ export function AutoUpdateFieldset({
<SwitchField
name="autoUpdate"
checked={!!value.RepositoryAutomaticUpdates}
label="Automatic updates"
label="GitOps updates"
labelClass="col-sm-3 col-lg-2"
onChange={(value) =>
handleChange({ RepositoryAutomaticUpdates: value })

View file

@ -37,7 +37,7 @@ function TimeWindowDisplay() {
return (
<TextTip color="orange" className="mb-2">
A change window is enabled, automatic updates will not occur outside of{' '}
A change window is enabled, GitOps updates will not occur outside of{' '}
<span className="font-bold">
{shortTime(startTimeUtc)} - {shortTime(endTimeUtc)} UTC (
{shortTime(startTimeLocal)} -{shortTime(endTimeLocal)}{' '}