Skip to content

Commit

Permalink
fix(RHIDP-2675): fix backend secret for ver 1.1
Browse files Browse the repository at this point in the history
Patch adds backward compatibility to use RHDH 1.1 helm repo,
by setting backend secret name in the helm charts as a variable.
Tested with below config:
For RHDH 1.1
RHDH_HELM_REPO="https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/developer-hub-1.1.0/installation/"
RHDH_HELM_CHART="developer-hub"

For RHDH 1.2
RHDH_HELM_REPO=https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/redhat-developer-hub-1.2-103-CI/installation/
RHDH_HELM_CHART=redhat-developer-hub
  • Loading branch information
yogananth-subramanian committed Jun 25, 2024
1 parent 27c9fa8 commit 128ccf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ upstream:
valueFrom:
secretKeyRef:
key: backend-secret
name: "{{ .Release.Name }}-auth"
name: '{{ include "janus-idp.backend-secret-name" $ }}'
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ upstream:
valueFrom:
secretKeyRef:
key: backend-secret
name: "{{ .Release.Name }}-auth"
name: '{{ include "janus-idp.backend-secret-name" $ }}'
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 128ccf1

Please sign in to comment.