-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added auto namespace change with PVS
- Loading branch information
1 parent
ff3eab4
commit 2b5190f
Showing
2 changed files
with
215 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
docs/tutorials/starting-with-porch/name-namespace-variant.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: config.porch.kpt.dev/v1alpha2 | ||
kind: PackageVariantSet | ||
|
||
metadata: | ||
name: network-function-auto-namespace | ||
namespace: porch-demo | ||
|
||
spec: | ||
upstream: | ||
repo: management | ||
package: network-function-auto-namespace | ||
revision: v1 | ||
targets: | ||
- repositories: | ||
- name: edge1 | ||
packageNames: | ||
- network-function-auto-namespace-x | ||
- network-function-auto-namespace-y | ||
template: | ||
downstream: | ||
packageExpr: "target.package + '-cumulonimbus'" |