workflow.v1alpha1.valueFrom
"ValueFrom describes a location in which to obtain the value to a parameter"
Index
fn withDefault(default)
fn withEvent(event)
fn withExpression(expression)
fn withJqFilter(jqFilter)
fn withJsonPath(jsonPath)
fn withParameter(parameter)
fn withPath(path)
fn withSupplied(supplied)
fn withSuppliedMixin(supplied)
obj configMapKeyRef
Fields
fn withDefault
withDefault(default)
"Default specifies a value to be used if retrieving the value from the specified source fails"
fn withEvent
withEvent(event)
"Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. payload.message
"
fn withExpression
withExpression(expression)
"Expression, if defined, is evaluated to specify the value for the parameter"
fn withJqFilter
withJqFilter(jqFilter)
"JQFilter expression against the resource object in resource templates"
fn withJsonPath
withJsonPath(jsonPath)
"JSONPath of a resource to retrieve an output parameter value from in resource templates"
fn withParameter
withParameter(parameter)
"Parameter reference to a step or dag task in which to retrieve an output parameter value from (e.g. '{{steps.mystep.outputs.myparam}}')"
fn withPath
withPath(path)
"Path in the container to retrieve an output parameter value from in container templates"
fn withSupplied
withSupplied(supplied)
"SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc."
fn withSuppliedMixin
withSuppliedMixin(supplied)
"SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc."
Note: This function appends passed data to existing values
obj configMapKeyRef
"Selects a key from a ConfigMap."
fn configMapKeyRef.withKey
withKey(key)
"The key to select."
fn configMapKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn configMapKeyRef.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"