Fix var so that generated secret names are added to spec backup

This commit is contained in:
Christian M. Adams
2021-06-30 09:58:08 -04:00
parent 8f43d8fe51
commit 8b2bfa7380
2 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
---
- name: Set Postgres Configuration Secret name
set_fact:
postgres_configuration_secret: "{{ spec['postgres_configuration_secret'] | default(postgres_configuration_secret) }}"
- name: Check for specified PostgreSQL configuration
k8s_info:
kind: Secret