helm: hardcode port 4100, remove service block from values.yaml

This commit is contained in:
Naeel
2026-04-13 06:45:45 +03:00
parent 494a8a84d4
commit c86f865be7
3 changed files with 21 additions and 8 deletions
@@ -29,7 +29,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.service.port }}
- containerPort: 4100
name: http
env:
- name: SHARED_SQS_ADMIN_TOKEN
@@ -80,13 +80,13 @@ spec:
livenessProbe:
httpGet:
path: {{ .Values.probes.liveness.path }}
port: {{ .Values.service.port }}
port: 4100
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
readinessProbe:
httpGet:
path: {{ .Values.probes.readiness.path }}
port: {{ .Values.service.port }}
port: 4100
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
{{- with .Values.imagePullSecrets }}
@@ -0,0 +1,18 @@
# service.yaml — Service для shared-sqs
# Created: 2026-04-11
apiVersion: v1
kind: Service
metadata:
name: shared-sqs
namespace: {{ .Values.namespace }}
labels:
{{- include "shared-sqs.labels" . | nindent 4 }}
spec:
type: ClusterIP
selector:
{{- include "shared-sqs.selectorLabels" . | nindent 4 }}
ports:
- name: http
port: 4100
targetPort: 4100
protocol: TCP
-5
View File
@@ -57,11 +57,6 @@ resources:
memory: "256Mi"
cpu: "500m"
# Порт внутри контейнера. Менять не нужно.
service:
type: ClusterIP
port: 4100
# Ingress — открывает сервис наружу по домену.
# host: ваш домен, который должен указывать на IP ingress-контроллера кластера.
# После деплоя cert-manager автоматически выпустит TLS-сертификат.