Git Product home page Git Product logo

Comments (3)

mmanciop avatar mmanciop commented on September 24, 2024 1

The relation meta validation (relation interface, relation role and relation limit) is not something I would accept to be gone. See https://github.com/canonical/prometheus-k8s-operator/blob/98ec8278fda13bf23091ffab18d00b23ebceeada/lib/charms/prometheus_k8s/v0/prometheus_scrape.py#L372 and related code for an example of we perform this validation in other charm libs.

from traefik-k8s-operator.

jnsgruk avatar jnsgruk commented on September 24, 2024

Key points for discussion:

  • Version checking or not? We can still validate relation data bag contents and surface reasonable errors without
    • If possible, I'd like to move away from explicit versioning. It is not in the Juju core, and it is likely to cause us issues later
  • Validation of relation role and relation limits
  • Validation of schema for relation data bag contents

from traefik-k8s-operator.

mmanciop avatar mmanciop commented on September 24, 2024

About "Version checking or not": oh yes! Each of these issues, on their own, effectively warrant a new version or the relation data exchange protocol to work properly:

from traefik-k8s-operator.

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.