Skip to content

Does vcl_recv_extra work - bug with indentation? #443

@badrange

Description

@badrange

I tried to add this piece of configuration

  vcl_recv_extra: |
    if (req.http.Cookie ~ "pipe_past_varnish") {
      return (pipe);
    }

to vcl_recv_extra in our project, but circleci fails with

2022-03-21T12:55:34.969311912Z rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
..Failing pods:
feature-varnish-pipe-cookie-post-release-kcns7

Please check logs for the pods above

Exited with code exit status 1

I found the option here:

vcl_recv_extra: ""

And I wonder if the reason for the failure is an error in my configuration OR If there is an issue with the indent, looks like it should be indented with 8 characters and not 6?

https://github.com/wunderio/charts/blob/6fd043d5ca8d5591b8480f95c3bdf9c4ba182e55/drupal/templates/varnish-configmap-vcl.yaml#L468

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions