mittwald / kube-httpcache

Varnish Reverse Proxy on Kubernetes
MIT License
294 stars 71 forks source link

Add configurable annotations to service #241

Closed dannypas00 closed 3 months ago

dannypas00 commented 3 months ago

This adds configurable annotations to the service. This is sometimes necessary in cloud environments such as google to configure a backendconfig for health checks and other load balancing features:

service:
  type: ClusterIP
  port: 80
  target: 80
  annotations:
    cloud.google.com/backend-config: '{"default": "some-backendconfig"}'
    cloud.google.com/neg: '{"ingress": true}'