)
command = (
"env KUBECONFIG=./tmp/helm_cluster_id/.kube/config /usr/bin/helm upgrade "
- "--atomic --output yaml --timeout 300 stable-openldap-0005399828 stable/openldap --version 1.2.3"
+ "--atomic --output yaml --timeout 300 --reuse-values stable-openldap-0005399828 stable/openldap "
+ "--version 1.2.3"
)
self.helm_conn._local_async_exec.assert_called_with(
command=command, env=self.env, raise_exception_on_error=False
command = (
"env KUBECONFIG=./tmp/helm_cluster_id/.kube/config "
"/usr/bin/helm upgrade --atomic --output yaml --set replicaCount=2 "
- "--timeout 1800s stable-openldap-0005399828 stable/openldap "
+ "--timeout 1800 --reuse-values stable-openldap-0005399828 stable/openldap "
"--version 1.2.3"
)
self.helm_conn._local_async_exec.assert_called_once_with(
command = (
"env KUBECONFIG=./tmp/helm_cluster_id/.kube/config "
"/usr/bin/helm upgrade --atomic --output yaml --set dummy-app.replicas=3 "
- "--timeout 1800s stable-openldap-0005399828 stable/openldap "
+ "--timeout 1800 --reuse-values stable-openldap-0005399828 stable/openldap "
"--version 1.2.3"
)
self.helm_conn._local_async_exec.assert_called_with(