diff --git a/docs/argo-server-sso.md b/docs/argo-server-sso.md index 7bc306758036..8d47a1afbce6 100644 --- a/docs/argo-server-sso.md +++ b/docs/argo-server-sso.md @@ -132,7 +132,7 @@ metadata: workflows.argoproj.io/rbac-rule-precedence: "0" ``` -Now, for the the namespace that you own, configure a service account which would allow members of your team to perform operations in your namespace. +Now, for the namespace that you own, configure a service account which would allow members of your team to perform operations in your namespace. Make sure that the precedence of the namespace service account is higher than the precedence of the login service account. Create appropriate role that you want to grant to this service account and bind it with a role-binding. ```yaml diff --git a/pkg/apis/workflow/v1alpha1/workflow_phase.go b/pkg/apis/workflow/v1alpha1/workflow_phase.go index cb2e62b39d7c..4027b10dca6a 100644 --- a/pkg/apis/workflow/v1alpha1/workflow_phase.go +++ b/pkg/apis/workflow/v1alpha1/workflow_phase.go @@ -8,7 +8,7 @@ const ( WorkflowPending WorkflowPhase = "Pending" // pending some set-up - rarely used WorkflowRunning WorkflowPhase = "Running" // any node has started; pods might not be running yet, the workflow maybe suspended too WorkflowSucceeded WorkflowPhase = "Succeeded" - WorkflowFailed WorkflowPhase = "Failed" // it maybe that the the workflow was terminated + WorkflowFailed WorkflowPhase = "Failed" // it maybe that the workflow was terminated WorkflowError WorkflowPhase = "Error" ) diff --git a/ui/src/app/shared/components/object-editor/object-editor.tsx b/ui/src/app/shared/components/object-editor/object-editor.tsx index 2a7b01371382..25a12eb36662 100644 --- a/ui/src/app/shared/components/object-editor/object-editor.tsx +++ b/ui/src/app/shared/components/object-editor/object-editor.tsx @@ -81,7 +81,7 @@ export const ObjectEditor = ({type, value, buttons, onChange}: Pr icon='caret-right' outline={true} onClick={() => { - // Attempt to move the the correct section of the document. Ideally, we'd have the line at the top of the + // Attempt to move the correct section of the document. Ideally, we'd have the line at the top of the // editor, but Monaco editor does not have method for this (e.g. `revealLineAtTop`). // find the line for the section in either YAML or JSON diff --git a/workflow/controller/dag.go b/workflow/controller/dag.go index e5e0d04c9aff..16a282f8831a 100644 --- a/workflow/controller/dag.go +++ b/workflow/controller/dag.go @@ -666,7 +666,7 @@ func (woc *wfOperationCtx) resolveDependencyReferences(dagCtx *dagContext, task } // findLeafTaskNames finds the names of all tasks whom no other nodes depend on. -// This list of tasks is used as the the default list of targets when dag.targets is omitted. +// This list of tasks is used as the default list of targets when dag.targets is omitted. func (d *dagContext) findLeafTaskNames(tasks []wfv1.DAGTask) []string { taskIsLeaf := make(map[string]bool) for _, task := range tasks {