Skip to content

Commit 260cbd0

Browse files
committed
create conf file before starting containers
1 parent a3b4f5d commit 260cbd0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ mongodb_exporter
1313
.DS_Store
1414

1515
docker/kerberos/cache/*
16-
docker/kerberos/conf/*
16+
docker/kerberos/conf/*

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ test-cover: env ## Run tests and collect cross-package coverage inf
108108
go test -tags gssapi -race -timeout 30s -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./...
109109

110110
test-cluster: env ## Starts MongoDB test cluster. Use env var TEST_MONGODB_IMAGE to set flavor and version. Example: TEST_MONGODB_IMAGE=mongo:3.6 make test-cluster
111+
touch ./docker/kerberos/cache/krb5.conf
111112
docker compose up --build -d
112113
./docker/scripts/init-psmdb-kerberos.sh
113114
./docker/scripts/init-pbm.sh

docker/scripts/setup-krb5-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ kadmin.local -q "addprinc -pw password root/admin"
2828
kadmin.local -q "addprinc -pw mongodb mongodb/${mongohost}"
2929
kadmin.local -q "addprinc -pw password1 pmm-test"
3030
kadmin.local -q "ktadd -k /tmp/mongodb.keytab mongodb/${mongohost}@PERCONATEST.COM"
31-
krb5kdc -n
31+
krb5kdc -n

0 commit comments

Comments
 (0)