Browse Source

doc: add remember note for clusterLocation (#2741)

Signed-off-by: Adrian Rico <adrian.rico@ackstorm.com>
Co-authored-by: Adrian Rico <adrian.rico@ackstorm.com>
Adrian Rico 2 years ago
parent
commit
5fdcba0f14

+ 2 - 0
docs/provider/google-secrets-manager.md

@@ -38,6 +38,8 @@ metadata:
 
 
 You can reference this particular ServiceAccount in a `SecretStore` or `ClusterSecretStore`. It's important that you also set the `projectID`, `clusterLocation` and `clusterName`. The Namespace on the `serviceAccountRef` is ignored when using a `SecretStore` resource. This is needed to isolate the namespaces properly.
 You can reference this particular ServiceAccount in a `SecretStore` or `ClusterSecretStore`. It's important that you also set the `projectID`, `clusterLocation` and `clusterName`. The Namespace on the `serviceAccountRef` is ignored when using a `SecretStore` resource. This is needed to isolate the namespaces properly.
 
 
+*When filling `clusterLocation` parameter keep in mind if it is Regional or Zonal cluster.*
+
 ```yaml
 ```yaml
 {% include 'gcpsm-wi-secret-store.yaml' %}
 {% include 'gcpsm-wi-secret-store.yaml' %}
 ```
 ```

+ 1 - 1
docs/snippets/gcpsm-wi-secret-store.yaml

@@ -8,7 +8,7 @@ spec:
       projectID: alphabet-123
       projectID: alphabet-123
       auth:
       auth:
         workloadIdentity:
         workloadIdentity:
-          # name of the cluster region
+          # name of the cluster Location, region or zone
           clusterLocation: europe-central2
           clusterLocation: europe-central2
           # name of the GKE cluster
           # name of the GKE cluster
           clusterName: alpha-cluster-42
           clusterName: alpha-cluster-42