runtime-parameters.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. dataPlane:
  2. enabled: true
  3. hostAliases:
  4. - ip: 127.0.0.1
  5. hostnames:
  6. - www.example.com
  7. metrics:
  8. enabled: true
  9. extraConfig:
  10. nginx_config:
  11. max_running_timers: 3000
  12. containerPorts:
  13. http: 8444
  14. https: 8445
  15. control: 8446
  16. metrics: 8447
  17. podSecurityContext:
  18. enabled: true
  19. fsGroup: 1002
  20. containerSecurityContext:
  21. enabled: true
  22. runAsUser: 1002
  23. service:
  24. ports:
  25. # We need port 80 or the deployment check will fail
  26. http: 80
  27. https: 443
  28. metrics: 8003
  29. serviceAccount:
  30. automountServiceAccountToken: true
  31. controlPlane:
  32. apiTokenAdmin: "deadbeefdeadbeefdeadbeef"
  33. metrics:
  34. enabled: true
  35. service:
  36. type: LoadBalancer
  37. ports:
  38. adminAPI: 443
  39. configServer: 8888
  40. https: 9282
  41. metrics: 8004
  42. ingressController:
  43. extraConfig:
  44. kubernetes:
  45. namespace_selector:
  46. - 'kubernetes.io/metadata.name={{ include "common.names.namespace" . }}'
  47. metrics:
  48. enabled: true
  49. service:
  50. ports:
  51. http: 8007
  52. https: 8008
  53. extraDeploy:
  54. - apiVersion: apps/v1
  55. kind: Deployment
  56. metadata:
  57. namespace: '{{ include "common.names.namespace" . }}'
  58. name: nginx-vib-tests
  59. spec:
  60. replicas: 1
  61. selector:
  62. matchLabels:
  63. app: nginx
  64. template:
  65. metadata:
  66. labels:
  67. app: nginx
  68. spec:
  69. containers:
  70. - name: nginx
  71. image: bitnami/nginx
  72. ports:
  73. - containerPort: 8080
  74. securityContext:
  75. runAsNonRoot: true
  76. privileged: false
  77. allowPrivilegeEscalation: false
  78. capabilities:
  79. drop: ["ALL"]
  80. seccompProfile:
  81. type: "RuntimeDefault"
  82. - apiVersion: v1
  83. kind: Service
  84. metadata:
  85. name: nginx-vib-tests
  86. namespace: '{{ include "common.names.namespace" . }}'
  87. labels:
  88. app: nginx
  89. spec:
  90. selector:
  91. app: nginx
  92. ports:
  93. - port: 8080
  94. name: http
  95. targetPort: 8080
  96. - apiVersion: networking.k8s.io/v1
  97. kind: Ingress
  98. metadata:
  99. namespace: '{{ include "common.names.namespace" . }}'
  100. name: vib-tests
  101. spec:
  102. ingressClassName: apisix
  103. rules:
  104. - host: www.example.com
  105. http:
  106. paths:
  107. - path: /
  108. pathType: ImplementationSpecific
  109. backend:
  110. service:
  111. name: nginx-vib-tests
  112. port:
  113. number: 8080