-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replication.auto unknown field - means that we cannot create SecretManagerSecret with auto replication and customer managed encryption key #1124
Comments
The reference document [1] is based on the latest version of Config Connector.
[1] https://cloud.google.com/config-connector/docs/reference/overview |
I'll need a little time to work out how to do that. We deploy clusters using terraform terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant 29.0.0 and I don't see anything in those docs about specifying a config_connector version. I'll update after I work that out, but any tips would be appreciated thanks. |
Are you able to share the terraform config snippet related to Config Connector? It is likely you are installing config connector in a GKE cluster through GKE Add-on. If that's the case, you may need to switch to a different installation method to get a more recent version of Config Connector. https://cloud.google.com/config-connector/docs/concepts/installation-types |
Switching to a manually managed later version resolves this issue, but poses some troubling questions about managing this in GKE. It looks like config connector version is tightly coupled to gke version according to https://cloud.google.com/config-connector/docs/how-to/install-manually#switch-add-on and there is no way to upgrade without uninstalling first.
It also says
However, in a cluster running 1.28.4-gke.1083000 whichis the current latest version available on the rapid channel, we still only see config connector version 1.102.0. This is quite a lag between documentation and what's being actively deployed. We would prefer to avoid the overhead of having to manage this separately to the rest of our GKE cluster. Is there a way to find the release schedule for this and what GKE versions wil bring new config connector versions? |
Checklist
Bug Description
Attempting to apply a SecretManagerSecret yaml definition with replication.auto.customerManagedEncryption fails with the following error:
The SecretManagerSecret docs imply that this is the correct setting.
Additional Diagnostic Information
This looks similar to #1081 but the conversation there implies that this is likely related to the terraform component. I believe that my issue is different because the resource cannot be created in EKS at all.
Creating SecretManagerSecret with replication set to
userManaged
allows us to set CMEK values as expected.I've replicated this on an existing cluster and a new cluster created on Friday 12 January.
Kubernetes Cluster Version
Server Version: v1.28.4-gke.1083000
Config Connector Version
1.102.0
Config Connector Mode
cluster mode
Log Output
No response
Steps to reproduce the issue
YAML snippets
The text was updated successfully, but these errors were encountered: