Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for plugin secrets management #4732

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions docs/deployment/plugins/webapi/databricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,32 +288,31 @@ Add the Databricks access token to FlytePropeller:

.. group-tab:: Helm chart

Create an external secret as follows:
Create a secret as follows (or add to it if it already exists from other plugins):

.. code-block:: bash

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
name: flyte-binary-client-secrets-external-secret
name: flyte-binary-external-services
namespace: flyte
type: Opaque
stringData:
FLYTE_DATABRICKS_API_TOKEN: <ACCESS_TOKEN>
EOF

Reference the newly created secret in
``.Values.configuration.auth.clientSecretsExternalSecretRef``
``.Values.configuration.inlineSecretRef``
in your YAML file as follows:

.. code-block:: yaml
:emphasize-lines: 3
:emphasize-lines: 2

configuration:
auth:
clientSecretsExternalSecretRef: flyte-binary-client-secrets-external-secret

inlineSecretRef: flyte-binary-external-services

Replace ``<ACCESS_TOKEN>`` with your access token.

.. group-tab:: Flyte core
Expand Down
13 changes: 6 additions & 7 deletions docs/deployment/plugins/webapi/snowflake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,32 +154,31 @@ Then, add the Snowflake JWT token to FlytePropeller.

.. group-tab:: Helm chart

Create an external secret as follows:
Create a secret as follows (or add to it if it already exists from other plugins):

.. code-block:: bash

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
name: flyte-binary-client-secrets-external-secret
name: flyte-binary-external-services
namespace: flyte
type: Opaque
stringData:
FLYTE_SNOWFLAKE_CLIENT_TOKEN: <JWT_TOKEN>
EOF

Reference the newly created secret in
``.Values.configuration.auth.clientSecretsExternalSecretRef``
``.Values.configuration.inlineSecretRef``
in your YAML file as follows:

.. code-block:: yaml
:emphasize-lines: 3
:emphasize-lines: 2

configuration:
auth:
clientSecretsExternalSecretRef: flyte-binary-client-secrets-external-secret

inlineSecretRef: flyte-binary-external-services

Replace ``<JWT_TOKEN>`` with your JWT token.

.. group-tab:: Flyte core
Expand Down
Loading