Using gomplate as hydration template engine

This commit is contained in:
Richard Robert Reitz 2024-12-08 23:19:09 +01:00
parent c24ab8d976
commit 46c745bd28
4 changed files with 18 additions and 25 deletions

View file

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

View file

@ -1,16 +0,0 @@
controller:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
ingressClassResource:
name: nginx
# added for idpbuilder
allowSnippetAnnotations: true
# added for idpbuilder
config:
proxy-buffer-size: 32k
use-forwarded-headers: "true"

View file

@ -3,12 +3,24 @@ controller:
type: RollingUpdate type: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 1 maxUnavailable: 1
ingressClassResource:
name: nginx
# added for idpbuilder
allowSnippetAnnotations: true
# added for idpbuilder
config:
proxy-buffer-size: 32k
use-forwarded-headers: "true"
{{]] if eq .Env.CLUSTER_TYPE "kind" [[}}
hostPort: hostPort:
enabled: true enabled: true
terminationGracePeriodSeconds: 0 terminationGracePeriodSeconds: 0
service: service:
type: NodePort type: NodePort
watchIngressWithoutClass: true
nodeSelector: nodeSelector:
ingress-ready: "true" ingress-ready: "true"
@ -26,11 +38,4 @@ controller:
publish-status-address: localhost publish-status-address: localhost
# added for idpbuilder # added for idpbuilder
enable-ssl-passthrough: "" enable-ssl-passthrough: ""
{{]] end [[}}
# added for idpbuilder
allowSnippetAnnotations: true
# added for idpbuilder
config:
proxy-buffer-size: 32k
use-forwarded-headers: "true"

View file

@ -1,3 +1,4 @@
{{]] if eq .Env.CLUSTER_TYPE "kind" [[}}
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
@ -27,3 +28,4 @@ spec:
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
{{]] end [[}}