peridot/ci/temporal.jsonnet

16 lines
460 B
Plaintext
Raw Normal View History

2022-07-07 20:11:50 +00:00
local utils = import 'ci/utils.jsonnet';
{
hostport: if utils.local_image then 'temporal-frontend.default.svc.cluster.local:7233' else 'workflow-temporal-frontend.workflow.svc.cluster.local:7233',
kube_env(prefix): [
{
name: '%s_TEMPORAL_HOSTPORT' % prefix,
value: $.hostport,
}
{
name: 'TEMPORAL_NAMESPACE',
value: if utils.helm_mode then '{{ .Values.temporalNamespace | default !"!" }}' else 'default',
},
],
2022-07-07 20:11:50 +00:00
}