diff --git a/deployments/helm/shared-sqs/templates/deployment.yaml b/deployments/helm/shared-sqs/templates/deployment.yaml index f73828e..0c311d2 100644 --- a/deployments/helm/shared-sqs/templates/deployment.yaml +++ b/deployments/helm/shared-sqs/templates/deployment.yaml @@ -87,7 +87,3 @@ spec: port: 4100 initialDelaySeconds: 3 periodSeconds: 5 - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/deployments/helm/shared-sqs/templates/ingress.yaml b/deployments/helm/shared-sqs/templates/ingress.yaml new file mode 100644 index 0000000..27dc6ae --- /dev/null +++ b/deployments/helm/shared-sqs/templates/ingress.yaml @@ -0,0 +1,34 @@ +# ingress.yaml — Ingress для shared-sqs (условный, включается через values) +# Created: 2026-04-11 +{{- if .Values.ingress.enabled }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: shared-sqs-ingress + namespace: {{ .Values.namespace }} + labels: + {{- include "shared-sqs.labels" . | nindent 4 }} + {{- with .Values.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + ingressClassName: {{ .Values.ingress.className }} + rules: + - host: {{ .Values.ingress.host }} + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: shared-sqs + port: + number: 4100 + {{- if .Values.ingress.tls.enabled }} + tls: + - hosts: + - {{ .Values.ingress.host }} + secretName: {{ .Values.ingress.tls.secretName }} + {{- end }} +{{- end }}