Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra-resources flag not available in render #817

Closed
stevendborrelli opened this issue Sep 27, 2024 · 0 comments · Fixed by #818
Closed

Extra-resources flag not available in render #817

stevendborrelli opened this issue Sep 27, 2024 · 0 comments · Fixed by #818
Labels
bug Something isn't working

Comments

@stevendborrelli
Copy link
Contributor

URL

What's Wrong?

The docs are missing args in 1.17 CLI for crossplane render, including

 -e, --extra-resources=PATH       A YAML file or directory of YAML files
                                   specifying extra resources to pass to the
                                   Function pipeline.
  -c, --include-context            Include the context in the rendered output as
                                   a resource of kind: Context.

Below are the available flags for crossplane render in 1.17:

Arguments:
  <composite-resource>    A YAML file specifying the composite resource (XR) to
                          render.
  <composition>           A YAML file specifying the Composition to use to
                          render the XR. Must be mode: Pipeline.
  <functions>             A YAML file or directory of YAML files specifying the
                          Composition Functions to use to render the XR.

Flags:
  -h, --help                       Show context-sensitive help.
      --verbose                    Print verbose logging statements.

      --context-files=KEY=VALUE;...
                                   Comma-separated context key-value pairs to
                                   pass to the Function pipeline. Values must be
                                   files containing JSON.
      --context-values=KEY=VALUE;...
                                   Comma-separated context key-value pairs
                                   to pass to the Function pipeline. Values
                                   must be JSON. Keys take precedence over
                                   --context-files.
  -r, --include-function-results
                                   Include informational and warning messages
                                   from Functions in the rendered output as
                                   resources of kind: Result.
  -x, --include-full-xr            Include a direct copy of the input XR's spec
                                   and metadata fields in the rendered output.
  -o, --observed-resources=PATH    A YAML file or directory of YAML files
                                   specifying the observed state of composed
                                   resources.
  -e, --extra-resources=PATH       A YAML file or directory of YAML files
                                   specifying extra resources to pass to the
                                   Function pipeline.
  -c, --include-context            Include the context in the rendered output as
                                   a resource of kind: Context.
      --timeout=1m                 How long to run before timing out.
@stevendborrelli stevendborrelli added the bug Something isn't working label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant