Skip to content

Conversation

@alaye-ms
Copy link
Collaborator

No description provided.

--authenticationMechanism SCRAM-SHA-256 --tls --tlsAllowInvalidCertificates
```

### Failover Operations
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we market our plugin or not?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so yet.

@xgerman
Copy link
Collaborator

xgerman commented Nov 3, 2025

Since we want to rework the token servcie we shoudl mark that all with TODO's to make sure it's clear that we are still thinking about the best way.


// Configure storage class - use specified storage class or nil for default
var storageClass *string
if documentdb.Spec.Resource.Storage.StorageClass != "" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are removing this line means for single cluster setup in AWS or GKE it will fail unless we are passing it right. From the controller I see we are only passing replicationContext.StorageClass but not from spec.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never tried AWS without a storage class, I just ran it that way because your sample scripts had a special storage class. GKE doesn't need a non-default storage class. This is so that each member cluster can have their own unique class in the membercluster list, single cluster operations shouldn't be changed by this

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For customers who want to pass a specific storageClass for single cloud/cluster setup, they will use this documentdb.Spec.Resource.Storage.StorageClass spec config. Where are we evaluating that then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In replication_context.go line 48

@@ -0,0 +1,100 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep this script folder clean. Only the scripts which are used/run the the operator itself or we need inside the host machine.

All other setup scripts for different environment should go under documentdb-playground/ specific folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants