File tree Expand file tree Collapse file tree
tests/templates/kuttl/custom-components-git-sync Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 events {}
99 http {
1010 server {
11- listen 443 ssl;
11+ listen 8443 ssl;
1212 server_name _;
1313
1414 ssl_certificate /etc/nginx/tls/tls.crt;
@@ -49,23 +49,31 @@ spec:
4949 spec :
5050 containers :
5151 - name : nginx
52- image : nginx:alpine
52+ image : nginxinc/ nginx-unprivileged :alpine
5353 ports :
54- - containerPort : 443
54+ - containerPort : 8443
5555 volumeMounts :
5656 - name : config
5757 mountPath : /etc/nginx/nginx.conf
5858 subPath : nginx.conf
5959 - name : tls
6060 mountPath : /etc/nginx/tls
6161 readOnly : true
62+ - name : cache
63+ mountPath : /var/cache/nginx
64+ - name : run
65+ mountPath : /var/run
6266 volumes :
6367 - name : config
6468 configMap :
6569 name : git-proxy-config
6670 - name : tls
6771 secret :
6872 secretName : git-proxy-tls
73+ - name : cache
74+ emptyDir : {}
75+ - name : run
76+ emptyDir : {}
6977---
7078apiVersion : v1
7179kind : Service
7684 app : git-proxy
7785 ports :
7886 - port : 443
79- targetPort : 443
87+ targetPort : 8443
You can’t perform that action at this time.
0 commit comments