Allow binding to low port then

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-10-30 10:29:45 +01:00
parent 75abd65e5f
commit 3b8fccd8cf
3 changed files with 3 additions and 23 deletions

View File

@ -7,7 +7,6 @@ spec:
spec:
containers:
- name: cert-manager-webhook-dnsimple
args:
- --tls-cert-file=/tls/tls.crt
- --tls-private-key-file=/tls/tls.key
- --secure-port 8443
sysctls:
- name: "net.ipv4.ip_unprivileged_port_start"
value: "0"

View File

@ -20,10 +20,6 @@ patches:
target:
kind: Deployment
name: dnsimple-cert-manager-webhook-dnsimple
- path: port.yaml
target:
kind: Deployment
name: dnsimple-cert-manager-webhook-dnsimple
- patch: |-
- op: replace
path: /apiVersion

View File

@ -1,15 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: not-important
spec:
template:
spec:
containers:
- name: cert-manager-webhook-dnsimple
ports:
- port: 443
$patch: delete
- name: https
containerPort: 8443
protocol: TCP