Skip to content

Commit

Permalink
Fix Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Sep 28, 2024
1 parent 646cb48 commit 0c66af1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/grafanadashboard_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type GrafanaDashboardSpec struct {

type GrafanaDashboardEnv struct {
Name string `json:"name"`
// Inline evn value
// Inline env value
// +optional
Value string `json:"value,omitempty"`
// Reference on value source, might be the reference on a secret or config map
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/grafanadashboard_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func TestGrafanaDashboardIsUpdatedUID(t *testing.T) {
want: false,
},
// Validate always false when statusUID is empty
// Since dashbaordUID is ignoredk the only variable is customUID
// Since dashboardUID is ignoredk the only variable is customUID
{
name: "Empty StatusUID always results in false",
crUID: crUID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ spec:
name:
type: string
value:
description: Inline evn value
description: Inline env value
type: string
valueFrom:
description: Reference on value source, might be the reference
Expand Down
2 changes: 1 addition & 1 deletion deploy/kustomize/base/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ spec:
name:
type: string
value:
description: Inline evn value
description: Inline env value
type: string
valueFrom:
description: Reference on value source, might be the reference
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://git
<td><b>value</b></td>
<td>string</td>
<td>
Inline evn value<br/>
Inline env value<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/example-test/05-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
local myRange = std.extVar('CUSTOM_RANGE_ENV');
{
id: null,
title: "Simple Dashboard wht CM envs",
title: "Simple Dashboard with CM envs",
tags: [],
style: "dark",
timezone: "browser",
Expand Down

0 comments on commit 0c66af1

Please sign in to comment.