You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running integration tests in the secrets-provider-for-k8s, a Conjur environment is deployed in K8s. When an error occurs or the tests have run to completion, the environment is stopped which removes the conjur environment and any created namespaces and roles.
Clean up cannot take place to completion due to the following error: ../kubernetes-conjur-deploy-94a25c3c-0/stop: line 8: cli: unbound variable
The error points to here: $cli delete namespace $CONJUR_NAMESPACE_NAME
Therefore a simple, export cli= in the code below should do the trick
if [ $PLATFORM = 'kubernetes' ]; then
cli=kubectl
elif [ $PLATFORM = 'openshift' ]; then
cli=oc
If we do not make this addition the OC cluster will be overloaded
The text was updated successfully, but these errors were encountered:
When running integration tests in the
secrets-provider-for-k8s
, a Conjur environment is deployed in K8s. When an error occurs or the tests have run to completion, the environment is stopped which removes the conjur environment and any created namespaces and roles.Clean up cannot take place to completion due to the following error:
../kubernetes-conjur-deploy-94a25c3c-0/stop: line 8: cli: unbound variable
The error points to here:
$cli delete namespace $CONJUR_NAMESPACE_NAME
Therefore a simple,
export cli=
in the code below should do the trickIf we do not make this addition the OC cluster will be overloaded
The text was updated successfully, but these errors were encountered: