secrets manager kubernetes operator EU region dosn't work

I’m following Bitwarden’s own guide with Helm:

with Kubernetes and I’m having this problem:


The example chart I deployed:
Default example:

cat <<EOF | kubectl apply -n <YOUR_NAMESPACE> -f -
apiVersion: k8s.bitwarden.com/v1
kind: BitwardenSecret
metadata:
labels:
app.kubernetes.io/name: bitwardensecret
app.kubernetes.io/instance: bitwardensecret-sample
app.kubernetes.io/part-of: sm-operator
app.kubernetes.io/managed-by: kustomize 
app.kubernetes.io/created-by:sm-operator 
name: bitwardensecret-sample
spec: 
organizationId: "a08a8157-129e-4002-bab4-b118014ca9c7" 
secretName: bw-sample-secret 
map: 
- bwSecretId: 6c230265-d472-45f7-b763-b11b01023ca6 
secretKeyName: test__secret__1 
- bwSecretId: d132a5ed-12bd-49af-9b74-b11b01025d58 
secretKeyName: test__secret__2 
authToken: 
secretName: bw-auth-token 
secretKey: token
EOF

It doesn’t seem to be created.

If I look at the logs for my “helm upgrade sm-operator bitwarden/sm-operator -i --debug -n sm-operator-system --create-namespace --values ​​my-values.yaml --devel” I can see:

I’m looking at the logs after entering the yaml and I see logs of type “.com” when I specified “EU” for Europe, but the problem is that the data seems to point to “.com” for the US:


data:
BW_API_URL: "https://api.bitwarden.com"
BW_IDENTITY_API_URL: "https://identity.bitwarden.com"
BW_SECRETS_MANAGER_REFRESH_INTERVAL: "300"
KUBERNETES_CLUSTER_DOMAIN: cluster.local
---
# Source: sm-operator/templates/bitwardensecret-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: bitwardensecrets.k8s.bitwarden.com
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
labels:
helm.sh/chart:sm-operator-0.1.0
app.kubernetes.io/name:sm-operator
app.kubernetes.io/instance:sm-operator
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by:Helm
spec:
group: k8s.bitwarden.com
names:
kind: BitwardenSecret
- apiGroups:
- k8s.bitwarden.com
resources:
- bitwardensecrets
verbs:
- create
-delete
- get
- list
- patch
- update
- watch
- apiGroups:
- k8s.bitwarden.com
resources:
- bitwardensecrets/finalizers
verbs:
- update
- apiGroups:
- k8s.bitwarden.com
resources:

I don’t know if the “.com” has anything to do with it, but I have “cloudRegion: EU” in my values.

It looks like this is entirely your fault. Normally, if you use .com, you don’t have any problems, but I use .EU.

I’ll give you the solution. Your problem is in the backend. It works with the US region. It doesn’t work with the EU region.
My wasted time = your 5-second solution. Not bad. You’re welcome.

Hey @Drakgoku the forums is primarily user to user support, so don’t hesitate to reach out to the official support team using the form at: Help Center | Bitwarden so they can look into this issue you’re reporting.