Allow blocks prefixed with `x-` in the configuration as a place to declare reusable blocks with YAML anchors and aliases. Borrowed from the Docker Compose configuration file format - https://github.com/compose-spec/compose-spec/blob/main/spec.md#extension Thanks to @ruyrocha for the suggestion.
7 lines
146 B
Ruby
7 lines
146 B
Ruby
class Kamal::Configuration::Validator::Configuration < Kamal::Configuration::Validator
|
|
private
|
|
def allow_extensions?
|
|
true
|
|
end
|
|
end
|