Skip to content

Commit

Permalink
Merge pull request #73 from grycap/oscar2
Browse files Browse the repository at this point in the history
Bump OSCAR version
  • Loading branch information
catttam authored Jul 26, 2024
2 parents 8ccd95c + dce917a commit 226a919
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 2 deletions.
20 changes: 20 additions & 0 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,26 @@ 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"
description: Open Source Serverless Computing for Data-Processing Applications
digest: 8fb34d050a21a74c4821b4440031bf33251843e7c469ec1c24df39dcb1191603
home: https://grycap.github.io/oscar
icon: https://github.com/grycap/helm-charts/raw/master/icons/oscar.png
keywords:
- serverless
- containers
- file-processing
- batch
maintainers:
- email: [email protected]
name: GRyCAP
name: oscar
sources:
- https://github.com/grycap/oscar
urls:
- https://grycap.github.io/helm-charts/oscar-3.2.0.tgz
version: 3.2.0
- apiVersion: v1
created: "2024-05-29T10:08:28.680481963Z"
description: Open Source Serverless Computing for Data-Processing Applications
Expand Down
Binary file added docs/oscar-3.2.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion oscar/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Open Source Serverless Computing for Data-Processing Applications
name: oscar
version: 3.1.0
version: 3.2.0
sources:
- https://github.com/grycap/oscar
home: https://grycap.github.io/oscar
Expand Down
1 change: 1 addition & 0 deletions oscar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ The following table lists the configurable parameters of the OSCAR chart and the
| `volume.storageClassName` | Storage Class used by the PVC | `""` |
| `resources.requests.memory` | Memory resource requests | `512Mi` |
| `resources.requests.cpu` | CPU resource requests | `500m` |
| `additionalConfig.allowedImagePrefix` | List of repository prefixes to restrict Docker images | `""` |

14 changes: 14 additions & 0 deletions oscar/templates/oscar-additional-cm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- if .Values.additionalConfig.allowedImagePrefix }}
apiVersion: v1
kind: ConfigMap
metadata:
name: additional-oscar-config
namespace: oscar-svc
data:
config.yaml: |
images:
allowed_prefixes:
{{- range .Values.additionalConfig.allowedImagePrefix }}
- {{ . | title | quote}}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions oscar/templates/oscar-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ rules:
- create
- delete
- update
- deletecollection
- apiGroups:
- batch
resources:
Expand Down Expand Up @@ -70,6 +71,7 @@ rules:
- list
- watch
- create
- update
- delete

{{- if eq (lower .Values.serverlessBackend) "openfaas" }}
Expand Down
6 changes: 5 additions & 1 deletion oscar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ service:
port: 8080
nodePort: 30301

# Additional OSCAR configuration
additionalConfig:
allowedImagePrefix: []

# Number of replicas to deploy
replicas: 1

Expand All @@ -44,7 +48,7 @@ ingress:
# Container image and pullPolicy for deployment
image:
repository: ghcr.io/grycap/oscar
tag: "3.1.0"
tag: "3.2.0"
pullPolicy: Always

# Read and write timeouts for OSCAR's HTTP server
Expand Down

0 comments on commit 226a919

Please sign in to comment.