-
Notifications
You must be signed in to change notification settings - Fork 1
V and R
V and R are two main variables used in the Sunstone components, helpers and other methods. V is the holder of the combined Values files and R is the main entry point for resource creation, setup and helpers declaration.
V is the shortcut for Values and used to access combined values, declared in values.yaml, values files specified by -f <values file> command line options and individual overwrites, specified by the -s PATH=VALUE command line options. V hierarchy is read-only and can be accessed using dot path notation: V.a.b.c.
Take for example the following content of values.yaml:
frontend:
image: tutum/hello-world
host: hello.example.orgYou can access individual values using V.frontend.image and V.frontend.host respectively.
R is the shortcut for Release and used to define resources, resource initializers, resource helpers and scopes.