DodoApp: Filter domains
Change-Id: I475f6b6c9d00ccc0214c54f22c6c8fd428cd996d
diff --git a/core/installer/values-tmpl/dodo-app-instance.cue b/core/installer/values-tmpl/dodo-app-instance.cue
index e22f177..e0d6906 100644
--- a/core/installer/values-tmpl/dodo-app-instance.cue
+++ b/core/installer/values-tmpl/dodo-app-instance.cue
@@ -15,7 +15,6 @@
readme: "Deploy app by pushing to Git repository"
description: "Deploy app by pushing to Git repository"
icon: ""
-_domain: "\(input.subdomain).\(input.network.domain)"
resources: {
"config-kustomization": {
diff --git a/core/installer/values-tmpl/dodo-app.cue b/core/installer/values-tmpl/dodo-app.cue
index 99d4418..974225f 100644
--- a/core/installer/values-tmpl/dodo-app.cue
+++ b/core/installer/values-tmpl/dodo-app.cue
@@ -8,7 +8,8 @@
network: #Network @name(Network)
subdomain: string @name(Subdomain)
sshPort: int @name(SSH Port) @role(port)
- adminKey: string @name(Admin SSH Public Key)
+ adminKey: string | *"" @name(Admin SSH Public Key)
+ allowedNetworks: string | *"" @name(Allowed Networks)
// TODO(gio): auto generate
ssKeys: #SSHKey
@@ -117,6 +118,7 @@
appAdminKey: input.adminKey
gitRepoPublicKey: input.ssKeys.public
persistentVolumeClaimName: volumes.db.name
+ allowedNetworks: input.allowedNetworks
}
}
}