Skip to content

Commit

Permalink
add resourcegroup vanity server (#3505)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdowell committed Aug 27, 2022
1 parent 08b929c commit 994a55d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions firebase.json
Expand Up @@ -13,6 +13,10 @@
"source": "/configsync{,/**}",
"function": "configsync"
},
{
"source": "/resourcegroup{,/**}",
"function": "resourcegroup"
},
{
"regex": "^[/\\w\\.-]+[^\\.]..$",
"destination": "/index.html"
Expand Down
6 changes: 6 additions & 0 deletions firebase/functions/index.js
Expand Up @@ -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",
});

0 comments on commit 994a55d

Please sign in to comment.