struct RailsApp::Entrypoints::Env::ValueFrom::FieldRef

Included Modules

Defined in:

rails_app_operator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

def self.new(*, field_path : String) #

[View source]

Instance Method Detail

def field_path : String #

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.