peridot/ci/temporal.jsonnet
Mustafa Gezen ccd5fe7069
Fix comma so objects don't override
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-07-30 01:01:04 +02:00

16 lines
461 B
Plaintext

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',
},
],
}