_vikunja_nginx.tpl 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {{- define "vikunja.nginx" -}}
  2. {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
  3. {{- $frontUrl := printf "http://%v-frontend:%v/ready" $fullname .Values.vikunjaPorts.frontHttp }}
  4. workload:
  5. vikunja-proxy:
  6. enabled: true
  7. type: Deployment
  8. podSpec:
  9. hostNetwork: false
  10. containers:
  11. vikunja-proxy:
  12. enabled: true
  13. primary: true
  14. imageSelector: nginxImage
  15. securityContext:
  16. runAsUser: 568
  17. runAsGroup: 568
  18. probes:
  19. liveness:
  20. enabled: true
  21. type: http
  22. port: {{ .Values.vikunjaNetwork.webPort }}
  23. path: /nginx-health
  24. readiness:
  25. enabled: true
  26. type: http
  27. port: {{ .Values.vikunjaNetwork.webPort }}
  28. path: /nginx-health
  29. startup:
  30. enabled: true
  31. type: http
  32. port: {{ .Values.vikunjaNetwork.webPort }}
  33. path: /nginx-health
  34. initContainers:
  35. {{- include "vikunja.wait.init" (dict "url" $frontUrl) | indent 8 }}
  36. {{- end -}}