I am trying to find a way to protect a specific path using basic authentication
At the same time, I need to allow anonymous access to
I can either block access with basic auth or allow access to both.
Is there a way of achieving what I want to?
My ingress looks like this:
--- apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: myapp namespace: myapp-services annotations: kubernetes.io/ingress.class: kong konghq.com/plugins: myapp-auth spec: tls: - hosts: - myapp.com secretName: myapp-tls rules: - http: paths: - path: /myapp/myservice pathType: Exact backend: serviceName: myapp-svc servicePort: 8086
Thank you for your help.