mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 17:08:29 +00:00
Use default namespace if not specified for Temporal in non-Helm mode
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
This commit is contained in:
parent
d0460edd69
commit
dfe1fb4bd3
@ -2,8 +2,14 @@ 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',
|
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): {
|
kube_env(prefix): [
|
||||||
name: '%s_TEMPORAL_HOSTPORT' % prefix,
|
{
|
||||||
value: $.hostport,
|
name: '%s_TEMPORAL_HOSTPORT' % prefix,
|
||||||
}
|
value: $.hostport,
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: 'TEMPORAL_NAMESPACE',
|
||||||
|
value: if utils.helm_mode then '{{ .Values.temporalNamespace | default !"!" }}' else 'default',
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user