From 994a55dca5dd75fc02e41230ae81a5eba3121473 Mon Sep 17 00:00:00 2001 From: sdowell Date: Fri, 26 Aug 2022 18:50:41 -0700 Subject: [PATCH] add resourcegroup vanity server (#3505) --- firebase.json | 4 ++++ firebase/functions/index.js | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/firebase.json b/firebase.json index d91632abea..f9a1dcefa6 100644 --- a/firebase.json +++ b/firebase.json @@ -13,6 +13,10 @@ "source": "/configsync{,/**}", "function": "configsync" }, + { + "source": "/resourcegroup{,/**}", + "function": "resourcegroup" + }, { "regex": "^[/\\w\\.-]+[^\\.]..$", "destination": "/index.html" diff --git a/firebase/functions/index.js b/firebase/functions/index.js index 90ec6100eb..4d88be2cd4 100644 --- a/firebase/functions/index.js +++ b/firebase/functions/index.js @@ -39,3 +39,9 @@ exports.configsync = vanityGoEndpoint({ vcs: 'git', repoRoot: 'https://github.com/GoogleContainerTools/kpt-config-sync.git' }); + +exports.resourcegroup = vanityGoEndpoint({ + importPrefix: "kpt.dev/resourcegroup", + vcs: "git", + repoRoot: "https://github.com/GoogleContainerTools/kpt-resource-group.git", +});