From 020b7b0effdaec69caaa8fdc6d67b5beee8b3087 Mon Sep 17 00:00:00 2001 From: raviteja Date: Wed, 9 Oct 2024 01:16:13 -0500 Subject: [PATCH 1/2] Updating k8s satellite installation for authn --- .../install-satellite/satellite-kubernetes.md | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/install-satellite/satellite-kubernetes.md b/docs/install-satellite/satellite-kubernetes.md index dc489aa67..66ce1f65f 100644 --- a/docs/install-satellite/satellite-kubernetes.md +++ b/docs/install-satellite/satellite-kubernetes.md @@ -170,23 +170,12 @@ Add below config to `values.yml` file to enable authentication for satellite API Refer to [Accessing Organization IDs](/integrations/common-tasks.md#accessing-organization-ids) for fetching the Organization ID. ```yaml -levoai-collector: - config: - data: - extensions: - levoauth: - org_id: - receivers: - otlp: - protocols: - grpc: - auth: - authenticator: levoauth - http: - auth: - authenticator: levoauth - service: - extensions: [health_check, memory_ballast, levoauth] +global: + levoai_config_override: + onprem-api: + org-id: +haproxy: + authnEnabled: false ``` Install satellite using this `values.yml`. @@ -198,6 +187,16 @@ helm upgrade --install -n levoai --create-namespace \ levoai-satellite levoai/levoai-satellite ``` +Otherwise, you can pass the `org-id` and `authnEnabled` as arguments to the helm command. + +```bash +helm upgrade --install -n levoai --create-namespace \ + --set global.levoai_config_override.onprem-api.refresh-token=$LEVOAI_AUTH_KEY \ + --set global.levoai_config_override.onprem-api.org-id= \ + --set haproxy.authnEnabled=true \ + levoai-satellite levoai/levoai-satellite +``` + Please proceed to [install Traffic Capture Sensors](/install-traffic-capture-sensors). --------------------------------------------------------- From 7aa31f9e572ae670832745fb78d4b596fb69c80d Mon Sep 17 00:00:00 2001 From: raviteja Date: Wed, 9 Oct 2024 13:52:26 -0500 Subject: [PATCH 2/2] Updating satelliteAuthnEnabled attribute --- docs/install-satellite/satellite-kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install-satellite/satellite-kubernetes.md b/docs/install-satellite/satellite-kubernetes.md index 66ce1f65f..0cb7e4210 100644 --- a/docs/install-satellite/satellite-kubernetes.md +++ b/docs/install-satellite/satellite-kubernetes.md @@ -175,7 +175,7 @@ global: onprem-api: org-id: haproxy: - authnEnabled: false + satelliteAuthnEnabled: false ``` Install satellite using this `values.yml`.