helm: hardcode port 4100, remove service block from values.yaml
This commit is contained in:
@@ -29,7 +29,7 @@ spec:
|
|||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.service.port }}
|
- containerPort: 4100
|
||||||
name: http
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: SHARED_SQS_ADMIN_TOKEN
|
- name: SHARED_SQS_ADMIN_TOKEN
|
||||||
@@ -80,13 +80,13 @@ spec:
|
|||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: {{ .Values.probes.liveness.path }}
|
path: {{ .Values.probes.liveness.path }}
|
||||||
port: {{ .Values.service.port }}
|
port: 4100
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
|
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: {{ .Values.probes.readiness.path }}
|
path: {{ .Values.probes.readiness.path }}
|
||||||
port: {{ .Values.service.port }}
|
port: 4100
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
|
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- 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
|
||||||
@@ -57,11 +57,6 @@ resources:
|
|||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
|
|
||||||
# Порт внутри контейнера. Менять не нужно.
|
|
||||||
service:
|
|
||||||
type: ClusterIP
|
|
||||||
port: 4100
|
|
||||||
|
|
||||||
# Ingress — открывает сервис наружу по домену.
|
# Ingress — открывает сервис наружу по домену.
|
||||||
# host: ваш домен, который должен указывать на IP ingress-контроллера кластера.
|
# host: ваш домен, который должен указывать на IP ingress-контроллера кластера.
|
||||||
# После деплоя cert-manager автоматически выпустит TLS-сертификат.
|
# После деплоя cert-manager автоматически выпустит TLS-сертификат.
|
||||||
|
|||||||
Reference in New Issue
Block a user