From 5e00e7b03b308d1ce6cd7b3bffa2589e568c04b5 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Mon, 5 Feb 2024 14:42:57 -0800 Subject: [PATCH] add sandbox to local cluster resource path (#4837) Signed-off-by: Yee Hing Tong --- docs/community/contribute.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/community/contribute.rst b/docs/community/contribute.rst index b914769f93..d131334957 100644 --- a/docs/community/contribute.rst +++ b/docs/community/contribute.rst @@ -403,11 +403,11 @@ that integrates all Flyte components into a single binary. # We will now create a simple template that allows the automatic creation of required namespaces for projects. # For example, with Flyte's default project "flytesnacks", the controller will auto-create the following namespaces: # flytesnacks-staging, flytesnacks-development, and flytesnacks-production. - mkdir $HOME/.flyte/cluster-resource-templates/ + mkdir $HOME/.flyte/sandbox/cluster-resource-templates/ echo "apiVersion: v1 kind: Namespace metadata: - name: '{{ namespace }}'" > $HOME/.flyte/cluster-resource-templates/namespace.yaml + name: '{{ namespace }}'" > $HOME/.flyte/sandbox/cluster-resource-templates/namespace.yaml # Step5: Running the single binary. # The POD_NAMESPACE environment variable is necessary for the webhook to function correctly.