Skip to content

Run "make codegen" for K8s Update PRs #557

Closed

Description

@yocaba

On openapi version updates, it might be required to run generate file anew by running make codegen. If that's not done, the build fails. Since renovate open PRs with openapi version updates, we should consider to run make codegen as a postUpgradeTask (see Renovate docs) or similar.

See #552 where generating the files has been done manually and the commit has been added to the PR.

AC:

  • Security implications has been considered, if nothing blocking found:
  • On K8s dependencies updates, generated files are updated and on any changes, added to the update PR

Activity

  1. changed the title [-]Run make codegen for K8s Update PRs[/-] [+]Run "make codegen" for K8s Update PRs[/+] on May 30, 2026
  2. self-assigned this
    on Jun 2, 2026
  3. olzemal commented on Jun 3, 2026

    @olzemal
    Contributor

    i decided to refactor checking for changes and get-go-version to dev-kit -> opendefensecloud/dev-kit#17

  4. olzemal commented on Jun 3, 2026

    @olzemal
    Contributor

    https://docs.renovatebot.com/configuration-options/#postupgradetasks running postupgradetasks is disabled by default and not available for the general cloud hosted renovate bot

    In Mend-hosted Renovate apps, commands remain blocked by default but can be allowed on-request for any paying ("Renovate Enterprise" or Mend Appsec) customers or trusted OSS repositories - please reach out if so.

  5. olzemal commented on Jun 9, 2026

    @olzemal
    Contributor
  6. added theissue type on Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions