created an own variable for domain gitea

This commit is contained in:
Richard Robert Reitz 2025-02-24 23:10:05 +01:00
parent b3306647c9
commit 8c84170ca2
43 changed files with 57 additions and 57 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -18,6 +18,6 @@ spec:
namespace: crossplane-system namespace: crossplane-system
source: source:
path: stacks/core/crossplane-providers path: stacks/core/crossplane-providers
repoURL: https://gitea.{{{ .Env.DOMAIN }}}/giteaAdmin/edfbuilder repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
targetRevision: HEAD targetRevision: HEAD
{{{ end }}} {{{ end }}}

View file

@ -17,6 +17,6 @@ spec:
destination: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
source: source:
repoURL: https://gitea.{{{ .Env.DOMAIN }}}/giteaAdmin/edfbuilder repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
targetRevision: HEAD targetRevision: HEAD
path: "stacks/core/forgejo-runner" path: "stacks/core/forgejo-runner"

View file

@ -41,7 +41,7 @@ spec:
name: forgejo-runner-token name: forgejo-runner-token
key: token key: token
- name: FORGEJO_INSTANCE_URL - name: FORGEJO_INSTANCE_URL
value: https://gitea.{{{ .Env.DOMAIN }}} value: https://{{{ .Env.DOMAIN_GITEA }}}
volumeMounts: volumeMounts:
- name: runner-data - name: runner-data
mountPath: /data mountPath: /data

View file

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

View file

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

View file

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

View file

@ -6,7 +6,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-body-size: 512m nginx.ingress.kubernetes.io/proxy-body-size: 512m
{{{ if eq .Env.CLUSTER_TYPE "osc" }}} {{{ if eq .Env.CLUSTER_TYPE "osc" }}}
dns.gardener.cloud/class: garden dns.gardener.cloud/class: garden
dns.gardener.cloud/dnsnames: gitea.{{{ .Env.DOMAIN }}} dns.gardener.cloud/dnsnames: {{{ .Env.DOMAIN_GITEA }}}
dns.gardener.cloud/ttl: "600" dns.gardener.cloud/ttl: "600"
{{{ end }}} {{{ end }}}
name: forgejo name: forgejo
@ -14,7 +14,7 @@ metadata:
spec: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
- host: gitea.{{{ .Env.DOMAIN }}} - host: {{{ .Env.DOMAIN_GITEA }}}
http: http:
paths: paths:
- backend: - backend:
@ -26,5 +26,5 @@ spec:
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- gitea.{{{ .Env.DOMAIN }}} - {{{ .Env.DOMAIN_GITEA }}}
secretName: forgejo-net-tls secretName: forgejo-net-tls

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -100,7 +100,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # Hard coded value for this demo purposes only.
repoUrl: gitea.{{{ .Env.DOMAIN }}}:443/?repo=${{parameters.name}} repoUrl: {{{ .Env.DOMAIN_GITEA }}}:443/?repo=${{parameters.name}}
defaultBranch: main defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -111,7 +111,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # necessary until we generate our own cert
repoUrl: https://gitea.{{{ .Env.DOMAIN }}}:443/giteaAdmin/${{parameters.name}} repoUrl: https://{{{ .Env.DOMAIN_GITEA }}}:443/giteaAdmin/${{parameters.name}}
path: "kustomize/base" path: "kustomize/base"
- id: register - id: register
name: 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/label-selector: env=dev,entity-id=${{values.name}}
apache-spark.cnoe.io/cluster-name: local apache-spark.cnoe.io/cluster-name: local
links: links:
- url: https://gitea.{{{ .Env.DOMAIN }}}:443 - url: https://{{{ .Env.DOMAIN_GITEA }}}:443
title: Repo URL title: Repo URL
icon: github icon: github
spec: spec:

View file

@ -35,7 +35,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # Hard coded value for this demo purposes only.
repoUrl: gitea.{{{ .Env.DOMAIN }}}:443/?repo=${{parameters.name}} repoUrl: {{{ .Env.DOMAIN_GITEA }}}:443/?repo=${{parameters.name}}
defaultBranch: main defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -46,7 +46,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # necessary until we generate our own cert
repoUrl: https://gitea.{{{ .Env.DOMAIN }}}:443/giteaAdmin/${{parameters.name}} repoUrl: https://{{{ .Env.DOMAIN_GITEA }}}:443/giteaAdmin/${{parameters.name}}
path: "manifests" path: "manifests"
- id: register - id: register
name: Register name: Register

View file

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

View file

@ -31,7 +31,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # Hard coded value for this demo purposes only.
repoUrl: gitea.{{{ .Env.DOMAIN }}}:443/?repo=${{parameters.name}} repoUrl: {{{ .Env.DOMAIN_GITEA }}}:443/?repo=${{parameters.name}}
defaultBranch: main defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -42,7 +42,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # necessary until we generate our own cert
repoUrl: https://gitea.{{{ .Env.DOMAIN }}}:443/giteaAdmin/${{parameters.name}} repoUrl: https://{{{ .Env.DOMAIN_GITEA }}}:443/giteaAdmin/${{parameters.name}}
path: "manifests" path: "manifests"
- id: register - id: register
name: Register name: Register

