Compare commits

...

2 Commits

Author SHA1 Message Date
60f93063a5
Fix namespace
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-02-15 11:51:12 +00:00
0492bad785
Renenable proxy
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-02-15 11:48:10 +00:00

View File

@ -336,7 +336,7 @@ subjects:
apiVersion: v1
data:
allow-snippet-annotations: "true"
# use-proxy-protocol: "true"
use-proxy-protocol: "true"
log-format-upstream: '{"time": "$time_iso8601", "request_id": "$req_id", "remote_user": "$remote_user", "bytes_sent": $bytes_sent, "request_time": $request_time, "status": $status, "host": "$host", "request_proto": "$server_protocol", "path": "$uri", "request_query": "$args", "request_length": $request_length, "duration": $request_time,"method": "$request_method", "http_referrer": "$http_referer", "http_user_agent": "$http_user_agent", "redirect_location": "$redirect_location" }'
plugins: "redirect_location"
location-snippet: |
@ -355,9 +355,6 @@ metadata:
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
meta.helm.sh/release-name: kapsule-ingress
meta.helm.sh/release-namespace: kube-system
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: ingress-nginx
@ -366,7 +363,7 @@ metadata:
k8s.scw.cloud/object: ConfigMap
k8s.scw.cloud/system: ingress
name: ingress-nginx-plugin-redirect-location
namespace: kube-system
namespace: ingress-nginx
data:
main.lua: |
local ngx = ngx