Using gomplate as hydration template engine

This commit is contained in:
Richard Robert Reitz 2024-12-08 22:53:58 +01:00
parent d6e3f83043
commit c24ab8d976
45 changed files with 74 additions and 74 deletions

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: registry
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: stacks/core
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: stacks/local-backup
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: stacks/monitoring
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: stacks/ref-implementation
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -13,7 +13,7 @@ spec:
namespace: argocd
source:
path: stacks/second-cluster
repoURL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder'
repoURL: 'https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder'
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -22,6 +22,6 @@ spec:
helm:
valueFiles:
- $values/stacks/core/argocd/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -1,5 +1,5 @@
global:
domain: {{ .Values.edfbuilderTargetDomain }}
domain: {{]] .Env.DOMAIN [[}}
configs:
params:

View file

@ -17,7 +17,7 @@ spec:
namespace: crossplane-system
source:
path: stacks/core/crossplane-compositions
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
directory:
recurse: true

View file

@ -17,5 +17,5 @@ spec:
namespace: crossplane-system
source:
path: stacks/core/crossplane-providers
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD

View file

@ -22,6 +22,6 @@ spec:
helm:
valueFiles:
- $values/stacks/core/forgejo/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -25,8 +25,8 @@ gitea:
queue:
TYPE: level
server:
DOMAIN: 'gitea.{{ .Values.edfbuilderTargetDomain }}'
ROOT_URL: 'https://gitea.{{ .Values.edfbuilderTargetDomain }}:443'
DOMAIN: 'gitea.{{]] .Env.DOMAIN [[}}'
ROOT_URL: 'https://gitea.{{]] .Env.DOMAIN [[}}:443'
service:
ssh:

View file

@ -11,7 +11,7 @@ spec:
destination:
server: "https://kubernetes.default.svc"
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/core/ingress-apps"
project: default

View file

@ -22,6 +22,6 @@ spec:
helm:
valueFiles:
- $values/stacks/core/ingress-nginx/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -17,10 +17,10 @@ spec:
valueFiles:
- $values/stacks/local-backup/minio/helm/values.yaml
chart: minio
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/local-backup/minio/manifests"
destination:

View file

@ -17,7 +17,7 @@ spec:
valueFiles:
- $values/stacks/local-backup/velero/helm/values.yaml
chart: velero
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values
destination:

View file

@ -10,7 +10,7 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/monitoring/kube-prometheus/dashboards"
destination:

View file

@ -25,6 +25,6 @@ spec:
helm:
valueFiles:
- $values/stacks/monitoring/kube-prometheus/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -30,6 +30,6 @@ grafana:
grafana.ini:
server:
domain: {{ .Values.edfbuilderTargetDomain }}
domain: {{]] .Env.DOMAIN [[}}
root_url: "%(protocol)s://%(domain)s/grafana"
serve_from_sub_path: true

View file

@ -11,5 +11,5 @@ grafana:
enabled: true
ingressClassName: nginx
hosts:
- {{ .Values.edfbuilderTargetDomain }}
- {{]] .Env.DOMAIN [[}}
path: /grafana

View file

