Run container in a unpriviliged way

This commit is contained in:
Dennis Schmalacker 2021-01-11 15:29:04 +01:00
parent 0f2ea42f52
commit 6f1a1be286
3 changed files with 4 additions and 3 deletions

View File

@ -27,12 +27,13 @@ spec:
args:
- --tls-cert-file=/tls/tls.crt
- --tls-private-key-file=/tls/tls.key
- --secure-port=8443
env:
- name: GROUP_NAME
value: {{ .Values.groupName | quote }}
ports:
- name: https
containerPort: 443
containerPort: 8443
protocol: TCP
livenessProbe:
httpGet:

View File

@ -12,7 +12,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: https
targetPort: 8443
protocol: TCP
name: https
selector:

View File

@ -9,7 +9,7 @@
groupName: dns.hetzner.cloud
certManager:
namespace: kube-system
namespace: cert-manager
serviceAccountName: cert-manager
image: