Using gomplate as hydration template engine

This commit is contained in:
Richard Robert Reitz 2024-12-08 23:25:06 +01:00
parent 46c745bd28
commit 92b56c5350
47 changed files with 80 additions and 80 deletions

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{{]] if eq .Env.CLUSTER_TYPE "kind" [[}}
{{{ if eq .Env.CLUSTER_TYPE "kind" }}}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
@ -18,6 +18,6 @@ spec:
namespace: crossplane-system
source:
path: stacks/core/crossplane-providers
repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
repoURL: https://gitea.{{{ .Env.DOMAIN }}}/giteaAdmin/edfbuilder
targetRevision: HEAD
{{]] end [[}}
{{{ end }}}

View file

@ -22,6 +22,6 @@ spec:
helm:
valueFiles:
- $values/stacks/core/forgejo/values.yaml
- repoURL: https://gitea.{{]] .Env.DOMAIN [[}}/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.{{]] .Env.DOMAIN [[}}'
ROOT_URL: 'https://gitea.{{]] .Env.DOMAIN [[}}: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.{{]] .Env.DOMAIN [[}}/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.{{]] .Env.DOMAIN [[}}/giteaAdmin/edfbuilder
- repoURL: https://gitea.{{{ .Env.DOMAIN }}}/giteaAdmin/edfbuilder
targetRevision: HEAD
ref: values

View file

@ -15,7 +15,7 @@ controller:
proxy-buffer-size: 32k
use-forwarded-headers: "true"
{{]] if eq .Env.CLUSTER_TYPE "kind" [[}}
{{{ if eq .Env.CLUSTER_TYPE "kind" }}}
hostPort:
enabled: true
terminationGracePeriodSeconds: 0
@ -38,4 +38,4 @@ controller:
publish-status-address: localhost
# added for idpbuilder
enable-ssl-passthrough: ""
{{]] end [[}}
{{{ end }}}