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

Part of the fix for a flux app in failed install state, deleted via UX, stays around in k8s flux HelmRelease CR #5577 #5584

Merged
merged 9 commits into from Nov 5, 2022

Conversation

gfichtenholt
Copy link
Contributor

@gfichtenholt gfichtenholt commented Oct 28, 2022

fixed an inconsistency between GetInstalledPackageSummaries() and GetInstalledPackageDetail() in one corner case.
Main fix is dependent on flux fluxcd/helm-controller#554

There is only one small change to production code. The rest is test-related code. Also,

@netlify
Copy link

netlify bot commented Oct 28, 2022

Deploy Preview for kubeapps-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 864dffb
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/6365cb4b627d2a0009839f50
😎 Deploy Preview https://deploy-preview-5584--kubeapps-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@gfichtenholt gfichtenholt linked an issue Nov 3, 2022 that may be closed by this pull request
Copy link
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

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

Great, thanks!

Just to prevent we forget about this param, I'd rather document it in the values.yaml + readme.md.

For instance, sth like:

    flux:
      packages:
        v1alpha1:
          ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.defaultUpgradePolicy Default upgrade policy generating version constraints
          ## enum: [ "major", "minor", "patch", "none" ]
          defaultUpgradePolicy: none
            ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.userManagedSecrets Default policy for handling repository secrets, either managed by the user or by kubeapps-apis
          userManagedSecrets: false
            ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.userManagedSecrets Disable the cross-namespace references, useful when running Flux on multi-tenant clusters
          noCrossNamespaceRefs: false

Then, run the readme-generator tool to autogenerate the readme.md

@gfichtenholt
Copy link
Contributor Author

Great, thanks!

Just to prevent we forget about this param, I'd rather document it in the values.yaml + readme.md.

For instance, sth like:

    flux:
      packages:
        v1alpha1:
          ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.defaultUpgradePolicy Default upgrade policy generating version constraints
          ## enum: [ "major", "minor", "patch", "none" ]
          defaultUpgradePolicy: none
            ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.userManagedSecrets Default policy for handling repository secrets, either managed by the user or by kubeapps-apis
          userManagedSecrets: false
            ## @param kubeappsapis.pluginConfig.flux.packages.v1alpha1.userManagedSecrets Disable the cross-namespace references, useful when running Flux on multi-tenant clusters
          noCrossNamespaceRefs: false

Then, run the readme-generator tool to autogenerate the readme.md

Thanks Antonio. Will do

@gfichtenholt gfichtenholt merged commit c160190 into vmware-tanzu:main Nov 5, 2022
@gfichtenholt gfichtenholt deleted the flux-incremental-2 branch November 5, 2022 02:33
absoludity pushed a commit that referenced this pull request Apr 6, 2023
Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.3.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.3.5</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](axios/axios#5633)
[#5584](axios/axios#5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/axios/axios/compare/v1.3.4...v1.3.5">1.3.5</a>
(2023-04-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](axios/axios#5633)
[#5584](axios/axios#5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/axios/axios/commit/4af78a72eee06172c53383aaed74e2dcaf44d620"><code>4af78a7</code></a>
chore(release): v1.3.5 (<a
href="https://redirect.github.com/axios/axios/issues/5634">#5634</a>)</li>
<li><a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3"><code>a56c866</code></a>
fix(params): re-added the ability to set the function as
<code>paramsSerializer</code> c...</li>
<li><a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841"><code>e7decef</code></a>
fix(headers): fixed isValidHeaderName to support full list of allowed
charact...</li>
<li>See full diff in <a
href="https://github.com/axios/axios/compare/v1.3.4...v1.3.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.3.4&new-version=1.3.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
absoludity pushed a commit that referenced this pull request Apr 17, 2023
Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.3.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.3.5</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](axios/axios#5633)
[#5584](axios/axios#5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/axios/axios/compare/v1.3.4...v1.3.5">1.3.5</a>
(2023-04-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](axios/axios#5633)
[#5584](axios/axios#5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/axios/axios/commit/4af78a72eee06172c53383aaed74e2dcaf44d620"><code>4af78a7</code></a>
chore(release): v1.3.5 (<a
href="https://redirect.github.com/axios/axios/issues/5634">#5634</a>)</li>
<li><a
href="https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3"><code>a56c866</code></a>
fix(params): re-added the ability to set the function as
<code>paramsSerializer</code> c...</li>
<li><a
href="https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841"><code>e7decef</code></a>
fix(headers): fixed isValidHeaderName to support full list of allowed
charact...</li>
<li>See full diff in <a
href="https://github.com/axios/axios/compare/v1.3.4...v1.3.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.3.4&new-version=1.3.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
3 participants