From 1e11ab521f463de57dac0f4d41442273d8b8ad2c Mon Sep 17 00:00:00 2001 From: Alexander Rashed <2796604+alexrashed@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:25:35 +0100 Subject: [PATCH] cleanup command, dnsService, and docs (#107) --- charts/localstack/templates/deployment.yaml | 2 +- charts/localstack/test-values.yaml | 8 +++++--- charts/localstack/values.yaml | 10 ++++++++-- 3 files changed, 14 insertions(+), 6 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..72357a4 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -62,9 +62,13 @@ 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. +# 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 @@ -114,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