mirror of
https://github.com/kerberos-io/deployment.git
synced 2026-08-23 15:18:32 +00:00
Update kerberos-hub-create-database-job.yaml
This commit is contained in:
@@ -21,7 +21,7 @@ spec:
|
||||
containers:
|
||||
- name: init-container
|
||||
image: mongo:latest
|
||||
command: ["sh", "-c", "mongo --host mongodb.mongodb --username root --password yourpassword --authenticationDatabase admin --eval 'use Kerberos' && mongoimport --host mongodb.mongodb --username root --password yourpassword --authenticationDatabase admin --db Kerberos --file /data/kerberos-hub.nosql"]
|
||||
command: ["sh", "-c", "mongosh --host mongodb.mongodb --username root --password yourpassword --authenticationDatabase admin --eval 'use Kerberos' && mongoimport --host mongodb.mongodb --username root --password yourpassword --authenticationDatabase admin --db Kerberos --file /data/kerberos-hub.nosql"]
|
||||
volumeMounts:
|
||||
- name: kerberos-hub-file
|
||||
mountPath: /data
|
||||
|
||||
Reference in New Issue
Block a user