ingress-http.yaml 644 B

123456789101112131415161718192021
  1. {{- if and .Values.ingress.create (eq .Values.ingress.type "nginx") -}}
  2. apiVersion: networking.k8s.io/v1beta1
  3. kind: Ingress
  4. metadata:
  5. name: hue-ingress
  6. annotations:
  7. kubernetes.io/ingress.class: nginx
  8. nginx.ingress.kubernetes.io/affinity: "cookie"
  9. nginx.ingress.kubernetes.io/session-cookie-name: "hue-website-ingress"
  10. nginx.ingress.kubernetes.io/session-cookie-expires: "172800"
  11. nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
  12. spec:
  13. rules:
  14. - host: {{ .Values.docs.domain }}
  15. http:
  16. paths:
  17. - backend:
  18. serviceName: gethue-docs
  19. servicePort: 80
  20. path: /
  21. {{- end -}}