Skip to content

Commit

Permalink
chore: Update curl container securityContext settings
Browse files Browse the repository at this point in the history
  • Loading branch information
coreydaley committed Feb 14, 2025
1 parent 4015a88 commit df7d26b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ sources:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.1.0
version: 4.0.0
6 changes: 3 additions & 3 deletions charts/backstage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# RHDH Backstage Helm Chart for OpenShift (Community Version)

[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rhdh-chart&style=flat-square)](https://artifacthub.io/packages/search?repo=rhdh-chart)
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square)
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for deploying Red Hat Developer Hub.
Expand Down Expand Up @@ -205,10 +205,10 @@ Kubernetes: `>= 1.25.0-0`
| route.tls.key | Key file contents | string | `""` |
| route.tls.termination | Specify TLS termination. | string | `"edge"` |
| route.wildcardPolicy | Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed. | string | `"None"` |
| test | Test pod parameters | object | `{"enabled":true,"image":{"registry":"quay.io","repository":"curl/curl","tag":"latest"}}` |
| test | Test pod parameters | object | `{"enabled":true,"image":{"registry":"quay.io","repository":"rhdh-community/curl","tag":"latest"}}` |
| test.enabled | Whether to enable the test-connection pod used for testing the Release using `helm test`. | bool | `true` |
| test.image.registry | Test connection pod image registry | string | `"quay.io"` |
| test.image.repository | Test connection pod image repository. Note that the image needs to have both the `sh` and `curl` binaries in it. | string | `"curl/curl"` |
| test.image.repository | Test connection pod image repository. Note that the image needs to have both the `sh` and `curl` binaries in it. | string | `"rhdh-community/curl"` |
| test.image.tag | Test connection pod image tag. Note that the image needs to have both the `sh` and `curl` binaries in it. | string | `"latest"` |
| upstream | Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml) | object | Use Openshift compatible settings |
| upstream.backstage.extraVolumes[0] | Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. | object | `{"ephemeral":{"volumeClaimTemplate":{"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}}}}},"name":"dynamic-plugins-root"}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ upstream:
test:
image:
registry: quay.io
repository: curl/curl-base
tag: 8.11.1
repository: rhdh-community/curl
tag: latest
4 changes: 3 additions & 1 deletion charts/backstage/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ spec:
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
runAsNonRoot: false
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
resources:
requests:
cpu: 10m
Expand Down
2 changes: 1 addition & 1 deletion charts/backstage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ test:
registry: quay.io

# -- Test connection pod image repository. Note that the image needs to have both the `sh` and `curl` binaries in it.
repository: curl/curl
repository: rhdh-community/curl

# -- Test connection pod image tag. Note that the image needs to have both the `sh` and `curl` binaries in it.
tag: latest

0 comments on commit df7d26b

Please sign in to comment.