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

Does vcl_recv_extra work - bug with indentation? #443

Open
badrange opened this issue Mar 21, 2022 · 0 comments
Open

Does vcl_recv_extra work - bug with indentation? #443

badrange opened this issue Mar 21, 2022 · 0 comments

Comments

@badrange
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant