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: spec:
containers: containers:
- name: cert-manager-webhook-dnsimple - name: cert-manager-webhook-dnsimple
args: sysctls:
- --tls-cert-file=/tls/tls.crt - name: "net.ipv4.ip_unprivileged_port_start"
- --tls-private-key-file=/tls/tls.key value: "0"
- --secure-port 8443

View File

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