From 80582528db66b6bd4dee765916bfdd318596c2a5 Mon Sep 17 00:00:00 2001 From: dsloanather <125295549+dsloanather@users.noreply.github.com> Date: Fri, 31 Mar 2023 14:33:26 -0400 Subject: [PATCH 1/2] Remove hardcoded port NodePort is able to dynamically grab a port to bind to --- charts/athens-proxy/templates/service.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/charts/athens-proxy/templates/service.yaml b/charts/athens-proxy/templates/service.yaml index 9f650df..24187b3 100644 --- a/charts/athens-proxy/templates/service.yaml +++ b/charts/athens-proxy/templates/service.yaml @@ -18,9 +18,6 @@ spec: port: {{ .Values.service.servicePort }} targetPort: 3000 protocol: TCP - {{- if eq .Values.service.type "NodePort" }} - nodePort: {{ .Values.service.nodePort.port }} - {{- end }} selector: app: {{ template "fullname" . }} release: "{{ .Release.Name }}" From 42afdb112afbceb7420a6f16ac0d9a64fffe2682 Mon Sep 17 00:00:00 2001 From: dsloanather <125295549+dsloanather@users.noreply.github.com> Date: Fri, 31 Mar 2023 18:35:31 +0000 Subject: [PATCH 2/2] updating version and values.yml --- charts/athens-proxy/Chart.yaml | 2 +- charts/athens-proxy/values.yaml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/charts/athens-proxy/Chart.yaml b/charts/athens-proxy/Chart.yaml index 9da4ae8..44d6879 100644 --- a/charts/athens-proxy/Chart.yaml +++ b/charts/athens-proxy/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: athens-proxy -version: 0.5.9 +version: 0.5.10 appVersion: v0.11.0 description: The proxy server for Go modules icon: https://raw.githubusercontent.com/gomods/athens/main/docs/static/banner.png diff --git a/charts/athens-proxy/values.yaml b/charts/athens-proxy/values.yaml index 7888b43..31b685d 100644 --- a/charts/athens-proxy/values.yaml +++ b/charts/athens-proxy/values.yaml @@ -35,9 +35,6 @@ service: ## from within the cluster. To expose externally, consider a "NodePort" or "LoadBalancer" service. type: ClusterIP ## Further configuration if service is of type "NodePort" - nodePort: - ## Available port in allowable range (e.g. 30000 - 32767 on minikube) - port: 30080 ingress: enabled: false