0b73242b65
Most ingresses annotations should be work with small changes.
45 lines
1.3 KiB
Go Template
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
|