Fix: Trailing new line was removed, multiple resources were not created, but one
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{- range .Values.volumes }}
|
||||
{{- $robustName := include "robustName" $.Release.Name -}}
|
||||
{{- $robustName := include "robustName" $.Release.Name }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- range .Values.sealedFileSecrets }}
|
||||
{{- $robustName := include "robustName" $.Release.Name -}}
|
||||
{{- $robustName := include "robustName" $.Release.Name }}
|
||||
---
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
|
||||
@@ -13,6 +13,11 @@ tests:
|
||||
{
|
||||
"what": "this is a fixture"
|
||||
}
|
||||
- name: deploy-key
|
||||
path: /deploy-key
|
||||
filesToMount:
|
||||
- name: deploy-key
|
||||
source: xyz
|
||||
# sourcePath: my-google-account-key.json
|
||||
asserts:
|
||||
- equal:
|
||||
@@ -21,3 +26,5 @@ tests:
|
||||
{
|
||||
"what": "this is a fixture"
|
||||
}
|
||||
- hasDocuments:
|
||||
count: 2
|
||||
|
||||
Reference in New Issue
Block a user