Coder Social home page Coder Social logo

Update docs for variables about website HOT 5 CLOSED

kyverno avatar kyverno commented on July 30, 2024
Update docs for variables

from website.

Comments (5)

chipzoller avatar chipzoller commented on July 30, 2024

Can you or @kacejot help me understand the action item for the docs in this issue? It seems like these linked PRs just address existing functionality and nothing new in the way of variables is introduced.

from website.

chipzoller avatar chipzoller commented on July 30, 2024

bump, @JimBugwadia and/or @kacejot. Someone please help me understand what/if are the relevant pieces of information that need to be added/changed in the docs. I'm not able to see anything user-facing that needs to be changed.

from website.

JimBugwadia avatar JimBugwadia commented on July 30, 2024

Hi @chipzoller - the main user facing changes are:

  • $(..) is now supported for nested substitutions and generally everywhere variables are supported
  • {{ @ }} can be used as the current resource path. This will be used often for custom JMESPath functions in 1.3.6. Here is an example.

We can hold this for 1.3.6.

from website.

JimBugwadia avatar JimBugwadia commented on July 30, 2024

Another example: https://github.com/kyverno/kyverno/blob/main/pkg/engine/variables/vars_test.go#L243

from website.

kacejot avatar kacejot commented on July 30, 2024

We need to add syntax details described here:
https://kubernetes.slack.com/archives/CLGR9BJU9/p1619087425497900?thread_ts=1618941805.454200&cid=CLGR9BJU9

from website.

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.