From 18699cbfc82800220806e05561e0636a45929f8a Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 20 Apr 2020 10:52:36 -0400 Subject: [PATCH] enable admin portal --- custom/deploy.yaml | 6 ++++-- custom/middlewares.yaml | 10 ---------- custom/service.yaml | 6 +++++- 3 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 custom/middlewares.yaml diff --git a/custom/deploy.yaml b/custom/deploy.yaml index a5d1d12..7becbb8 100644 --- a/custom/deploy.yaml +++ b/custom/deploy.yaml @@ -30,5 +30,7 @@ spec: ports: - name: web containerPort: 9080 - - name: tcpep - containerPort: 9443 \ No newline at end of file + - name: websecure + containerPort: 9443 + - name: admin + containerPort: 8080 \ No newline at end of file diff --git a/custom/middlewares.yaml b/custom/middlewares.yaml deleted file mode 100644 index e49f78e..0000000 --- a/custom/middlewares.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# Redirect to https -apiVersion: traefik.containo.us/v1alpha1 -kind: Middleware -metadata: - name: test-redirectscheme - namespace: kube-system -spec: - redirectScheme: - scheme: https - permanent: true \ No newline at end of file diff --git a/custom/service.yaml b/custom/service.yaml index 0aed03d..a931140 100644 --- a/custom/service.yaml +++ b/custom/service.yaml @@ -15,4 +15,8 @@ spec: - protocol: TCP port: 9443 name: websecure - targetPort: 9443 \ No newline at end of file + targetPort: 9443 + - protocol: TCP + port: 8080 + name: admin + targetPort: 8080 \ No newline at end of file