Git Product home page Git Product logo

Comments (4)

negz avatar negz commented on September 17, 2024

CC @muvaf

from provider-gcp.

negz avatar negz commented on September 17, 2024

I also noticed the privateIpGoogleAccess JSON struct tag is set to PrivateIPGoogleAccess - I fixed that in my branch in order to apply the example above.

from provider-gcp.

muvaf avatar muvaf commented on September 17, 2024

The following field(s) specified in the request cannot be modified: [network]

The same happened for region and I fixed it in the Update call but I don't know why I didn't see that one during the tests. I'll fix it asap.

These things get me thinking of having admission webhook for each resource that is generated to do these checks that CRD validation is not capable of. I think kubebuilder generates webhook but empty ones, maybe we can add our own comment tags on struct fields and extend that generation functionality of kubebuilder to generate validation checks in the admission webhook according to these tags.

I also noticed the privateIpGoogleAccess JSON struct tag is set to PrivateIPGoogleAccess

That was because of copy-paste from Google's struct. I corrected it in our structs while moving the commits to stack-gcp repo.

from provider-gcp.

negz avatar negz commented on September 17, 2024

@muvaf Did this get fixed somewhere along the way?

from provider-gcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.