From 7ac364bb46dd0e4e19f940fe7b67f589ef6b9f95 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 29 Apr 2024 00:51:47 +0200 Subject: Switch to k3s from kind --- k8s/rest-api/templates/service.yaml | 4 ++-- k8s/rest-api/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'k8s/rest-api') diff --git a/k8s/rest-api/templates/service.yaml b/k8s/rest-api/templates/service.yaml index 4942d60..12994b1 100644 --- a/k8s/rest-api/templates/service.yaml +++ b/k8s/rest-api/templates/service.yaml @@ -7,8 +7,8 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.port }} - nodePort: 30124 + - port: 9999 + targetPort: 80 protocol: TCP name: http selector: diff --git a/k8s/rest-api/values.yaml b/k8s/rest-api/values.yaml index 63d7d5c..e444f95 100644 --- a/k8s/rest-api/values.yaml +++ b/k8s/rest-api/values.yaml @@ -37,8 +37,8 @@ securityContext: {} # runAsUser: 1000 service: - type: NodePort - port: 80 + type: LoadBalancer + port: 80 ingress: enabled: false -- cgit 1.4.1