metadata.annotations
tag. They add important information about your application, such as: Identifier, dependencies, connectivity definitions and more. metadata.annotations
velocity.tech.v1/{directive}
{velocity.v1.<Property>}
for global templates or {velocity.v1:<Velocity Service>.<Property>}
for service-level templates.velocity.tech.v1/id: {value}
.velocity.tech.v1/dependsOn
with a comma-separated list of velocity identifiers (defined by the velocity.tech.v1/id
annotation) of the dependent services.'{velocity.v1:mysql.exposures(port=mysqlport).uri}'
schema://user:[email protected]
you need to explicitly define the application parameters when exposing a port. {velocity.v1:<id>.exposures(port=<port_id>).<internal_url_segment>}
<internal_url_segment>
: uri
-> scheme://user:[email protected]:port scheme
-> scheme (http, https, etc...)user
-> user (the username segment of the exposure)password
-> password (the password segment of the exposure)host
-> host (service name)port
-> port (service port)
{velocity.v1.domainSuffix}
template that generates a different domain suffix for each created environment{velocity.v1.domainSuffix}
environmentName.domainName
{velocity.v1.generate:random}
Velocity Template which will be resolved into a string upon provisioning. The syntax supports two options: {velocity.v1.generate:random}
{velocity.v1.generate:random([a-zA-Z0-9]{8})}
{velocity.v1.envName}
{velocity.v1.domainName}
{velocity.v1.domainSuffix}
velocity.tech.v1/exports-<variable>
velocity.tech.v1/dependsOn
annotation.{key}: {velocity/v1:id.exports.variable}
use-same-port:true
velocity.tech.v1/local-useSamePort: "true"