From 063fe3edb565d2ddbdf9ce30eb521cbaff0ad354 Mon Sep 17 00:00:00 2001 From: Nick Niehoff Date: Mon, 13 Sep 2021 20:24:00 +0000 Subject: [PATCH] Changing ports --- charts/nautobot/README.md | 4 ++-- charts/nautobot/templates/service.yaml | 4 ++-- charts/nautobot/values.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/nautobot/README.md b/charts/nautobot/README.md index a1caa6a6..afd7272b 100644 --- a/charts/nautobot/README.md +++ b/charts/nautobot/README.md @@ -247,12 +247,12 @@ Nautobot is a Network Source of Truth and Network Automation Platform. | service.annotations | object | `{}` | | | service.clusterIP | string | `nil` | | | service.externalTrafficPolicy | string | `"Cluster"` | | -| service.httpsPort | int | `8443` | | +| service.httpsPort | int | `443` | | | service.loadBalancerIP | string | `nil` | | | service.loadBalancerSourceRanges | list | `[]` | | | service.nodePorts.http | string | `nil` | | | service.nodePorts.https | string | `nil` | | -| service.port | int | `8080` | | +| service.port | int | `80` | | | service.type | string | `"ClusterIP"` | | | serviceAccount.create | bool | `true` | | | serviceAccount.name | string | `""` | | diff --git a/charts/nautobot/templates/service.yaml b/charts/nautobot/templates/service.yaml index 81cf9b32..55c6b222 100644 --- a/charts/nautobot/templates/service.yaml +++ b/charts/nautobot/templates/service.yaml @@ -25,11 +25,11 @@ spec: {{- end }} ports: - protocol: "TCP" - port: 443 + port: {{ .Values.service.httpsPort }} targetPort: "https" name: "https" - protocol: "TCP" - port: 80 + port: {{ .Values.service.port }} targetPort: "http" name: "http" selector: {{- include "common.labels.matchLabels" . | nindent 4 }} diff --git a/charts/nautobot/values.yaml b/charts/nautobot/values.yaml index cc14d8d0..244c0bfe 100644 --- a/charts/nautobot/values.yaml +++ b/charts/nautobot/values.yaml @@ -9,10 +9,10 @@ service: type: "ClusterIP" ## @param service.port nautobot service HTTP port ## - port: 8080 + port: 80 ## @param service.httpsPort nautobot service HTTPS port ## - httpsPort: 8443 + httpsPort: 443 ## Node ports to expose ## @param service.nodePorts.http Node port for HTTP ## @param service.nodePorts.https Node port for HTTPS