Skip to content

Commit

Permalink
Merge pull request #18 from ch007m/some-fixes-ingress
Browse files Browse the repository at this point in the history
Some minor changes
  • Loading branch information
cmoulliard committed Feb 2, 2024
2 parents bcd74ae + 0b779ed commit ee21727
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ First, log on to the ocp cluster and verify if the following operators have been
- Red Hat OpenShift GitOps operator (>=1.11)
- Red Hat OpenShift Pipelines (>= 1.13.1)

Create the `app-config.qshift.yaml` file containing the appropriate password, tokens, urls, etc and create a ConfigMap packaging it.
Create the `app-config.qshift.yaml` file containing the appropriate password, tokens, urls, etc and create a ConfigMap packaging it.

**Remark**: The baseURL within the app-config file should be the same as the ingress host as defined within the Helm values: `idp-backstage.apps.qshift.snowdrop.dev`

Next, deploy it within the namespace where backstage will run.

```bash
Expand Down
21 changes: 20 additions & 1 deletion manifest/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: openshift-gitops
namespace: backstage
sources:
- # Additional resources to install and not packaged part of the backstage chart
repoURL: 'https://github.com/q-shift/backstage-playground'
Expand All @@ -21,6 +21,25 @@ spec:
helm:
valueFiles:
- $helm-values/manifest/helm/values.yaml
#values: |
# ingress:
# enabled: true
# host: idp-backstage.apps.qshift.snowdrop.dev
# className: openshift-default
# serviceAccount:
# create: true
# name: my-backstage
# backstage:
# image:
# registry: "quay.io"
# repository: "ch007m/backstage-qshift-ocp"
# tag: "latest"
# pullPolicy: "Always"
# extraAppConfig:
# - filename: app-config.qshift.yaml
# configMapRef: my-app-config
# postgresql:
# enabled: false
syncPolicy:
automated:
prune: true
Expand Down
4 changes: 2 additions & 2 deletions manifest/helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ingress:
enabled: true
host: backstage.apps.qshift.snowdrop.dev
className: nginx
host: idp-backstage.apps.qshift.snowdrop.dev
className: openshift-default
serviceAccount:
create: true
name: my-backstage
Expand Down

0 comments on commit ee21727

Please sign in to comment.