Skip to content

Review App's `shared-secrets` job fail with a `BackoffLimitExceeded` error

Example: https://console.cloud.google.com/kubernetes/job/us-central1-b/review-apps-ee/review-apps-ee/review-qa-unquara-p2gdwd-shared-secrets.1-urg?project=gitlab-review-apps&tab=details&duration=PT1H&pod_summary_list_tablesize=20&service_list_datatablesize=20

By looking at the pod's logs, we can see the following error:

error: exactly one NAME is required, got 3

According to the kubectl documentation, the secret name should come as the first argument:

$ generic NAME [--type=string] [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run]
Edited by Rémy Coutable