All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m15s
Change-Id: I2e2564a72b6be9af536235fc3795fd788fd9257b
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
{{/*
|
|
Copyright 2026 HAProxy Technologies LLC
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
{{- if .Values.hugconf.create }}
|
|
apiVersion: gate.v3.haproxy.org/v3
|
|
kind: HugConf
|
|
metadata:
|
|
name: {{ .Values.hugconf.name }}
|
|
namespace: {{ include "haproxy-unified-gateway.namespace" . }}
|
|
labels:
|
|
{{- include "haproxy-unified-gateway.labels" . | nindent 4 }}
|
|
annotations:
|
|
"helm.sh/hook": post-install,pre-upgrade
|
|
"helm.sh/hook-weight": "5"
|
|
"helm.sh/hook-delete-policy": before-hook-creation
|
|
"argocd.argoproj.io/hook": PostSync
|
|
spec:
|
|
logging:
|
|
defaultLevel: {{ .Values.hugconf.logging.defaultLevel | quote }}
|
|
{{- with .Values.hugconf.logging.categoryLevelList }}
|
|
categoryLevelList:
|
|
{{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.hugconf.globalRef }}
|
|
globalRef:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.hugconf.defaultsRef }}
|
|
defaultsRef:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|