From 7f39c2098157391f1c800036520581e5258c750a Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sat, 19 Feb 2022 13:14:30 +0100 Subject: fix deploy to work with gitlab agent --- deploy/environments/production/main.jsonnet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deploy') diff --git a/deploy/environments/production/main.jsonnet b/deploy/environments/production/main.jsonnet index b282754..5f1cf89 100644 --- a/deploy/environments/production/main.jsonnet +++ b/deploy/environments/production/main.jsonnet @@ -1,8 +1,8 @@ local k = import 'ksonnet-util/kausal.libsonnet'; local util = import 'util/main.libsonnet'; -function(tag, namespace, envSlug=null, projectPathSlug=null) - (util.inlineSpec('https://control.kube.cat:6443', namespace, envSlug, projectPathSlug)) +function(tag, namespace, apiserver='https://kube.vapor.systems:6443', envSlug=null, projectPathSlug=null) + (util.inlineSpec(apiserver, namespace, envSlug, projectPathSlug)) + { _config:: self.data._config, catinator:: self.data.catinator, @@ -23,7 +23,7 @@ function(tag, namespace, envSlug=null, projectPathSlug=null) statefulset+: statefulset.spec.template.spec.withInitContainers([ container.new('wait-for-egress', 'docker.io/busybox:latest') - + container.withCommand(['/bin/sleep', '30']), + + container.withCommand(['/bin/sleep', '10']), ]), }, }, -- cgit v1.2.3