From 2b4c10920e1ee5e5ffc6107f56b445066c0b674b Mon Sep 17 00:00:00 2001 From: Chad Beaulac Date: Wed, 10 Jan 2024 17:50:10 -0800 Subject: [PATCH] Allow override of entrypoint to set open file descritors (#104) * Add command to override the entrypoint in order to set open file descrioptor limits * remove comment --- charts/localstack/templates/deployment.yaml | 4 ++++ charts/localstack/values.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/localstack/templates/deployment.yaml b/charts/localstack/templates/deployment.yaml index af949a7..d75d656 100644 --- a/charts/localstack/templates/deployment.yaml +++ b/charts/localstack/templates/deployment.yaml @@ -41,6 +41,10 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- if $.Values.command }} + command: + {{ toYaml .Values.command.cmd | nindent 12 }} + {{- end }} ports: - name: {{ .Values.service.edgeService.name }} containerPort: {{ .Values.service.edgeService.targetPort }} diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index 0164140..0971c48 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -114,7 +114,7 @@ service: externalServicePorts: start: 4510 end: 4560 -# dnsService: true + # dnsService: true ingress: enabled: false