View file

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

View file

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

View file

@ -33,7 +33,7 @@ jobs:
#run: ./mvnw spring-boot:build-image # the original image build #run: ./mvnw spring-boot:build-image # the original image build
run: | run: |
export CONTAINER_REPO=$(echo {% raw %}${{ env.GITHUB_REPOSITORY }}{% endraw %} | tr '[:upper:]' '[:lower:]') export CONTAINER_REPO=$(echo {% raw %}${{ env.GITHUB_REPOSITORY }}{% endraw %} | tr '[:upper:]' '[:lower:]')
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:build -Djib.allowInsecureRegistries=true -Dimage=gitea.{{{ .Env.DOMAIN }}}/${CONTAINER_REPO}:latest -Djib.to.auth.username={% raw %}${{ github.actor }}{% endraw %} -Djib.to.auth.password={% raw %}${{ secrets.PACKAGES_TOKEN }}{% endraw %} ./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:build -Djib.allowInsecureRegistries=true -Dimage={{{ .Env.DOMAIN_GITEA }}}/${CONTAINER_REPO}:latest -Djib.to.auth.username={% raw %}${{ github.actor }}{% endraw %} -Djib.to.auth.password={% raw %}${{ secrets.PACKAGES_TOKEN }}{% endraw %}
- name: Build image as tar - name: Build image as tar
run: | run: |
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:buildTar -Djib.allowInsecureRegistries=true ./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:buildTar -Djib.allowInsecureRegistries=true

View file

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

View file

@ -58,7 +58,7 @@ spec:
spec: spec:
containers: containers:
- name: workload - name: workload
image: gitea.{{{ .Env.DOMAIN }}}/giteaadmin/${{ values.name }} image: {{{ .Env.DOMAIN_GITEA }}}/giteaadmin/${{ values.name }}
env: env:
- name: SPRING_PROFILES_ACTIVE - name: SPRING_PROFILES_ACTIVE
value: postgres value: postgres

View file

@ -50,7 +50,7 @@ spec:
name: Publish to Gitea name: Publish to Gitea
action: publish:gitea action: publish:gitea
input: input:
repoUrl: gitea.{{{ .Env.DOMAIN }}}:443/?repo=${{parameters.name}} repoUrl: {{{ .Env.DOMAIN_GITEA }}}:443/?repo=${{parameters.name}}
description: This is the repository for ${{ parameters.name }} description: This is the repository for ${{ parameters.name }}
sourcePath: ./ sourcePath: ./
defaultBranch: main defaultBranch: main
@ -64,7 +64,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # necessary until we generate our own cert
repoUrl: https://gitea.{{{ .Env.DOMAIN }}}:443/giteaAdmin/${{parameters.name}} repoUrl: https://{{{ .Env.DOMAIN_GITEA }}}:443/giteaAdmin/${{parameters.name}}
path: "k8s" path: "k8s"
- id: register - id: register

View file

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

View file

@ -106,12 +106,12 @@ data:
integrations: integrations:
gitea: gitea:
- baseUrl: https://gitea.{{{ .Env.DOMAIN }}}:443 - baseUrl: https://{{{ .Env.DOMAIN_GITEA }}}:443
host: gitea.{{{ .Env.DOMAIN }}}:443 host: {{{ .Env.DOMAIN_GITEA }}}:443
username: ${GITEA_USERNAME} username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD} password: ${GITEA_PASSWORD}
- baseUrl: https://gitea.{{{ .Env.DOMAIN }}} - baseUrl: https://{{{ .Env.DOMAIN_GITEA }}}
host: gitea.{{{ .Env.DOMAIN }}} host: {{{ .Env.DOMAIN_GITEA }}}
username: ${GITEA_USERNAME} username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD} password: ${GITEA_PASSWORD}
- baseUrl: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live - baseUrl: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live
@ -167,7 +167,7 @@ data:
locations: locations:
# Examples from a public GitHub repository. # Examples from a public GitHub repository.
- type: url - type: url
target: https://gitea.{{{ .Env.DOMAIN }}}:443/giteaAdmin/edfbuilder/raw/branch/main/stacks/ref-implementation/backstage-templates/entities/catalog-info.yaml target: https://{{{ .Env.DOMAIN_GITEA }}}:443/giteaAdmin/edfbuilder/raw/branch/main/stacks/ref-implementation/backstage-templates/entities/catalog-info.yaml
rules: rules:
- allow: [Component, System, API, Resource, Location, Template, User, Group] - allow: [Component, System, API, Resource, Location, Template, User, Group]
kubernetes: kubernetes:

View file

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

View file

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

View file

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

View file

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

View file

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