123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- dataPlane:
- enabled: true
- hostAliases:
- - ip: 127.0.0.1
- hostnames:
- - www.example.com
- metrics:
- enabled: true
- extraConfig:
- nginx_config:
- max_running_timers: 3000
- containerPorts:
- http: 8444
- https: 8445
- control: 8446
- metrics: 8447
- podSecurityContext:
- enabled: true
- fsGroup: 1002
- containerSecurityContext:
- enabled: true
- runAsUser: 1002
- service:
- ports:
- # We need port 80 or the deployment check will fail
- http: 80
- https: 443
- metrics: 8003
- serviceAccount:
- automountServiceAccountToken: true
- controlPlane:
- apiTokenAdmin: "deadbeefdeadbeefdeadbeef"
- metrics:
- enabled: true
- service:
- type: LoadBalancer
- ports:
- adminAPI: 443
- configServer: 8888
- https: 9282
- metrics: 8004
- ingressController:
- extraConfig:
- kubernetes:
- namespace_selector:
- - 'kubernetes.io/metadata.name={{ include "common.names.namespace" . }}'
- metrics:
- enabled: true
- service:
- ports:
- http: 8007
- https: 8008
- extraDeploy:
- - apiVersion: apps/v1
- kind: Deployment
- metadata:
- namespace: '{{ include "common.names.namespace" . }}'
- name: nginx-vib-tests
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: nginx
- template:
- metadata:
- labels:
- app: nginx
- spec:
- containers:
- - name: nginx
- image: bitnami/nginx
- ports:
- - containerPort: 8080
- securityContext:
- runAsNonRoot: true
- privileged: false
- allowPrivilegeEscalation: false
- capabilities:
- drop: ["ALL"]
- seccompProfile:
- type: "RuntimeDefault"
- - apiVersion: v1
- kind: Service
- metadata:
- name: nginx-vib-tests
- namespace: '{{ include "common.names.namespace" . }}'
- labels:
- app: nginx
- spec:
- selector:
- app: nginx
- ports:
- - port: 8080
- name: http
- targetPort: 8080
- - apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- namespace: '{{ include "common.names.namespace" . }}'
- name: vib-tests
- spec:
- ingressClassName: apisix
- rules:
- - host: www.example.com
- http:
- paths:
- - path: /
- pathType: ImplementationSpecific
- backend:
- service:
- name: nginx-vib-tests
- port:
- number: 8080
|