From 29ca95771472e1dbed7def69764e59d8aa1a433b Mon Sep 17 00:00:00 2001 From: Sylvain Gaudan Date: Mon, 23 Feb 2026 11:15:22 +0100 Subject: [PATCH 1/2] remove unused custom values --- docs/docs/arlas_exploration_stack_helm.md | 12 +----------- k8s/scripts/configure_for_tests.sh | 14 -------------- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100755 k8s/scripts/configure_for_tests.sh diff --git a/docs/docs/arlas_exploration_stack_helm.md b/docs/docs/arlas_exploration_stack_helm.md index 49e41c9..2133bee 100644 --- a/docs/docs/arlas_exploration_stack_helm.md +++ b/docs/docs/arlas_exploration_stack_helm.md @@ -56,15 +56,7 @@ The default storage class of the cluster might have a `delete` reclaim policy. F ### Configuration -Most of the configuration should be done by setting values for the charts. Default values are set in the `values.yaml` files of the various charts. The `k8s/charts/arlas-stack/values_template.yaml` file is a __template__ that contains the values for a coherent stack deployment. If you need to change values, __do not modify directly this template file__. Instead, create a file in the project root directory named `custom_values.yaml` and set there the values you want to overwrite. Bellow is an example: - -```yaml -global: - dnsDomain: &arlasAppDnsDomain site.mydomain.io - elasticDnsDomain: &arlasAppElasticDnsDomain elastic.mydomain.k8s - minioDnsDomain: &arlasAppMinioDnsDomain minio.mydomain.k8s - keycloakDnsDomain: &arlasAppKeycloakDnsDomain keycloak.mydomain.k8s -``` +Most of the configuration should be done by setting values for the charts. Default values are set in the `values.yaml` files of the various charts. IMPORTANT: the passwords must be configured before the first install of the chart! @@ -144,8 +136,6 @@ Four services are exposed with an ingress: - `apisix`, which serves ARLAS and AIAS, default DNS is `site.arlas.k8s` - `minio`, which serves as the object store, default DNS is `minio.arlas.k8s` -These DNS names can be changed in `custom_values.yaml` with the model in `k8s/charts/arlas-stack/values.yaml`. - In a test environment, you will need to link the ingress external IP with the domain names of the services. You can for instance add them in /etc/hosts: ``` diff --git a/k8s/scripts/configure_for_tests.sh b/k8s/scripts/configure_for_tests.sh deleted file mode 100755 index 45bce3c..0000000 --- a/k8s/scripts/configure_for_tests.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -set -o errexit -o pipefail -IP=$(hostname -I | awk '{print $1}') -DOMAIN=${IP}.nip.io - - -echo " -global: - dnsDomain: &arlasAppDnsDomain 'site.${DOMAIN}' - elasticDnsDomain: &arlasAppElasticDnsDomain 'elastic.${DOMAIN}' - keycloakDnsDomain: &arlasAppKeycloakDnsDomain 'keycloak.${DOMAIN}' - keycloak: - url: &arlasAppKeycloakUrl 'https://keycloak.${DOMAIN}/auth' - authIssuer: &arlasAppAuthIssuer 'https://keycloak.${DOMAIN}/auth/realms/arlas'" > custom_values.yaml From 01840b495f0462dd5469616ba4c9718b65776cb7 Mon Sep 17 00:00:00 2001 From: Sylvain Gaudan Date: Mon, 23 Feb 2026 11:27:19 +0100 Subject: [PATCH 2/2] remove configure_for_tests from script --- .github/workflows/k8s_tests.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/k8s_tests.yaml b/.github/workflows/k8s_tests.yaml index 7b8b31c..69f80fe 100644 --- a/.github/workflows/k8s_tests.yaml +++ b/.github/workflows/k8s_tests.yaml @@ -30,9 +30,6 @@ jobs: - name: Install yq run: sudo snap install yq - - - name: Configure dns naming - run: ./k8s/scripts/configure_for_tests.sh - name: deploy arlas run: ./k8s/scripts/start.sh