--- apiVersion: apps/v1 kind: Deployment metadata: name: ingress-proxy namespace: istio-system labels: app: ingress-proxy spec: replicas: 1 selector: matchLabels: app: ingress-proxy template: metadata: labels: app: ingress-proxy spec: serviceAccountName: ingress-proxy nodeSelector: kubernetes.io/hostname: MASTERNODE tolerations: - operator: Exists effect: NoSchedule containers: - name: nginx image: nginx@sha256:2911ad2d54f4cf4dc7ad21af122c1eefce16836a34be751c63351ca1fb452d57 # nginx:mainline-alpine volumeMounts: - name: ingress-proxy mountPath: /etc/nginx securityContext: allowPrivilegeEscalation: false capabilities: drop: ["ALL"] add: - SETUID - SETGID - NET_BIND_SERVICE ports: - name: http containerPort: 80 hostPort: 80 protocol: TCP - name: https containerPort: 443 hostPort: 443 protocol: TCP volumes: - name: ingress-proxy configMap: name: ingress-proxy