Skip to content

Commit

Permalink
Added details for base64 encoded key (robusta-dev#864)
Browse files Browse the repository at this point in the history
* Added details for base64 encoded key

* Updated deployment key example

---------

Co-authored-by: Pavan <pavangudiwada@users.noreply.github.com>
  • Loading branch information
pavangudiwada and pavangudiwada committed Nov 6, 2023
1 parent ba103ac commit 59d6891
Showing 1 changed file with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use in :ref:`customPlaybooks<customPlaybooks>`.
External actions are loaded using the ``playbookRepos`` Helm value, with either HTTPs or SSH.

Loading Actions from Public Git Repo
------------------------------------------
------------------------------------------

Use HTTPs to load actions:

Expand All @@ -40,12 +40,19 @@ This method works for public repos too:
# add the same playbooks as above, this time over ssh
my_extra_playbooks:
url: "git@github.com:robusta-dev/robusta-chaos.git"
key: |-
-----BEGIN OPENSSH PRIVATE KEY-----
ewfrcfsfvC1rZXktdjEAAAAABG5vb.....
-----END OPENSSH PRIVATE KEY-----
key: LS0tLS1CRUdJTiBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tL
The ``key`` parameter must contain a ``base64`` encoded deployment key with ``read`` access.

.. admonition:: Example deployment key

.. code-block:: yaml
-----BEGIN OPENSSH PRIVATE KEY-----
ewfrcfsfvC1rZXktdjEAAAAABG5vb.....
-----END OPENSSH PRIVATE KEY-----
The ``key`` parameter must contain a deployment key with ``read`` access.
Handling Secrets
*******************
Expand Down

0 comments on commit 59d6891

Please sign in to comment.