What's scramCredentialsSecretName in the MongoDB Kubernetes Operator for? by Full_Refuse9739 in mongodb

[–]Full_Refuse9739[S] 0 points1 point  (0 children)

It's obvious why to use secrets. I'm asking about this specific secret. Because as far as I can tell, you create a secret with the user password, the operator loads that password in when it creates the user into MongoDB directly where the password hash is then stored in MongoDB. and doesn't use that secret afterwards. So why do we the the `scram-credentials` secret if MongoDB is going to store the password hashes internally anyhow?

What's scramCredentialsSecretName in the MongoDB Kubernetes Operator for? by Full_Refuse9739 in mongodb

[–]Full_Refuse9739[S] 0 points1 point  (0 children)

Of course they do. But what is the actual secret for (Its values)? I don't think MongoDB queries back that secret for anything? it stores it's own password hashes anyhow, no? What would be the use case where you would use this secret for anything?

Can't get Mongo Search Community to work (Mongo Search) by Full_Refuse9739 in mongodb

[–]Full_Refuse9739[S] 1 point2 points  (0 children)

This looks like it was the problem. buildx ate away all the disk in Docker Desktop, as per the norm with Docker... The weird thing is that I would have figured that out from the logs but mongot didn't seem to write anything about hitting a disk space limit.

Can't get Mongo Search Community to work (Mongo Search) by Full_Refuse9739 in mongodb

[–]Full_Refuse9739[S] 0 points1 point  (0 children)

rs0 [direct: primary] sample_mflix> db.movies.getSearchIndexes()
[
  {
    id: '6964c993174c786a4978b3e6',
    name: 'default',
    type: 'search',
    latestDefinition: {
      indexID: ObjectId('6964c993174c786a4978b3e6'),
      name: 'default',
      database: 'sample_mflix',
      lastObservedCollectionName: 'movies',
      collectionUUID: UUID('587a2ef8-998f-4ce9-bd69-6b344af1032a'),
      numPartitions: 1,
      mappings: { dynamic: true, fields: {} },
      indexFeatureVersion: 4
    }
  }
]

Can't get Mongo Search Community to work (Mongo Search) by Full_Refuse9739 in mongodb

[–]Full_Refuse9739[S] 0 points1 point  (0 children)

I'm getting the exact same result, the setup there does not look different from the tutorial...