When there is a problem in the yaml containing secrets, for example like this:
diff --git a/values-secret.yaml.template b/values-secret.yaml.template
index c068200f..7f4b66e3 100644
--- a/values-secret.yaml.template
+++ b/values-secret.yaml.template
@@ -8,7 +8,7 @@ version: "2.0"
# automatically generated inside the vault this should not really matter)
secrets:
- - name: config-demo
+ - names: config-demo
vaultPrefixes:
- global
fields:
we error out like this:
❯ ./pattern.sh make load-secrets
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Collection community.general does not support Ansible version 2.16.14
==> Loading secrets (this may take several minutes)...
make: *** [Makefile-common:33: load-secrets] Error 2
We should try and be a bit more useful
When there is a problem in the yaml containing secrets, for example like this:
we error out like this:
We should try and be a bit more useful