Skip to content

Commit 80ec76a

Browse files
committed
Fix ibmcloud-secret-rotator CLI to apply --region before instance resolution
This change fixes an issue where the ibmcloud-secret-rotator CronJob was attempting to contact the us-south Secrets Manager endpoint, even though the Secrets Manager instance is provisioned in eu-de, causing repeated DNS resolution failures. Signed-off-by: Sudharshan Muralidharan <sudharshan.muralidharan1@ibm.com>
1 parent 4954bf0 commit 80ec76a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

kubernetes/ibm-s390x/helm/external-secrets.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ extraObjects:
9494
set -o pipefail
9595
9696
go install sigs.k8s.io/provider-ibmcloud-test-infra/secret-manager@71ef4d8
97-
secret-manager rotate --instance-id 0664d47c-fe42-423f-930d-69570443cd15 --region eu-de --labels rotate:true --confirm
97+
secret-manager rotate \
98+
--region eu-de \
99+
--instance-id 0664d47c-fe42-423f-930d-69570443cd15 \
100+
--labels rotate:true \
101+
--confirm
98102
env:
99103
- name: IBMCLOUD_ENV_FILE
100104
value: "/home/.ibmcloud/api-key"

0 commit comments

Comments
 (0)