You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
482 B

  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: nginx-proxy
  5. namespace: kube-system
  6. labels:
  7. k8s-app: kube-nginx
  8. spec:
  9. hostNetwork: true
  10. containers:
  11. - name: nginx-proxy
  12. image: {{ nginx_image_repo }}:{{ nginx_image_tag }}
  13. imagePullPolicy: {{ k8s_image_pull_policy }}
  14. securityContext:
  15. privileged: true
  16. volumeMounts:
  17. - mountPath: /etc/nginx
  18. name: etc-nginx
  19. readOnly: true
  20. volumes:
  21. - name: etc-nginx
  22. hostPath:
  23. path: /etc/nginx