diff --git a/docs/index.yaml b/docs/index.yaml index 12bcea2..b8c0e31 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -401,10 +401,10 @@ entries: - https://grycap.github.io/helm-charts/IM-1.0.0.tgz version: 1.0.0 oscar: - - apiVersion: v1 - created: "2024-06-21T11:50:48.19443738Z" + - apiVersion: v1 + created: "2024-07-26T10:56:03.534080116Z" description: Open Source Serverless Computing for Data-Processing Applications - digest: 8fb34d050a21a74c4821b4440031bf33251843e7c469ec1c24df39dcb1191603 + digest: ebdc0277716481dabfa40f63363c22408daefab7d158f76ace29fd3bde9e5078 home: https://grycap.github.io/oscar icon: https://github.com/grycap/helm-charts/raw/master/icons/oscar.png keywords: diff --git a/docs/oscar-3.2.0.tgz b/docs/oscar-3.2.0.tgz index 4f56231..b78a6d9 100644 Binary files a/docs/oscar-3.2.0.tgz and b/docs/oscar-3.2.0.tgz differ diff --git a/oscar/templates/oscar-additional-cm.yaml b/oscar/templates/oscar-additional-cm.yaml index e606a50..37bfd77 100644 --- a/oscar/templates/oscar-additional-cm.yaml +++ b/oscar/templates/oscar-additional-cm.yaml @@ -9,6 +9,6 @@ data: images: allowed_prefixes: {{- range .Values.additionalConfig.allowedImagePrefix }} - - {{ . | title | quote}} + - {{ . | quote}} {{- end }} {{- end }} \ No newline at end of file diff --git a/oscar/tests/oscar-additional-cm.yaml b/oscar/tests/oscar-additional-cm.yaml new file mode 100644 index 0000000..6d4eb36 --- /dev/null +++ b/oscar/tests/oscar-additional-cm.yaml @@ -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"