Skip to content

Commit

Permalink
committing changes after make test
Browse files Browse the repository at this point in the history
Signed-off-by: Soule BA <bah.soule@gmail.com>
  • Loading branch information
souleb committed Mar 6, 2024
1 parent 319db01 commit 77ba08c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
18 changes: 4 additions & 14 deletions docs/api/v2beta2/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,6 @@ handle differences between the manifest in the Helm storage and the resources
currently existing in the cluster.</p>
<h3 id="helm.toolkit.fluxcd.io/v2beta2.Filter">Filter
</h3>
<p>
(<em>Appears on:</em>
<a href="#helm.toolkit.fluxcd.io/v2beta2.Test">Test</a>)
</p>
<p>Filter holds the configuration for individual Helm test filters.</p>
<div class="md-typeset__scrollwrap">
<div class="md-typeset__table">
Expand Down Expand Up @@ -2267,9 +2263,7 @@ Kubernetes meta/v1.Time
<td>
<code>testHooks</code><br>
<em>
<a href="#helm.toolkit.fluxcd.io/v2beta2.TestHookStatus">
TestHookStatus
</a>
map[string]*github.com/fluxcd/helm-controller/api/v2beta2.TestHookStatus
</em>
</td>
<td>
Expand All @@ -2283,7 +2277,7 @@ run by the controller.</p>
</div>
</div>
<h3 id="helm.toolkit.fluxcd.io/v2beta2.Snapshots">Snapshots
(<code>[]*./api/v2beta2.Snapshot</code> alias)</h3>
(<code>[]*github.com/fluxcd/helm-controller/api/v2beta2.Snapshot</code> alias)</h3>
<p>
(<em>Appears on:</em>
<a href="#helm.toolkit.fluxcd.io/v2beta2.HelmReleaseStatus">HelmReleaseStatus</a>)
Expand Down Expand Up @@ -2352,8 +2346,8 @@ actions in &lsquo;Install.IgnoreTestFailures&rsquo; and &lsquo;Upgrade.IgnoreTes
<td>
<code>filters</code><br>
<em>
<a href="#helm.toolkit.fluxcd.io/v2beta2.Filter">
Filter
<a href="#helm.toolkit.fluxcd.io/v2beta2.[]github.com/fluxcd/helm-controller/api/v2beta2.Filter">
[]github.com/fluxcd/helm-controller/api/v2beta2.Filter
</a>
</em>
</td>
Expand All @@ -2367,10 +2361,6 @@ Filter
</div>
<h3 id="helm.toolkit.fluxcd.io/v2beta2.TestHookStatus">TestHookStatus
</h3>
<p>
(<em>Appears on:</em>
<a href="#helm.toolkit.fluxcd.io/v2beta2.Snapshot">Snapshot</a>)
</p>
<p>TestHookStatus holds the status information for a test hook as observed
to be run by the controller.</p>
<div class="md-typeset__scrollwrap">
Expand Down
6 changes: 3 additions & 3 deletions internal/controller/helmrelease_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
WithStatusSubresource(&v2.HelmRelease{}).
WithObjects(obj).
Build(),
EventRecorder: record.NewFakeRecorder(32),
EventRecorder: record.NewFakeRecorder(32),
}

_, err := r.reconcileRelease(context.TODO(), patch.NewSerialPatcher(obj, r.Client), obj)
Expand Down Expand Up @@ -167,7 +167,7 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
WithStatusSubresource(&v2.HelmRelease{}).
WithObjects(obj).
Build(),
EventRecorder: record.NewFakeRecorder(32),
EventRecorder: record.NewFakeRecorder(32),
}

res, err := r.reconcileRelease(context.TODO(), patch.NewSerialPatcher(obj, r.Client), obj)
Expand Down Expand Up @@ -385,7 +385,7 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
WithStatusSubresource(&v2.HelmRelease{}).
WithObjects(chart, obj).
Build(),
EventRecorder: record.NewFakeRecorder(32),
EventRecorder: record.NewFakeRecorder(32),
}

_, err := r.reconcileRelease(context.TODO(), patch.NewSerialPatcher(obj, r.Client), obj)
Expand Down

0 comments on commit 77ba08c

Please sign in to comment.