Skip to content

Commit ca3441d

Browse files
authored
Fix | Minor spelling issues and stale comments/docs (#437)
1 parent 90d4c0d commit ca3441d

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

integration-test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ Tests can run in three modes, controlled by the `--render-method` flag:
103103

104104
| Mode | Cluster Roles | How it works |
105105
| -------------------------------------- | ------------- | ---------------------------------------------- |
106-
| **`cli`** (default) | Enabled | Uses `argocd` CLI to render manifests |
107-
| **`server-api`** | Disabled | Uses Argo CD REST API directly |
106+
| **`cli`** | Enabled | Uses `argocd` CLI to render manifests |
107+
| **`server-api`** (default) | Disabled | Uses Argo CD REST API directly |
108108
| **`repo-server-api`** (experimental) | Disabled | Calls the Argo CD repo-server gRPC API directly |
109109

110110
When switching between modes that require different RBAC configurations, the cluster is automatically deleted and recreated.

integration-test/branch-12/target-1/output.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h1>Argo CD Diff Preview</h1>
6565
<div class="diffs">
6666
<details>
6767
<summary>
68-
argocd-helm-chart (examples/with-crds/applicaiton.yaml)
68+
argocd-helm-chart (examples/with-crds/application.yaml)
6969
</summary>
7070

7171
<h4 class="resource_header">Deployment: argocd/argocd-helm-chart-applicationset-controller</h4>

integration-test/branch-12/target-1/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Modified (1):
77
```
88

99
<details>
10-
<summary>argocd-helm-chart (examples/with-crds/applicaiton.yaml)</summary>
10+
<summary>argocd-helm-chart (examples/with-crds/application.yaml)</summary>
1111
<br>
1212

1313
#### Deployment: argocd/argocd-helm-chart-applicationset-controller

integration-test/branch-12/target-2/output.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h1>Argo CD Diff Preview</h1>
6565
<div class="diffs">
6666
<details>
6767
<summary>
68-
argocd-helm-chart (examples/with-crds/applicaiton.yaml)
68+
argocd-helm-chart (examples/with-crds/application.yaml)
6969
</summary>
7070

7171
<h4 class="resource_header">Deployment: argocd/argocd-helm-chart-applicationset-controller</h4>

integration-test/branch-12/target-2/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Modified (1):
77
```
88

99
<details>
10-
<summary>argocd-helm-chart (examples/with-crds/applicaiton.yaml)</summary>
10+
<summary>argocd-helm-chart (examples/with-crds/application.yaml)</summary>
1111
<br>
1212

1313
#### Deployment: argocd/argocd-helm-chart-applicationset-controller

integration-test/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ var testCases = []TestCase{
354354

355355
// effectiveRenderMethod returns the render mode that should be used for a test case.
356356
// tc.RenderMethod takes highest precedence, then the global -render-method flag.
357-
// Returns "" when the tool should use its own default (cli).
357+
// Returns "" when the tool should use its own default (server-api).
358358
func effectiveRenderMethod(tc TestCase) string {
359359
if tc.RenderMethod != "" {
360360
return tc.RenderMethod

pkg/argocd/argocd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (a *ArgoCDInstallation) installWithHelm() error {
212212
if result == "false" {
213213
log.Info().Msgf("Installing with 'createClusterRoles: %s'", result)
214214
if a.RenderMethod() == vars.RenderMethodCLI {
215-
log.Warn().Msgf("⚠️ Running Argo CD in locked-down mode. This will not work when using '--render-method=cli' (default)")
215+
log.Warn().Msgf("⚠️ Running Argo CD in locked-down mode. This will not work when using '--render-method=cli'")
216216
}
217217
}
218218
}

0 commit comments

Comments
 (0)