Merge pull request #20 from mstg/fix-default-temporal-ns

This commit is contained in:
Mustafa Gezen 2022-07-30 00:46:19 +02:00 committed by GitHub
commit 7885a467e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -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',
kube_env(prefix): {
kube_env(prefix): [
{
name: '%s_TEMPORAL_HOSTPORT' % prefix,
value: $.hostport,
}
{
name: 'TEMPORAL_NAMESPACE',
value: if utils.helm_mode then '{{ .Values.temporalNamespace | default !"!" }}' else 'default',
},
],
}

View File

@ -7,4 +7,5 @@ local localImage = if localEnvironment == "1" then true else false;
{
local_image: localImage,
docker_hub_image(name): "%s/%s" % [ociRegistryDocker, name],
helm_mode: false,
}