Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip normalization in preview w/ computed fields #2846

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

EronWright
Copy link
Contributor

Proposed changes

Skips the normalization step in the presence of computed inputs.

Note: previously when clients.Normalize was called with a Secret, it would panic. If called with a non-secret, an internal error would be masked and the original object would be used.

Related issues (optional)

Closes #2845

Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 25.48%. Comparing base (68e2242) to head (4851380).

Files Patch % Lines
provider/pkg/provider/provider.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2846   +/-   ##
=======================================
  Coverage   25.48%   25.48%           
=======================================
  Files          48       48           
  Lines        7526     7526           
=======================================
  Hits         1918     1918           
  Misses       5450     5450           
  Partials      158      158           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@rquitales rquitales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a changelog entry. Thanks!

@EronWright EronWright merged commit 99fd994 into master Feb 26, 2024
20 checks passed
@EronWright EronWright deleted the eronwright/issue-2845 branch February 26, 2024 21:35
lumiere-bot bot referenced this pull request in coolguy1771/home-ops Feb 27, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/kubernetes](https://pulumi.com)
([source](https://togithub.com/pulumi/pulumi-kubernetes)) | dependencies
| patch | [`4.8.0` ->
`4.8.1`](https://renovatebot.com/diffs/npm/@pulumi%2fkubernetes/4.8.0/4.8.1)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>pulumi/pulumi-kubernetes (@&#8203;pulumi/kubernetes)</summary>

###
[`v4.8.1`](https://togithub.com/pulumi/pulumi-kubernetes/blob/HEAD/CHANGELOG.md#481-February-22-2024)

[Compare
Source](https://togithub.com/pulumi/pulumi-kubernetes/compare/v4.8.0...v4.8.1)

- skip normalization in preview w/ computed fields
([https://github.com/pulumi/pulumi-kubernetes/pull/2846](https://togithub.com/pulumi/pulumi-kubernetes/pull/2846))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTQuMSIsInVwZGF0ZWRJblZlciI6IjM3LjIxNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Computed inputs to Secret cause a panic
2 participants