struct

RailsApp::Env::ValueFrom::FieldRef

Inherits YAML::Serializable / JSON::Serializable / Kubernetes::Serializable / Struct / Value / Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
new(*, field_path : String)
Source

Instance methods

field_path

The JSONPath of the Pod's JSON representation to use for the value of this env var. For example, if you would like to set the value to the IP of the Node the pod is running on, you would use .status.hostIP.