Skip to content

Commit 60dd852

Browse files
committed
Merge branch 'master' into feature/dashboard-storage
2 parents 55d2bb6 + 4648865 commit 60dd852

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

manifests/templates/deployment/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: ""
1+
apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ .Deployment.OperatorDeploymentName }}

pkg/util/k8sutil/pods.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
449449
p.Spec.Containers = append(p.Spec.Containers, c)
450450

451451
// Add UUID init container
452-
p.Spec.InitContainers = append(p.Spec.InitContainers, arangodInitContainer("uuid", id, engine, alpineImage, requireUUID))
452+
if alpineImage != "" {
453+
p.Spec.InitContainers = append(p.Spec.InitContainers, arangodInitContainer("uuid", id, engine, alpineImage, requireUUID))
454+
}
453455

454456
// Add volume
455457
if pvcName != "" {

tests/change_args_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import (
4141
// TestChangeArgsAgents tests the creating of an active failover deployment
4242
// with default settings and once ready changes the arguments of the agents.
4343
func TestChangeArgsAgents(t *testing.T) {
44+
longOrSkip(t)
4445
c := client.MustNewInCluster()
4546
kubecli := mustNewKubeClient(t)
4647
ns := getNamespace(t)
@@ -119,6 +120,7 @@ func TestChangeArgsAgents(t *testing.T) {
119120
// TestChangeArgsDBServer tests the creating of a cluster deployment
120121
// with default settings and once ready changes the arguments of the dbservers.
121122
func TestChangeArgsDBServer(t *testing.T) {
123+
longOrSkip(t)
122124
c := client.MustNewInCluster()
123125
kubecli := mustNewKubeClient(t)
124126
ns := getNamespace(t)

0 commit comments

Comments
 (0)