Skip to content

Commit

Permalink
Removed deprecation warning about backend.auth.keys (#31)
Browse files Browse the repository at this point in the history
* fixed default configration to remove deprecation warning about backend.auth.keys

Signed-off-by: Kashish Mittal <[email protected]>

* bump version to 2.16.4

Signed-off-by: Kashish Mittal <[email protected]>

* fixed default configration to remove deprecation warning about backend.auth.keys

Signed-off-by: Kashish Mittal <[email protected]>

* ran pre-commit hook

Signed-off-by: Kashish Mittal <[email protected]>

* changed double quotes back to single quotes

Signed-off-by: Kashish Mittal <[email protected]>

* bump version to 2.16.6

Signed-off-by: Kashish Mittal <[email protected]>

* updated to use downstream RHDH image

Signed-off-by: Kashish Mittal <[email protected]>

* bump version to 2.16.7

Signed-off-by: Kashish Mittal <[email protected]>

* added new line character at End of File in Chart.yaml

Signed-off-by: Kashish Mittal <[email protected]>

---------

Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash authored Jul 12, 2024
1 parent 0798e97 commit 975b738
Show file tree
Hide file tree
Showing 4 changed files with 15 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 @@ -45,4 +45,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: 2.16.6
version: 2.16.7
2 changes: 1 addition & 1 deletion 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

[![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: 2.16.6](https://img.shields.io/badge/Version-2.16.6-informational?style=flat-square)
![Version: 2.16.7](https://img.shields.io/badge/Version-2.16.7-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
10 changes: 7 additions & 3 deletions charts/backstage/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -956,9 +956,13 @@
},
"backend": {
"auth": {
"keys": [
"externalAccess": [
{
"secret": "${BACKEND_SECRET}"
"options": {
"secret": "${BACKEND_SECRET}",
"subject": "legacy-default-config"
},
"type": "legacy"
}
]
},
Expand Down Expand Up @@ -4154,7 +4158,7 @@
"type": "string"
},
"repository": {
"default": "janus-idp/backstage-showcase",
"default": "rhdh/rhdh-hub-rhel9",
"title": "Backstage image repository",
"type": "string"
},
Expand Down
9 changes: 6 additions & 3 deletions charts/backstage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ upstream:
backstage:
image:
registry: quay.io
repository: janus-idp/backstage-showcase
repository: rhdh/rhdh-hub-rhel9
tag: latest
command: []
# FIXME (tumido): USE POSTGRES_PASSWORD and POSTGRES_USER instead of POSTGRES_ADMIN_PASSWORD
Expand All @@ -59,8 +59,11 @@ upstream:
password: ${POSTGRESQL_ADMIN_PASSWORD}
user: postgres
auth:
keys:
- secret: ${BACKEND_SECRET}
externalAccess:
- type: legacy
options:
subject: legacy-default-config
secret: ${BACKEND_SECRET}
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down

0 comments on commit 975b738

Please sign in to comment.