@ -24,7 +24,7 @@ spec:
helm:
valueFiles:
- $values/stacks/monitoring/loki/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -24,6 +24,6 @@ spec:
helm:
valueFiles:
- $values/stacks/monitoring/promtail/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -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://{{ .Values.edfbuilderTargetDomain }}: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://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:8443/argocd
- Argo Workflows: https://{{ .Values.edfbuilderTargetDomain }}:8443/argo-workflows
- Backstage: https://{{ .Values.edfbuilderTargetDomain }}:8443/
- Gitea: https://{{ .Values.edfbuilderTargetDomain }}:8443/gitea
- Keycloak: https://{{ .Values.edfbuilderTargetDomain }}:8443/keycloak/admin/master/console/
- Argo CD: https://{{]] .Env.DOMAIN [[}}:8443/argocd
- Argo Workflows: https://{{]] .Env.DOMAIN [[}}:8443/argo-workflows
- Backstage: https://{{]] .Env.DOMAIN [[}}:8443/
- Gitea: https://{{]] .Env.DOMAIN [[}}:8443/gitea
- Keycloak: https://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:8443).
For this example, we will walk through a few demonstrations. Once applications are ready, go to the [backstage URL](https://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:8443/keycloak/admin/master/console/).
1. Go to the [Keycloak UI](https://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
2. Backstage created [an ArgoCD Application](https://{{ .Values.edfbuilderTargetDomain }}:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
3. Backstage registered the application as [a component](https://{{ .Values.edfbuilderTargetDomain }}:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage.
1. Backstage created [a git repository](https://{{]] .Env.DOMAIN [[}}:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
2. Backstage created [an ArgoCD Application](https://{{]] .Env.DOMAIN [[}}:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
3. Backstage registered the application as [a component](https://{{]] .Env.DOMAIN [[}}: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.

View file

@ -10,7 +10,7 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/argo-workflows/manifests/dev"
destination:

View file

@ -7,14 +7,14 @@ data:
config: |
sso:
insecureSkipVerify: true
issuer: https://{{ .Values.edfbuilderTargetDomain }}/keycloak/realms/cnoe
issuer: https://{{]] .Env.DOMAIN [[}}/keycloak/realms/cnoe
clientId:
name: keycloak-oidc
key: client-id
clientSecret:
name: keycloak-oidc
key: secret-key
redirectUrl: https://{{ .Values.edfbuilderTargetDomain }}:443/argo-workflows/oauth2/callback
redirectUrl: https://{{]] .Env.DOMAIN [[}}:443/argo-workflows/oauth2/callback
rbac:
enabled: true
scopes:

View file

@ -10,7 +10,7 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/backstage-templates/entities"
directory:

View file

@ -20,7 +20,7 @@ metadata:
backstage.io/kubernetes-namespace: default
argocd/app-name: ${{values.name | dump}}
links:
- url: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443
- url: https://gitea.{{]] .Env.DOMAIN [[}}:443
title: Repo URL
icon: github
spec:

View file

@ -100,7 +100,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.{{ .Values.edfbuilderTargetDomain }}:443/?repo=${{parameters.name}}
repoUrl: gitea.{{]] .Env.DOMAIN [[}}: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.{{ .Values.edfbuilderTargetDomain }}:443/giteaAdmin/${{parameters.name}}
repoUrl: https://gitea.{{]] .Env.DOMAIN [[}}:443/giteaAdmin/${{parameters.name}}
path: "kustomize/base"
- id: register
name: Register

View file

@ -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.{{ .Values.edfbuilderTargetDomain }}:443
- url: https://gitea.{{]] .Env.DOMAIN [[}}:443
title: Repo URL
icon: github
spec:

View file

@ -35,7 +35,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.{{ .Values.edfbuilderTargetDomain }}:443/?repo=${{parameters.name}}
repoUrl: gitea.{{]] .Env.DOMAIN [[}}: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.{{ .Values.edfbuilderTargetDomain }}:443/giteaAdmin/${{parameters.name}}
repoUrl: https://gitea.{{]] .Env.DOMAIN [[}}:443/giteaAdmin/${{parameters.name}}
path: "manifests"
- id: register
name: Register

View file

@ -10,7 +10,7 @@ metadata:
backstage.io/kubernetes-namespace: default
argocd/app-name: ${{values.name | dump}}
links:
- url: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443
- url: https://gitea.{{]] .Env.DOMAIN [[}}:443
title: Repo URL
icon: github
spec:

View file

@ -31,7 +31,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.{{ .Values.edfbuilderTargetDomain }}:443/?repo=${{parameters.name}}
repoUrl: gitea.{{]] .Env.DOMAIN [[}}: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.{{ .Values.edfbuilderTargetDomain }}:443/giteaAdmin/${{parameters.name}}
repoUrl: https://gitea.{{]] .Env.DOMAIN [[}}:443/giteaAdmin/${{parameters.name}}
path: "manifests"
- id: register
name: Register

View file

@ -9,7 +9,7 @@ metadata:
backstage.io/kubernetes-label-selector: 'entity-id=${{ values.name }}'
backstage.io/kubernetes-namespace: gitea
links:
- url: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443
- url: https://gitea.{{]] .Env.DOMAIN [[}}:443
title: Repo URL
icon: git
spec:
@ -26,7 +26,7 @@ metadata:
annotations:
backstage.io/techdocs-ref: dir:.
links:
- url: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443
- url: https://gitea.{{]] .Env.DOMAIN [[}}:443
title: Gitea Repo
icon: git
spec:

View file

@ -33,7 +33,7 @@ spec:
name: Publish to Gitea
action: publish:gitea
input:
repoUrl: gitea.{{ .Values.edfbuilderTargetDomain }}:443/?repo=${{parameters.name}}
repoUrl: gitea.{{]] .Env.DOMAIN [[}}:443/?repo=${{parameters.name}}
description: This is the repository for ${{ parameters.name }}
sourcePath: ./skeleton
defaultBranch: main

View file

@ -10,7 +10,7 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/backstage/manifests"
destination:

View file

@ -70,7 +70,7 @@ data:
app-config.yaml: |
app:
title: CNOE Backstage
baseUrl: https://{{ .Values.edfbuilderTargetDomain }}:443
baseUrl: https://{{]] .Env.DOMAIN [[}}:443
organization:
name: CNOE
backend:
@ -80,7 +80,7 @@ data:
# auth:
# keys:
# - secret: ${BACKEND_SECRET}
baseUrl: https://{{ .Values.edfbuilderTargetDomain }}:443
baseUrl: https://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:443
origin: https://{{]] .Env.DOMAIN [[}}:443
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
database:
@ -106,12 +106,12 @@ data:
integrations:
gitea:
- baseUrl: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443
host: gitea.{{ .Values.edfbuilderTargetDomain }}:443
- baseUrl: https://gitea.{{]] .Env.DOMAIN [[}}:443
host: gitea.{{]] .Env.DOMAIN [[}}:443
username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD}
- baseUrl: https://gitea.{{ .Values.edfbuilderTargetDomain }}
host: gitea.{{ .Values.edfbuilderTargetDomain }}
- baseUrl: https://gitea.{{]] .Env.DOMAIN [[}}
host: gitea.{{]] .Env.DOMAIN [[}}
username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD}
# github:
@ -165,7 +165,7 @@ data:
locations:
# Examples from a public GitHub repository.
- type: url
target: https://gitea.{{ .Values.edfbuilderTargetDomain }}:443/giteaAdmin/edfbuilder/raw/branch/main/stacks/ref-implementation/backstage-templates/entities/catalog-info.yaml
target: https://gitea.{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:443/argocd
url: https://{{]] .Env.DOMAIN [[}}:443/argocd
username: admin
password: ${ARGOCD_ADMIN_PASSWORD}
argoWorkflows:
@ -374,14 +374,14 @@ spec:
template:
engineVersion: v2
data:
BACKSTAGE_FRONTEND_URL: https://{{ .Values.edfbuilderTargetDomain }}:443/backstage
BACKSTAGE_FRONTEND_URL: https://{{]] .Env.DOMAIN [[}}: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://{{ .Values.edfbuilderTargetDomain }}:443/argo-workflows
KEYCLOAK_NAME_METADATA: https://{{ .Values.edfbuilderTargetDomain }}:443/keycloak/realms/cnoe/.well-known/openid-configuration
ARGO_WORKFLOWS_URL: https://{{]] .Env.DOMAIN [[}}:443/argo-workflows
KEYCLOAK_NAME_METADATA: https://{{]] .Env.DOMAIN [[}}: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/'

View file

@ -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://{{ .Values.edfbuilderTargetDomain }}:8443/argo`,
For example, if you need to access Argo Workflows UI, instead of going to `https://{{]] .Env.DOMAIN [[}}:8443/argo`,
you go to `https://${CODESPACE_NAME}-8080.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}/argo`

View file

@ -12,7 +12,7 @@ spec:
namespace: external-secrets
server: "https://kubernetes.default.svc"
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/external-secrets/manifests"
project: default

View file

@ -10,7 +10,7 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/fibonacci-app"
destination:

View file

@ -24,6 +24,6 @@ spec:
helm:
valueFiles:
- $values/stacks/ref-implementation/forgejo-runner/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -12,7 +12,7 @@ spec:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/keycloak/manifests"
project: default

View file

@ -83,7 +83,7 @@ data:
proxy=edge
# hostname configuration
hostname={{ .Values.edfbuilderTargetDomain }}
hostname={{]] .Env.DOMAIN [[}}
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url

View file

@ -145,7 +145,7 @@ data:
"rootUrl": "",
"baseUrl": "",
"redirectUris": [
"https://{{ .Values.edfbuilderTargetDomain }}:443/argo-workflows/oauth2/callback"
"https://{{]] .Env.DOMAIN [[}}:443/argo-workflows/oauth2/callback"
],
"webOrigins": [
"/*"
@ -174,7 +174,7 @@ data:
"rootUrl": "",
"baseUrl": "",
"redirectUris": [
"https://{{ .Values.edfbuilderTargetDomain }}:443/api/auth/keycloak-oidc/handler/frame"
"https://{{]] .Env.DOMAIN [[}}:443/api/auth/keycloak-oidc/handler/frame"
],
"webOrigins": [
"/*"

View file

@ -24,7 +24,7 @@ spec:
helm:
valueFiles:
- $values/stacks/ref-implementation/openbao/values.yaml
- repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values
ignoreDifferences:

View file

@ -19,5 +19,5 @@ spec:
namespace: crossplane-system
source:
path: stacks/second-cluster/create-new-cluster-guestbook
repoURL: https://gitea.{{ .Values.edfbuilderTargetDomain }}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
targetRevision: HEAD