Skip to content

Commit

Permalink
Updating the docs for using Robusta AI with session based auth (no ne…
Browse files Browse the repository at this point in the history
…ed for api key) (#1579)
  • Loading branch information
arikalon1 authored Oct 8, 2024
1 parent 9719306 commit 33045a3
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions docs/configuration/ai-analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,6 @@ Configuration
.. tab-item:: Robusta
:name: robusta-ai

1. Go into the robusta platform. In settings > API keys, create an api key with Robusta AI write capabilities.

.. image:: /images/robusta_ai/robusta_ai_api_key.png
:width: 600px

2. Get your account id from your ``generated_values.yaml`` file


Create a secret in the following format using both your account id and robusta API key:

.. code-block:: bash
kubectl create secret generic holmes-secrets --from-literal=openAiKey='<account id> <robusta api key>'
Update your helm values (``generated_values.yaml`` file) with the following configuration:

.. code-block:: yaml
Expand All @@ -53,14 +38,13 @@ Configuration
additionalEnvVars:
- name: ROBUSTA_AI
value: "true"
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: holmes-secrets
key: openAiKey
Run Helm upgrade to apply the new values: ``helm upgrade robusta robusta/robusta --values=generated_values.yaml --set clusterName=<YOUR_CLUSTER_NAME>``

.. note::

The Robusta mode is available only when using the Robusta UI

.. tab-item:: OpenAI
:name: open-ai

Expand Down

0 comments on commit 33045a3

Please sign in to comment.