mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-23 13:41:26 +00:00
18 lines
547 B
Plaintext
18 lines
547 B
Plaintext
local utils = import 'ci/utils.jsonnet';
|
|
|
|
{
|
|
hostport: if utils.local_image then 'temporal-frontend.default.svc.cluster.local:7233'
|
|
else if utils.helm_mode then '{{ .Values.temporalHostPort }}'
|
|
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',
|
|
},
|
|
],
|
|
}
|