add or condition to acl and auth
At the moment a VarnishConfig with acl + auth means an logical and. You must have the right acl (IP) and must set an basic auth. We need an logical or between acl + auth. The service should accessible if client match the right acl (IP) or if this isn't a match basic auth should used.
VarnishConfig we use:
apiVersion: ingress.varnish-cache.org/v1alpha1
kind: VarnishConfig
metadata:
name: varnish-ingress-config
spec:
services:
- varnish-ingress
acl:
- addrs:
- addr: 127.0.0.1
- addr: localhost
name: private-ip4
auth:
- realm: AUTH
secretName: basicauth-secret
type: basic
utf8: true