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

Add ip address metadata types; update metadata helper #284

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

rizzza
Copy link
Contributor

@rizzza rizzza commented Nov 30, 2023

Summary

  • Adding metadata state types for ip-address.[un]assinged
  • Update the metadata helper to use source in search for metadata

Example

An example of how the status of a loadbalancer could potentially look

{
  "data": {
    "loadBalancer": {
      "id": "loadbal-y57_IRUlA-csvdiAha3nH",
      "metadata": {
        "id": "metadat-hL3uKujf0uUBgNNoO-zAh",
        "statuses": {
          "totalCount": 3,
          "edges": [
            {
              "node": {
                "id": "metasts-1DFQhFjI6xyijneygvNfs",
                "namespace": {
                  "id": "metasns-m52LszQIxTjtw5Eq6T3yr"
                },
                "data": {
                  "state": "creating"
                },
                "source": "loadbalancer-api"
              }
            },
            {
              "node": {
                "id": "metasts-GgyOOwUUKAQ38C_ps5DlX",
                "namespace": {
                  "id": "metasns-m52LszQIxTjtw5Eq6T3yr"
                },
                "data": {
                  "state": "active"
                },
                "source": "loadbalancer-operator-site-01"
              }
            },
            {
              "node": {
                "id": "metasts-w_HUD_lofR48cu0EQryUf",
                "namespace": {
                  "id": "metasns-m52LszQIxTjtw5Eq6T3yr"
                },
                "data": {
                  "state": "ip-address.assigned"
                },
                "source": "loadbalancer-provider-haproxy"
              }
            }
          ]
        }
      }
    }

@rizzza rizzza requested review from a team as code owners November 30, 2023 18:16
Copy link

github-actions bot commented Nov 30, 2023

GraphQL Schema Check

Compared 0 schema changes against 0 operations

✅ Found no changes

🔗 View full schema check details

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
@rizzza rizzza changed the title Add ip address metadata types; remove metadata helper Add ip address metadata types; update metadata helper Nov 30, 2023
Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
@rizzza rizzza added this pull request to the merge queue Dec 1, 2023
Merged via the queue into infratographer:main with commit 63fdc7a Dec 1, 2023
11 checks passed
@rizzza rizzza deleted the add-ip-state branch December 1, 2023 16:05
sthwang-metal added a commit to sthwang-metal/load-balancer-api that referenced this pull request Jan 17, 2024
* add origin target ip address validation (infratographer#213)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Use new event hooks (infratographer#212)

* new manual event hooks

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* update tests for auth-relationships

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* relationships

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add location to manual hook

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* finesse manual hook

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/99designs/gqlgen to v0.17.36 (infratographer#200)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module go.infratographer.com/permissions-api to v0.2.5 (infratographer#216)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* loadbalancer-api client (infratographer#217)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Add restricted ports (infratographer#219)

* Add configuration to define restricted ports which the API cannot create for a loadbalancer

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Cleanup

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Use validate func in schema to check restricted ports

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Fix lints

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

---------

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Update Helm release reloader to v1.0.39 (infratographer#167)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Helm release common to v2.9.2 (infratographer#195)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* implement MetadataNode (infratographer#218)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Fix up mutation hooks to ensure additionalSubjects are present in the change message (infratographer#231)

* query all for hooks and add additionalSubjects to msg

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* origin delete additional subjects

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/99designs/gqlgen to v0.17.38 (infratographer#225)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module go.infratographer.com/x to v0.3.9 (infratographer#233)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/wundergraph/graphql-go-tools to v1.66.3 (infratographer#146)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/Yamashou/gqlgenc to v0.15.1 (infratographer#234)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/wundergraph/graphql-go-tools to v1.66.4 (infratographer#236)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/testcontainers/testcontainers-go/modules/postgres to v0.24.1 (infratographer#237)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module go.infratographer.com/permissions-api to v0.2.6 (infratographer#223)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Helm release reloader to v1.0.41 (infratographer#222)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module go.uber.org/zap to v1.26.0 (infratographer#238)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add Resolver Validations (infratographer#243)

* add more checks to resolvers

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add more tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* update permission checks

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* update query method

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* remove tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* update error

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

---------

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* Ensure multiple locations are set in additionalSubjects, if required (infratographer#242)

* generate :allthethings:

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* handle case to populate multiple location ids

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* inverted logic in port delete hook

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Move loadbalancer delete auth relationships into resolver (infratographer#230)

* move loadbalancer delete auth relationships into resolver

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* bump to go 1.21 to get context.WithoutCancel

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* disable entc extension for generating hooks

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* use go 1.21 context.WithCancel for delete auth relationship

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* testcontainers bug fix, back to go.mod version

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Resolver input/error handling and logging (infratographer#228)

* remove old

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* loadbalancer error logs, do no expose internals

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* origin error logs, do no expose internals

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* handle invalid gidx

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* pool error logs, do no expose internals

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* port error logs, do no expose internals

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* provider error logs, do no expose internals

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* minor logging additions

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* rollback error log

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* last look

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* manualhooks tests (infratographer#245)

* write manualhooks tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add init script

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* get init script

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* terminate container only if running

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* refactor setup and teardown

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* remove leftover testdata

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* refactor to re-use code

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* use pointer receivers

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* use TestMain pragma, swap ifErrPanic, add t to sub

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add more assertions, add createXXX tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* less code

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

---------

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add origin weights (infratographer#251)

* Add ability to set weight for an origin

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Linters gonna lint

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* add weight to origin node

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add migration to add origin weight column

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* postgres compatible

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* change to int instead of bigint

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

---------

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Update module github.com/labstack/echo/v4 to v4.11.2 (infratographer#252)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Refactor Existing Tests (infratographer#253)

* refactor setup and teardown

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* refactor builders

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* generate code

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* use TestMain pragma, swap ifErrPanic, add t to sub

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

---------

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/spf13/viper to v1.17.0 (infratographer#255)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker/setup-qemu-action action to v3 (infratographer#240)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/testcontainers/testcontainers-go/modules/postgres to v0.25.0 (infratographer#246)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker/login-action action to v3 (infratographer#239)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/99designs/gqlgen to v0.17.39 (infratographer#248)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* GetLoadbalancer return metadata status (infratographer#254)

* client return node metadata

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* client struct tags

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add weight to client test

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* downgrade gqlgen to 0.17.38 (infratographer#258)

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* Update actions/checkout action to v4 (infratographer#227)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update goreleaser/goreleaser-action action to v5 (infratographer#241)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Bump github.com/nats-io/nats-server/v2 from 2.10.1 to 2.10.2 (infratographer#257)

Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.10.1 to 2.10.2.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](nats-io/nats-server@v2.10.1...v2.10.2)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.58.2 to 1.58.3 (infratographer#262)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.2...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/brianvoe/gofakeit/v6 to v6.24.0 (infratographer#264)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Hooks improvement to use ent eager loading (infratographer#261)

* additional hooks unit tests

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* audit loadbalancer manual hook db hits and ensure providerID included in additionalSubjects

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* audit origin manual hook db hits

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* audit pool manual hook db hits

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* audit port manual hook db hits

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* bump test event msg channel timeout to 5s; align

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* test with one retry

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* tweek flake

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Bump github.com/nats-io/nats-server/v2 from 2.10.2 to 2.10.4 (infratographer#266)

Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.10.2 to 2.10.4.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](nats-io/nats-server@v2.10.2...v2.10.4)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add weights to client (infratographer#260)

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* Update module github.com/testcontainers/testcontainers-go/modules/postgres to v0.26.0 (infratographer#269)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/mattn/go-sqlite3 to v1.14.18 (infratographer#270)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/labstack/echo/v4 to v4.11.3 (infratographer#272)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Initial: update loadbalancer metadata status in resolvers (infratographer#273)

* bump testcontainers to v0.26.0

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* bump chart dependencies - bitnami common (2.13.3), reloader (1.0.50)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add supergraph url, metadata status namespace id, timeout and oidc client to config

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* update metadata status for loadbalancer cud

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* move to supergraph config

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* port cud - update loadbalancer status

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* permissions ignoreNoResponders

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* update loadbalancer status - pools/origins cud

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add oidc client issuer to chart

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* use helper resolver method

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* conditional metadata usage

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* loadbalancer metadata pkg

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Loadbalancer metadata status helper (infratographer#278)

* GetLoadBalancerState convenience method

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* use resolverOpts

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* use status struct

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* bump metadata-api@main

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Adds ability to limit number of loadbalancers an owner can create (infratographer#281)

* Adds ability to limit number of loadbalancers an owner can create

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Fix data race in test

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

---------

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>

* Add node Metadata fragment query to client (infratographer#283)

* metadata node

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add client query for node metadata

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Add ip address metadata types; update metadata helper (infratographer#284)

* add ip address metadata types

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* flexible metadata helper

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add load-balancer-api metadata source

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update Helm release reloader to v1.0.52 (infratographer#249)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* (DEL-2899) Make Port Name Optional (infratographer#287)

* make port name optional

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* fix unit tests

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

---------

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* Update metadata integration (infratographer#289)

* do not return internal server error on failure to update metadata

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add deployment extraEnvFrom for additional environment

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Check owner permissions in resolvers (infratographer#291)

* check permissions against ownerID, rather than resource

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* establish permissions auth-relationship in ports

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* associate object relationship only on create (infratographer#294)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* move query for metadata out of transaction (infratographer#296)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/mattn/go-sqlite3 to v1.14.19 (infratographer#293)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module go.infratographer.com/permissions-api to v0.2.7 (infratographer#280)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/hasura/go-graphql-client to v0.10.1 (infratographer#286)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/brianvoe/gofakeit/v6 to v6.26.0 (infratographer#285)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-go action to v5 (infratographer#300)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/brianvoe/gofakeit/v6 to v6.26.3 (infratographer#301)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* origins and ports do not need to establish auth relationships (infratographer#302)

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* add optional label

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* add migration

Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>

* Update ghcr.io/infratographer/load-balancer-api Docker tag to v0.1.2 (infratographer#299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Helm release common to v2.14.1 (infratographer#297)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Helm release reloader to v1.0.58 (infratographer#292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Create port additionalSubjects not populated in all cases (infratographer#308)

* ignore go work files

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* oidc=false

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* ensure additionalSubjects are present in port create when no pool ids associated

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update module github.com/labstack/echo/v4 to v4.11.4 (infratographer#303)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update ghcr.io/infratographer/load-balancer-api Docker tag to v0.1.3 (infratographer#310)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/hasura/go-graphql-client to v0.10.2 (infratographer#309)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>

* Update testcontainers-go monorepo to v0.27.0 (infratographer#305)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/docker/go-connections to v0.5.0 (infratographer#306)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update golang.org/x/exp digest to be819d1 (infratographer#282)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Signed-off-by: Stephen Hwang <126002920+sthwang-metal@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matt Siwiec <rizzza@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tauerbeck@equinix.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants