Skip to content

Commit 247407a

Browse files
author
Barkha Choithani
committed
updated values file and formatted tests
1 parent e1783b0 commit 247407a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
replicaCount: 1
55

66
# update strategy for MarkLogic and Helm chart upgrades
7-
# It is recommended to use OnDelete updateStrategy as MarkLogic bootstrap host (pod-0) needs to be upgraded first in the cluster.
7+
# It is recommended to use OnDelete updateStrategy as MarkLogic bootstrap host (pod-0) needs to be upgraded first in the cluster
88
# and onDelete allows more control over the upgrade and recovery incase of failure.
99
updateStrategy:
1010
type: OnDelete
@@ -25,7 +25,7 @@ bootstrapHostName: ""
2525
# Marklogic image parameters
2626
image:
2727
repository: marklogicdb/marklogic-db
28-
tag: latest-10.0
28+
tag: latest
2929
pullPolicy: IfNotPresent
3030

3131
# Init container image parameters
@@ -57,7 +57,7 @@ fullnameOverride: ""
5757
# Configure Marklogic Admin Username and Password
5858
auth:
5959
adminUsername: admin
60-
adminPassword: admin
60+
adminPassword: ""
6161

6262
# Configure Affinity property for scheduling pods to nodes
6363
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
@@ -72,7 +72,7 @@ nodeSelector: {}
7272
# The "" storageClass will use the default storage class for your cluster. (gp2 for EKS, standard for Minikube)
7373
# If set the enabled to false, it will use EmptyDir volume
7474
persistence:
75-
enabled: false
75+
enabled: true
7676
storageClass: ""
7777
size: 10Gi
7878
annotations: {}

test/e2e/upgrade_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func TestMLupgrade(t *testing.T) {
161161
t.Logf("====Upgrading Helm Chart")
162162
helm.Upgrade(t, newOptions, helmChartPath, releaseName)
163163

164-
// delete pods to allow upgrades
164+
// delete pods to allow upgrades
165165
k8s.RunKubectl(t, kubectlOptions, "delete", "pod", podName)
166166

167167
// wait until pod is in Ready status with new configuration

0 commit comments

Comments
 (0)