runtime-parameters.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. configuration: |
  2. global
  3. log stdout format raw local0
  4. maxconn 1024
  5. defaults
  6. log global
  7. timeout client 60s
  8. timeout connect 60s
  9. timeout server 60s
  10. frontend fe_main
  11. bind :8081
  12. default_backend be_main
  13. backend be_main
  14. server web1 127.0.0.1:8080 check
  15. containerPorts:
  16. - name: http
  17. containerPort: 8081
  18. podSecurityContext:
  19. enabled: true
  20. fsGroup: 1002
  21. containerSecurityContext:
  22. enabled: true
  23. runAsUser: 1002
  24. serviceAccount:
  25. create: true
  26. automountServiceAccountToken: true
  27. service:
  28. type: LoadBalancer
  29. ports:
  30. - name: http
  31. protocol: TCP
  32. port: 80
  33. targetPort: http
  34. sidecars:
  35. - name: nginx
  36. image: docker.io/bitnami/nginx:1.25.2-debian-11-r5
  37. imagePullPolicy: Always
  38. ports:
  39. - name: web
  40. containerPort: 8080
  41. securityContext:
  42. runAsUser: 1001
  43. runAsNonRoot: true
  44. privileged: false
  45. readOnlyRootFilesystem: false
  46. allowPrivilegeEscalation: false
  47. capabilities:
  48. drop: ["ALL"]
  49. seccompProfile:
  50. type: "RuntimeDefault"