Skip to content

Commit

Permalink
Merge pull request #74 from grycap/devel
Browse files Browse the repository at this point in the history
Add CM in tests
  • Loading branch information
micafer authored Jul 26, 2024
2 parents 4089044 + 2eedbb7 commit b224d0b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion oscar/templates/oscar-additional-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ data:
images:
allowed_prefixes:
{{- range .Values.additionalConfig.allowedImagePrefix }}
- {{ . | title | quote}}
- {{ . | quote}}
{{- end }}
{{- end }}
17 changes: 17 additions & 0 deletions oscar/tests/oscar-additional-cm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
suite: test oscar deployment
templates:
- oscar-additional-cm.yaml
tests:
- name: test1
set:
additionalConfig.allowedImagePrefix: [grycap]
asserts:
- isKind:
of: ConfigMap
- equal:
path: data
value:
config.yaml: |-
images:
allowed_prefixes:
- "grycap"

0 comments on commit b224d0b

Please sign in to comment.