Files
manifests/helmfile.d/ingress-haproxy.yaml.gotmpl
mrtz 0b73242b65 major(ingress): Migrate hel1 to ha-proxy controller
Most ingresses annotations should be work with small changes.
2026-05-06 11:10:18 +02:00

45 lines
1.3 KiB
Go Template

bases:
- ../envs/environments.yaml.gotmpl
repositories:
- name: haproxytech
oci: true
url: 'ghcr.io/haproxytech/helm-charts'
commonLabels:
tier: system
releases:
- name: ingress-haproxy
namespace: ingress-haproxy
chart: haproxytech/kubernetes-ingress
version: 1.42.0
condition: haproxy.enabled
values:
- ../values/ingress-haproxy/values/ingress-haproxy.yaml.gotmpl
- ../values/ingress-haproxy/values/ingress-haproxy-{{ .Environment.Name }}.yaml.gotmpl
postRenderer: ../bin/kustomizer
postRendererArgs:
- ../values/ingress-haproxy/kustomize/{{ .Environment.Name }}
missingFileHandler: Info
- name: manifests
namespace: ingress-haproxy
chart: manifests
condition: haproxy.enabled
missingFileHandler: Info
values:
- ../values/env.yaml
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
- ../values/ingress-haproxy/env.yaml.gotmpl
- ../values/ingress-haproxy/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
hooks:
- events: [ prepare, cleanup ]
showlogs: true
command: ../bin/helmify
args:
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
- '{{`{{ .Release.Chart }}`}}'
- '{{`{{ .Environment.Name }}`}}'
- ../values/ingress-haproxy/manifests
- manifests