Replaced domain name with placeholder
This commit is contained in:
parent
06654f6910
commit
4251f7a889
37 changed files with 71 additions and 71 deletions
|
@ -13,7 +13,7 @@ spec:
|
|||
namespace: argocd
|
||||
source:
|
||||
path: registry
|
||||
repoURL: 'https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder'
|
||||
repoURL: 'https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder'
|
||||
targetRevision: HEAD
|
||||
project: default
|
||||
syncPolicy:
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
namespace: argocd
|
||||
source:
|
||||
path: stacks/core
|
||||
repoURL: 'https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder'
|
||||
repoURL: 'https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder'
|
||||
targetRevision: HEAD
|
||||
project: default
|
||||
syncPolicy:
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
namespace: argocd
|
||||
source:
|
||||
path: stacks/monitoring
|
||||
repoURL: 'https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder'
|
||||
repoURL: 'https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder'
|
||||
targetRevision: HEAD
|
||||
project: default
|
||||
syncPolicy:
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
namespace: argocd
|
||||
source:
|
||||
path: stacks/ref-implementation
|
||||
repoURL: 'https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder'
|
||||
repoURL: 'https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder'
|
||||
targetRevision: HEAD
|
||||
project: default
|
||||
syncPolicy:
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
namespace: argocd
|
||||
source:
|
||||
path: stacks/second-cluster
|
||||
repoURL: 'https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder'
|
||||
repoURL: 'https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder'
|
||||
targetRevision: HEAD
|
||||
project: default
|
||||
syncPolicy:
|
||||
|
|
|
@ -24,6 +24,6 @@ spec:
|
|||
helm:
|
||||
valueFiles:
|
||||
- $values/stacks/core/argocd/values.yaml
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
global:
|
||||
domain: cnoe.localtest.me
|
||||
domain: {{ .Values.edfbuilderDomain }}
|
||||
|
||||
configs:
|
||||
params:
|
||||
|
@ -39,6 +39,6 @@ server:
|
|||
pathType: ImplementationSpecific
|
||||
extraTls:
|
||||
- hosts:
|
||||
- cnoe.localtest.me
|
||||
- {{ .Values.edfbuilderDomain }}
|
||||
secretName: argocd-net-tls
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
|||
namespace: crossplane-system
|
||||
source:
|
||||
path: stacks/core/crossplane-compositions
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
|
|
|
@ -19,5 +19,5 @@ spec:
|
|||
namespace: crossplane-system
|
||||
source:
|
||||
path: stacks/core/crossplane-providers
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
|
|
|
@ -18,12 +18,12 @@ spec:
|
|||
name: in-cluster
|
||||
namespace: gitea
|
||||
sources:
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
path: forgejo-runner
|
||||
targetRevision: HEAD
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/stacks/core/forgejo-runner/values.yaml
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
|
|
|
@ -24,6 +24,6 @@ spec:
|
|||
helm:
|
||||
valueFiles:
|
||||
- $values/stacks/core/forgejo/values.yaml
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
|
|
|
@ -25,8 +25,8 @@ gitea:
|
|||
queue:
|
||||
TYPE: level
|
||||
server:
|
||||
DOMAIN: 'gitea.cnoe.localtest.me'
|
||||
ROOT_URL: 'https://gitea.cnoe.localtest.me:443'
|
||||
DOMAIN: 'gitea.{{ .Values.edfbuilderDomain }}'
|
||||
ROOT_URL: 'https://gitea.{{ .Values.edfbuilderDomain }}:443'
|
||||
|
||||
service:
|
||||
ssh:
|
||||
|
@ -42,13 +42,13 @@ ingress:
|
|||
nginx.ingress.kubernetes.io/proxy-body-size: 512m
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
hosts:
|
||||
- host: gitea.cnoe.localtest.me
|
||||
- host: gitea.{{ .Values.edfbuilderDomain }}
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- gitea.cnoe.localtest.me
|
||||
- gitea.{{ .Values.edfbuilderDomain }}
|
||||
secretName: forgejo-net-tls
|
||||
|
||||
image:
|
||||
|
|
|
@ -24,6 +24,6 @@ spec:
|
|||
helm:
|
||||
valueFiles:
|
||||
- $values/stacks/core/ingress-nginx/values.yaml
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
|
|
|
@ -25,6 +25,6 @@ spec:
|
|||
helm:
|
||||
valueFiles:
|
||||
- $values/stacks/monitoring/kube-prometheus/values.yaml
|
||||
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
- repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
ref: values
|
|
@ -8,7 +8,7 @@ grafana:
|
|||
|
||||
grafana.ini:
|
||||
server:
|
||||
domain: cnoe.localtest.me
|
||||
domain: {{ .Values.edfbuilderDomain }}
|
||||
root_url: "%(protocol)s://%(domain)s/grafana"
|
||||
serve_from_sub_path: true
|
||||
|
||||
|
@ -16,5 +16,5 @@ grafana:
|
|||
enabled: true
|
||||
ingressClassName: nginx
|
||||
hosts:
|
||||
- cnoe.localtest.me
|
||||
- {{ .Values.edfbuilderDomain }}
|
||||
path: /grafana
|
|
@ -30,7 +30,7 @@ idpbuilder create --use-path-routing \
|
|||
--package https://github.com/cnoe-io/stacks//ref-implementation
|
||||
```
|
||||
|
||||
This will take ~6 minutes for everything to come up. To track the progress, you can go to the [ArgoCD UI](https://cnoe.localtest.me:8443/argocd/applications).
|
||||
This will take ~6 minutes for everything to come up. To track the progress, you can go to the [ArgoCD UI](https://{{ .Values.edfbuilderDomain }}:8443/argocd/applications).
|
||||
|
||||
### What was installed?
|
||||
|
||||
|
@ -47,15 +47,15 @@ The only package that cannot be removed this way is Keycloak because other packa
|
|||
|
||||
|
||||
#### Accessing UIs
|
||||
- Argo CD: https://cnoe.localtest.me:8443/argocd
|
||||
- Argo Workflows: https://cnoe.localtest.me:8443/argo-workflows
|
||||
- Backstage: https://cnoe.localtest.me:8443/
|
||||
- Gitea: https://cnoe.localtest.me:8443/gitea
|
||||
- Keycloak: https://cnoe.localtest.me:8443/keycloak/admin/master/console/
|
||||
- Argo CD: https://{{ .Values.edfbuilderDomain }}:8443/argocd
|
||||
- Argo Workflows: https://{{ .Values.edfbuilderDomain }}:8443/argo-workflows
|
||||
- Backstage: https://{{ .Values.edfbuilderDomain }}:8443/
|
||||
- Gitea: https://{{ .Values.edfbuilderDomain }}:8443/gitea
|
||||
- Keycloak: https://{{ .Values.edfbuilderDomain }}:8443/keycloak/admin/master/console/
|
||||
|
||||
# Using it
|
||||
|
||||
For this example, we will walk through a few demonstrations. Once applications are ready, go to the [backstage URL](https://cnoe.localtest.me:8443).
|
||||
For this example, we will walk through a few demonstrations. Once applications are ready, go to the [backstage URL](https://{{ .Values.edfbuilderDomain }}:8443).
|
||||
|
||||
Click on the Sign-In button, you will be asked to log into the Keycloak instance. There are two users set up in this
|
||||
configuration, and their password can be retrieved with the following command:
|
||||
|
@ -70,7 +70,7 @@ Both users use the same password retrieved above.
|
|||
|
||||
If you want to create a new user or change existing users:
|
||||
|
||||
1. Go to the [Keycloak UI](https://cnoe.localtest.me:8443/keycloak/admin/master/console/).
|
||||
1. Go to the [Keycloak UI](https://{{ .Values.edfbuilderDomain }}:8443/keycloak/admin/master/console/).
|
||||
Login with the username `cnoe-admin`. Password is the `KEYCLOAK_ADMIN_PASSWORD` field from the command above.
|
||||
2. Select `cnoe` from the realms drop down menu.
|
||||
3. Select users tab.
|
||||
|
@ -97,9 +97,9 @@ You can click on the ArgoCD Application name to see more details.
|
|||
|
||||
### What just happened?
|
||||
|
||||
1. Backstage created [a git repository](https://cnoe.localtest.me:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
|
||||
2. Backstage created [an ArgoCD Application](https://cnoe.localtest.me:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
|
||||
3. Backstage registered the application as [a component](https://cnoe.localtest.me:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage.
|
||||
1. Backstage created [a git repository](https://{{ .Values.edfbuilderDomain }}:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
|
||||
2. Backstage created [an ArgoCD Application](https://{{ .Values.edfbuilderDomain }}:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
|
||||
3. Backstage registered the application as [a component](https://{{ .Values.edfbuilderDomain }}:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage.
|
||||
4. ArgoCD deployed the manifests stored in the repo to the cluster.
|
||||
5. Backstage retrieved application health from ArgoCD API, then displayed it.
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
path: "stacks/ref-implementation/argo-workflows/manifests/dev"
|
||||
destination:
|
||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
|||
name: argo-server
|
||||
port:
|
||||
name: web
|
||||
- host: cnoe.localtest.me
|
||||
- host: {{ .Values.edfbuilderDomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /argo-workflows(/|$)(.*)
|
||||
|
|
|
@ -7,14 +7,14 @@ data:
|
|||
config: |
|
||||
sso:
|
||||
insecureSkipVerify: true
|
||||
issuer: https://cnoe.localtest.me/keycloak/realms/cnoe
|
||||
issuer: https://{{ .Values.edfbuilderDomain }}/keycloak/realms/cnoe
|
||||
clientId:
|
||||
name: keycloak-oidc
|
||||
key: client-id
|
||||
clientSecret:
|
||||
name: keycloak-oidc
|
||||
key: secret-key
|
||||
redirectUrl: https://cnoe.localtest.me:443/argo-workflows/oauth2/callback
|
||||
redirectUrl: https://{{ .Values.edfbuilderDomain }}:443/argo-workflows/oauth2/callback
|
||||
rbac:
|
||||
enabled: true
|
||||
scopes:
|
||||
|
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
path: "stacks/ref-implementation/backstage-templates/entities"
|
||||
directory:
|
||||
|
|
|
@ -20,7 +20,7 @@ metadata:
|
|||
backstage.io/kubernetes-namespace: default
|
||||
argocd/app-name: ${{values.name | dump}}
|
||||
links:
|
||||
- url: https://gitea.cnoe.localtest.me:443
|
||||
- url: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
title: Repo URL
|
||||
icon: github
|
||||
spec:
|
||||
|
|
|
@ -100,7 +100,7 @@ spec:
|
|||
input:
|
||||
description: This is an example app
|
||||
# Hard coded value for this demo purposes only.
|
||||
repoUrl: gitea.cnoe.localtest.me:443/?repo=${{parameters.name}}
|
||||
repoUrl: gitea.{{ .Values.edfbuilderDomain }}:443/?repo=${{parameters.name}}
|
||||
defaultBranch: main
|
||||
- id: create-argocd-app
|
||||
name: Create ArgoCD App
|
||||
|
@ -111,7 +111,7 @@ spec:
|
|||
argoInstance: in-cluster
|
||||
projectName: default
|
||||
# necessary until we generate our own cert
|
||||
repoUrl: https://gitea.cnoe.localtest.me:443/giteaAdmin/${{parameters.name}}
|
||||
repoUrl: https://gitea.{{ .Values.edfbuilderDomain }}:443/giteaAdmin/${{parameters.name}}
|
||||
path: "kustomize/base"
|
||||
- id: register
|
||||
name: Register
|
||||
|
|
|
@ -14,7 +14,7 @@ metadata:
|
|||
apache-spark.cnoe.io/label-selector: env=dev,entity-id=${{values.name}}
|
||||
apache-spark.cnoe.io/cluster-name: local
|
||||
links:
|
||||
- url: https://gitea.cnoe.localtest.me:443
|
||||
- url: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
title: Repo URL
|
||||
icon: github
|
||||
spec:
|
||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
|||
input:
|
||||
description: This is an example app
|
||||
# Hard coded value for this demo purposes only.
|
||||
repoUrl: gitea.cnoe.localtest.me:443/?repo=${{parameters.name}}
|
||||
repoUrl: gitea.{{ .Values.edfbuilderDomain }}:443/?repo=${{parameters.name}}
|
||||
defaultBranch: main
|
||||
- id: create-argocd-app
|
||||
name: Create ArgoCD App
|
||||
|
@ -46,7 +46,7 @@ spec:
|
|||
argoInstance: in-cluster
|
||||
projectName: default
|
||||
# necessary until we generate our own cert
|
||||
repoUrl: https://gitea.cnoe.localtest.me:443/giteaAdmin/${{parameters.name}}
|
||||
repoUrl: https://gitea.{{ .Values.edfbuilderDomain }}:443/giteaAdmin/${{parameters.name}}
|
||||
path: "manifests"
|
||||
- id: register
|
||||
name: Register
|
||||
|
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
backstage.io/kubernetes-namespace: default
|
||||
argocd/app-name: ${{values.name | dump}}
|
||||
links:
|
||||
- url: https://gitea.cnoe.localtest.me:443
|
||||
- url: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
title: Repo URL
|
||||
icon: github
|
||||
spec:
|
||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
|||
input:
|
||||
description: This is an example app
|
||||
# Hard coded value for this demo purposes only.
|
||||
repoUrl: gitea.cnoe.localtest.me:443/?repo=${{parameters.name}}
|
||||
repoUrl: gitea.{{ .Values.edfbuilderDomain }}:443/?repo=${{parameters.name}}
|
||||
defaultBranch: main
|
||||
- id: create-argocd-app
|
||||
name: Create ArgoCD App
|
||||
|
@ -42,7 +42,7 @@ spec:
|
|||
argoInstance: in-cluster
|
||||
projectName: default
|
||||
# necessary until we generate our own cert
|
||||
repoUrl: https://gitea.cnoe.localtest.me:443/giteaAdmin/${{parameters.name}}
|
||||
repoUrl: https://gitea.{{ .Values.edfbuilderDomain }}:443/giteaAdmin/${{parameters.name}}
|
||||
path: "manifests"
|
||||
- id: register
|
||||
name: Register
|
||||
|
|
|
@ -9,7 +9,7 @@ metadata:
|
|||
backstage.io/kubernetes-label-selector: 'entity-id=${{ values.name }}'
|
||||
backstage.io/kubernetes-namespace: gitea
|
||||
links:
|
||||
- url: https://gitea.cnoe.localtest.me:443
|
||||
- url: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
title: Repo URL
|
||||
icon: git
|
||||
spec:
|
||||
|
@ -26,7 +26,7 @@ metadata:
|
|||
annotations:
|
||||
backstage.io/techdocs-ref: dir:.
|
||||
links:
|
||||
- url: https://gitea.cnoe.localtest.me:443
|
||||
- url: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
title: Gitea Repo
|
||||
icon: git
|
||||
spec:
|
||||
|
|
|
@ -33,7 +33,7 @@ spec:
|
|||
name: Publish to Gitea
|
||||
action: publish:gitea
|
||||
input:
|
||||
repoUrl: gitea.cnoe.localtest.me:443/?repo=${{parameters.name}}
|
||||
repoUrl: gitea.{{ .Values.edfbuilderDomain }}:443/?repo=${{parameters.name}}
|
||||
description: This is the repository for ${{ parameters.name }}
|
||||
sourcePath: ./skeleton
|
||||
defaultBranch: main
|
||||
|
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
path: "stacks/ref-implementation/backstage/manifests"
|
||||
destination:
|
||||
|
|
|
@ -70,7 +70,7 @@ data:
|
|||
app-config.yaml: |
|
||||
app:
|
||||
title: CNOE Backstage
|
||||
baseUrl: https://cnoe.localtest.me:443
|
||||
baseUrl: https://{{ .Values.edfbuilderDomain }}:443
|
||||
organization:
|
||||
name: CNOE
|
||||
backend:
|
||||
|
@ -80,7 +80,7 @@ data:
|
|||
# auth:
|
||||
# keys:
|
||||
# - secret: ${BACKEND_SECRET}
|
||||
baseUrl: https://cnoe.localtest.me:443
|
||||
baseUrl: https://{{ .Values.edfbuilderDomain }}:443
|
||||
listen:
|
||||
port: 7007
|
||||
# Uncomment the following host directive to bind to specific interfaces
|
||||
|
@ -90,7 +90,7 @@ data:
|
|||
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
|
||||
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
|
||||
cors:
|
||||
origin: https://cnoe.localtest.me:443
|
||||
origin: https://{{ .Values.edfbuilderDomain }}:443
|
||||
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
|
||||
credentials: true
|
||||
database:
|
||||
|
@ -106,12 +106,12 @@ data:
|
|||
|
||||
integrations:
|
||||
gitea:
|
||||
- baseUrl: https://gitea.cnoe.localtest.me:443
|
||||
host: gitea.cnoe.localtest.me:443
|
||||
- baseUrl: https://gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
host: gitea.{{ .Values.edfbuilderDomain }}:443
|
||||
username: ${GITEA_USERNAME}
|
||||
password: ${GITEA_PASSWORD}
|
||||
- baseUrl: https://gitea.cnoe.localtest.me
|
||||
host: gitea.cnoe.localtest.me
|
||||
- baseUrl: https://gitea.{{ .Values.edfbuilderDomain }}
|
||||
host: gitea.{{ .Values.edfbuilderDomain }}
|
||||
username: ${GITEA_USERNAME}
|
||||
password: ${GITEA_PASSWORD}
|
||||
# github:
|
||||
|
@ -165,7 +165,7 @@ data:
|
|||
locations:
|
||||
# Examples from a public GitHub repository.
|
||||
- type: url
|
||||
target: https://gitea.cnoe.localtest.me:443/giteaAdmin/edfbuilder/raw/branch/main/stacks/ref-implementation/backstage-templates/entities/catalog-info.yaml
|
||||
target: https://gitea.{{ .Values.edfbuilderDomain }}:443/giteaAdmin/edfbuilder/raw/branch/main/stacks/ref-implementation/backstage-templates/entities/catalog-info.yaml
|
||||
rules:
|
||||
- allow: [Component, System, API, Resource, Location, Template, User, Group]
|
||||
kubernetes:
|
||||
|
@ -180,7 +180,7 @@ data:
|
|||
- type: 'config'
|
||||
instances:
|
||||
- name: in-cluster
|
||||
url: https://cnoe.localtest.me:443/argocd
|
||||
url: https://{{ .Values.edfbuilderDomain }}:443/argocd
|
||||
username: admin
|
||||
password: ${ARGOCD_ADMIN_PASSWORD}
|
||||
argoWorkflows:
|
||||
|
@ -373,14 +373,14 @@ spec:
|
|||
template:
|
||||
engineVersion: v2
|
||||
data:
|
||||
BACKSTAGE_FRONTEND_URL: https://cnoe.localtest.me:443/backstage
|
||||
BACKSTAGE_FRONTEND_URL: https://{{ .Values.edfbuilderDomain }}:443/backstage
|
||||
POSTGRES_HOST: postgresql.backstage.svc.cluster.local
|
||||
POSTGRES_PORT: '5432'
|
||||
POSTGRES_DB: backstage
|
||||
POSTGRES_USER: backstage
|
||||
POSTGRES_PASSWORD: "{{.POSTGRES_PASSWORD}}"
|
||||
ARGO_WORKFLOWS_URL: https://cnoe.localtest.me:443/argo-workflows
|
||||
KEYCLOAK_NAME_METADATA: https://cnoe.localtest.me:443/keycloak/realms/cnoe/.well-known/openid-configuration
|
||||
ARGO_WORKFLOWS_URL: https://{{ .Values.edfbuilderDomain }}:443/argo-workflows
|
||||
KEYCLOAK_NAME_METADATA: https://{{ .Values.edfbuilderDomain }}:443/keycloak/realms/cnoe/.well-known/openid-configuration
|
||||
KEYCLOAK_CLIENT_SECRET: "{{.BACKSTAGE_CLIENT_SECRET}}"
|
||||
ARGOCD_AUTH_TOKEN: "argocd.token={{.ARGOCD_SESSION_TOKEN}}"
|
||||
ARGO_CD_URL: 'https://argocd-server.argocd.svc.cluster.local/api/v1/'
|
||||
|
@ -443,7 +443,7 @@ spec:
|
|||
name: backstage
|
||||
port:
|
||||
name: http
|
||||
- host: cnoe.localtest.me
|
||||
- host: {{ .Values.edfbuilderDomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
|
|
@ -69,5 +69,5 @@ From here on, you can follow the instructions in the [README](./README.md) file.
|
|||
echo https://${CODESPACE_NAME}-8080.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}
|
||||
```
|
||||
|
||||
For example, if you need to access Argo Workflows UI, instead of going to `https://cnoe.localtest.me:8443/argo`,
|
||||
For example, if you need to access Argo Workflows UI, instead of going to `https://{{ .Values.edfbuilderDomain }}:8443/argo`,
|
||||
you go to `https://${CODESPACE_NAME}-8080.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}/argo`
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
namespace: external-secrets
|
||||
server: "https://kubernetes.default.svc"
|
||||
source:
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
path: "stacks/ref-implementation/external-secrets/manifests"
|
||||
project: default
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
namespace: keycloak
|
||||
server: "https://kubernetes.default.svc"
|
||||
source:
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
path: "stacks/ref-implementation/keycloak/manifests"
|
||||
project: default
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
name: keycloak
|
||||
port:
|
||||
name: http
|
||||
- host: cnoe.localtest.me
|
||||
- host: {{ .Values.edfbuilderDomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /keycloak
|
||||
|
|
|
@ -83,7 +83,7 @@ data:
|
|||
proxy=edge
|
||||
|
||||
# hostname configuration
|
||||
hostname=cnoe.localtest.me
|
||||
hostname={{ .Values.edfbuilderDomain }}
|
||||
http-relative-path=keycloak
|
||||
|
||||
# the admin url requires its own configuration to reflect correct url
|
||||
|
|
|
@ -145,7 +145,7 @@ data:
|
|||
"rootUrl": "",
|
||||
"baseUrl": "",
|
||||
"redirectUris": [
|
||||
"https://cnoe.localtest.me:443/argo-workflows/oauth2/callback"
|
||||
"https://{{ .Values.edfbuilderDomain }}:443/argo-workflows/oauth2/callback"
|
||||
],
|
||||
"webOrigins": [
|
||||
"/*"
|
||||
|
@ -174,7 +174,7 @@ data:
|
|||
"rootUrl": "",
|
||||
"baseUrl": "",
|
||||
"redirectUris": [
|
||||
"https://cnoe.localtest.me:443/api/auth/keycloak-oidc/handler/frame"
|
||||
"https://{{ .Values.edfbuilderDomain }}:443/api/auth/keycloak-oidc/handler/frame"
|
||||
],
|
||||
"webOrigins": [
|
||||
"/*"
|
||||
|
|
|
@ -19,5 +19,5 @@ spec:
|
|||
namespace: crossplane-system
|
||||
source:
|
||||
path: stacks/second-cluster/create-new-cluster-guestbook
|
||||
repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder
|
||||
repoURL: https://gitea.{{ .Values.edfbuilderDomain }}/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
|
|
Loading…
Reference in a new issue