Skip to content

Commit

Permalink
chore(deps): update docker.io/obiba/opal:5.0.3 docker digest to 9a04a…
Browse files Browse the repository at this point in the history
…42 (#423)

* chore(deps): update docker.io/obiba/opal:5.0.3 docker digest to 9a04a42

* rm pre-commit notes from readme

* fixed datashield for latest version

* maybe fix push

---------

Co-authored-by: miracum-renovate[bot] <184965040+miracum-renovate[bot]@users.noreply.github.com>
Co-authored-by: chgl <[email protected]>
  • Loading branch information
miracum-renovate[bot] and chgl authored Dec 16, 2024
1 parent 4808108 commit 5e21c32
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- name: Update gh-pages branch
run: |
git fetch origin
git config pull.ff only
git pull origin gh-pages
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
Expand Down
15 changes: 0 additions & 15 deletions .pre-commit-config.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ helm repo update
## Development

1. (Optional) Install the [pre-commit](https://pre-commit.com/) hooks

```sh
pip install pre-commit
pre-commit install
```

1. (Optional) Setup a KinD cluster with Nginx ingress support

```sh
Expand Down
8 changes: 6 additions & 2 deletions charts/datashield/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
version: 2.28.0
deprecated: false
kubeVersion: ">= 1.19.0"
version: 0.7.47
version: 0.7.48
annotations:
artifacthub.io/license: Apache-2.0
artifacthub.io/containsSecurityUpdates: "false"
Expand All @@ -37,4 +37,8 @@ annotations:
# When using the list of objects option the valid supported kinds are
# added, changed, deprecated, removed, fixed and security.
- kind: changed
description: "Updated common to 2.28.0"
description: "Updated docker.io/obiba/opal to sha256:9a04a429e5d9b80cb67d0129c487a97068a0a24329b9f1902177c58106f1917b"
- kind: changed
description: "Ingress backend port switched to https"
- kind: changed
description: "Removed NGINX-specific annotations from ingress"
2 changes: 1 addition & 1 deletion charts/datashield/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ helm install --create-namespace -n datashield datashield oci://ghcr.io/miracum/c
| opal.database.ids.username | string | `"opal_ids_password"` | username used to connect to the DB. Note that this name is currently used even if postgresql.enabled=true |
| opal.extraEnv | list | `[]` | extra environment variables to set on the opal api container |
| opal.imagePullSecrets | list | `[]` | image pull secrets used by the opal container |
| opal.ingress.annotations | object | `{"nginx.ingress.kubernetes.io/backend-protocol":"HTTPS","nginx.ingress.kubernetes.io/force-ssl-redirect":"true"}` | extra annotations to apply to the Ingress resource |
| opal.ingress.annotations | object | `{}` | extra annotations to apply to the Ingress resource |
| opal.ingress.className | string | `""` | ingressClassName to use |
| opal.ingress.enabled | bool | `false` | create an Ingress for the application |
| opal.ingress.hosts | list | `[{"host":"opal.127.0.0.1.nip.io","paths":[{"path":"/","pathType":"ImplementationSpecific","portName":"http"}]}]` | list of ingress hosts |
Expand Down
2 changes: 1 addition & 1 deletion charts/datashield/templates/opal/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
service:
name: {{ $fullName }}
port:
name: {{ default "http" .portName }}
name: {{ default "https" .portName }}
{{- end }}
{{- end }}
{{- end }}
12 changes: 4 additions & 8 deletions charts/datashield/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ opal:
image:
registry: docker.io
repository: obiba/opal
tag: 5.0.3@sha256:d655f7a2e5bba2852873e570f4d8682f05d8770a681ee849102e0acbbc651fd3
tag: 5.0.3@sha256:9a04a429e5d9b80cb67d0129c487a97068a0a24329b9f1902177c58106f1917b
pullPolicy: IfNotPresent

auth:
Expand All @@ -31,11 +31,7 @@ opal:
# -- ingressClassName to use
className: ""
# -- extra annotations to apply to the Ingress resource
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
annotations: {}
# -- list of ingress hosts
hosts:
- host: opal.127.0.0.1.nip.io
Expand Down Expand Up @@ -133,8 +129,8 @@ opal:
drop:
- ALL
runAsNonRoot: true
runAsUser: 100
runAsGroup: 65534
runAsUser: 10041
runAsGroup: 10041
readOnlyRootFilesystem: false
seccompProfile:
type: RuntimeDefault
Expand Down

0 comments on commit 5e21c32

Please sign in to comment.