From 41fb6915b36021662cdd5df6aabd67080e2c7b9c Mon Sep 17 00:00:00 2001 From: Anna Song Date: Tue, 10 May 2022 11:21:43 -0700 Subject: [PATCH] Document remote files in remoteBuild.md (#4624) * Add file to remote build spec * Address PR feedback --- examples/remoteBuild.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/remoteBuild.md b/examples/remoteBuild.md index ea86e28aa7..bd3e777176 100644 --- a/examples/remoteBuild.md +++ b/examples/remoteBuild.md @@ -1,5 +1,7 @@ # remote targets +## remote directories + `kustomize build` can be run on a URL. Resources can also reference other kustomization directories via URLs too. @@ -24,6 +26,11 @@ SSH clones are also supported either with `git@github.com:owner/repo` or `file:///` clones are not supported. +## remote files +Resources can reference remote files via their raw GitHub urls, such +as `https://raw.githubusercontent.com/kubernetes-sigs/kustomize/8ea501347443c7760217f2c1817c5c60934cf6a5/examples/helloWorld/deployment.yaml` +. + # Examples To try this immediately, run a build against the kustomization