Some minor fixes

This commit is contained in:
2024-04-29 16:40:06 +02:00
parent 2f2ad8c0a2
commit 726f2e98cf
3 changed files with 8 additions and 3 deletions

View File

@ -22,7 +22,7 @@ spec:
image: alpine/k8s:1.29.2
script: |-
#!/bin/bash
if kubectl get secret "$(params.environment)-ssh"; then
if kubectl get secret "$(params.environment)-ssh" --namespace "$(params.namespace)"; then
echo 1 > /tmp/outputs/ready
fi
- name: prepare-ssh-key