From 8be662dc8130b0966d4144327f8f9016b15c60cf Mon Sep 17 00:00:00 2001 From: Robbie Hunt <69302142+robbie-hunt@users.noreply.github.com> Date: Fri, 21 Jan 2022 17:49:00 +0000 Subject: [PATCH] Comment out ports and add description for them I've commented out the containerPort lines and added a description above them, so that people are aware to uncomment and change the port as they wish --- wg-easy_kubefile.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/wg-easy_kubefile.yaml b/wg-easy_kubefile.yaml index 805c33d4..03469722 100644 --- a/wg-easy_kubefile.yaml +++ b/wg-easy_kubefile.yaml @@ -49,12 +49,14 @@ spec: image: docker.io/weejewel/wg-easy:latest name: wg-easy ports: - - containerPort: 51820 - hostPort: 51820 - protocol: UDP - - containerPort: 51821 - hostPort: 51821 - protocol: TCP + # Change hostPort to WG_HOST + #- containerPort: 51820 + # hostPort: 51820 + # protocol: UDP + # Change hostPort to whatever port you want for web UI + #- containerPort: 51821 + # hostPort: 51821 + # protocol: TCP resources: {} securityContext: allowPrivilegeEscalation: true