fix: defer doppler store until eso is installed
Some checks failed
Deploy Cluster / Terraform (push) Successful in 45s
Deploy Cluster / Ansible (push) Failing after 24m34s

This commit is contained in:
2026-03-20 09:30:17 +00:00
parent 349f75729a
commit 528a8dc210

View File

@@ -16,6 +16,12 @@
--dry-run=client -o yaml | kubectl apply -f -
changed_when: true
- name: Check for ClusterSecretStore CRD
command: kubectl get crd clustersecretstores.external-secrets.io
register: doppler_clustersecretstore_crd
changed_when: false
failed_when: false
- name: Apply Doppler ClusterSecretStore
shell: |
cat <<'EOF' | kubectl apply -f -
@@ -34,3 +40,11 @@
namespace: external-secrets
EOF
changed_when: true
when: doppler_clustersecretstore_crd.rc == 0
- name: Note pending Doppler ClusterSecretStore bootstrap
debug:
msg: >-
Skipping Doppler ClusterSecretStore bootstrap because the External Secrets CRD
is not available yet. Re-run after External Secrets is installed.
when: doppler_clustersecretstore_crd.rc != 0