Skip to content

Proposal: Parsing of partial configurations #94

Open
@ornj

Description

@ornj

Is your feature request related to a problem? Please describe

There may be cases where a Crossplane user wants to parse and validate a "partial" NGINX configuration. For example, you could have a snippet of configuration that represents the implementation of a security policy that you want to inject into http > server contexts. Before storing this you may want to validate it with crossplane to ensure the snippet itself looks valid.

You could parse this snippet today, but most likely you would need to disable most of Crossplane's checks in order do so which would not meet the desire to validate the syntax (arguments, directive placement).

Describe the solution you'd like

An API change that allows the caller to provide some metadata/context about the snippet so that Crossplane is aware of what the "context" is when validating the snippet.

Describe alternatives you've considered

  • Disabling crossplane checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions