mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Fixed tests once again.
This commit is contained in:
parent
b60e34f9d3
commit
387fb82b4d
2 changed files with 10 additions and 7 deletions
|
@ -1,18 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
LICENSE=$2
|
||||
NS=$1
|
||||
|
||||
if [ -z $LICENSE ]; then
|
||||
echo "No enterprise license set"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z $NS ]; then
|
||||
echo "Specify a namespace argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z $2 ]; then
|
||||
echo "No enterprise license set"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
LICENSE=$(echo -n "$2" | base64 -w 0)
|
||||
|
||||
kubectl apply -f - <<EOF
|
||||
apiVersion: v1
|
||||
data:
|
||||
|
|
|
@ -250,7 +250,9 @@ func newDeployment(name string) *api.ArangoDeployment {
|
|||
},
|
||||
Spec: api.DeploymentSpec{
|
||||
ImagePullPolicy: util.NewPullPolicy(v1.PullAlways),
|
||||
LicenseKey: util.NewString(TestEnterpriseLicenseKeySecretName),
|
||||
License: api.LicenseSpec{
|
||||
SecretName: util.NewString(TestEnterpriseLicenseKeySecretName),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue