From 30ca70d39304d964ad2a5904b0c483bef9346f09 Mon Sep 17 00:00:00 2001 From: Alexander Rashed Date: Thu, 11 Jan 2024 11:02:33 +0100 Subject: [PATCH 1/3] cleanup command --- charts/localstack/templates/deployment.yaml | 2 +- charts/localstack/test-values.yaml | 8 +++++--- charts/localstack/values.yaml | 4 ++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/charts/localstack/templates/deployment.yaml b/charts/localstack/templates/deployment.yaml index d75d656..ca2e668 100644 --- a/charts/localstack/templates/deployment.yaml +++ b/charts/localstack/templates/deployment.yaml @@ -43,7 +43,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if $.Values.command }} command: - {{ toYaml .Values.command.cmd | nindent 12 }} + {{ toYaml .Values.command | nindent 12 }} {{- end }} ports: - name: {{ .Values.service.edgeService.name }} diff --git a/charts/localstack/test-values.yaml b/charts/localstack/test-values.yaml index cc11f31..24f3409 100644 --- a/charts/localstack/test-values.yaml +++ b/charts/localstack/test-values.yaml @@ -3,9 +3,11 @@ # enable debugging debug: true - -# enable eager service loading with dynamodb -startServices: "dynamodb" +# modify the command to set the ulimit +command: + - /bin/bash + - -c + - echo 'ulimit -Sn 32767' >> /root/.bashrc && echo 'ulimit -Su 16383' >> /root/.bashrc && docker-entrypoint.sh # enable startup scripts, create a startup script which creates an SQS queue diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index 0971c48..e63e9de 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -62,6 +62,10 @@ securityContext: {} debug: false +## @param command Allows you to set an arbitrary command on startup (instead of the default entrypoint script) +## +command: [] + startServices: "" # Comma-separated list of AWS CLI service names which should be loaded right when starting LocalStack. If not set, each service is loaded and started on the first request for that service. From f5255d66f00a31683cd071a0ca9aca985cd90479 Mon Sep 17 00:00:00 2001 From: Alexander Rashed Date: Thu, 11 Jan 2024 11:03:15 +0100 Subject: [PATCH 2/3] cleanup startServices docs --- charts/localstack/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index e63e9de..fd43a87 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -68,7 +68,7 @@ command: [] startServices: "" -# Comma-separated list of AWS CLI service names which should be loaded right when starting LocalStack. If not set, each service is loaded and started on the first request for that service. +# Comma-separated list of AWS CLI service names which are the only ones allowed to be used (other services will then by default be prevented from being loaded). # kinesisErrorProbability: 0.0 From 47d6971ac3cf3e028e1b0b59d7e377d277fe001c Mon Sep 17 00:00:00 2001 From: Alexander Rashed Date: Thu, 11 Jan 2024 11:03:43 +0100 Subject: [PATCH 3/3] cleanup dnsService --- charts/localstack/values.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index fd43a87..72357a4 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -118,7 +118,9 @@ service: externalServicePorts: start: 4510 end: 4560 - # dnsService: true + ## @param service.dnsService Enables or disables the exposure of the LocalStack DNS + ## + dnsService: false ingress: enabled: false