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

Update NEG reference in NEG CR #2604

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Commits on Sep 18, 2024

  1. Populate State and Subnet for NEG reference in NEG CR.

    * Populate Subnet in NEG CR based on the subnet on the NEG.
    * Populate State as ACTIVE for new and existing NEGs. For NEGs in the zones
      which don't have any nodes, set their state as INACTIVE.
    sawsa307 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    11360e1 View commit details
    Browse the repository at this point in the history
  2. Remove deleted NEG reference during NEG GC.

    * Once a NEG has been deleted, remove its referece from NEG CR. This
      prevents NEG CR retaining reference of non-existing NEGs.
    sawsa307 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    581ba4d View commit details
    Browse the repository at this point in the history