21 lines
399 B
Plaintext
21 lines
399 B
Plaintext
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: nginx-proxy
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
hostNetwork: true
|
||
|
containers:
|
||
|
- name: nginx-proxy
|
||
|
image: {{ nginx_image_repo }}:{{ nginx_image_tag }}
|
||
|
securityContext:
|
||
|
privileged: true
|
||
|
volumeMounts:
|
||
|
- mountPath: /etc/nginx
|
||
|
name: etc-nginx
|
||
|
readOnly: true
|
||
|
volumes:
|
||
|
- name: etc-nginx
|
||
|
hostPath:
|
||
|
path: /etc/nginx
|