Skip to content

Commit 088fba1

Browse files
infra-dp-charts_promotion_1_13 (#339)
1 parent a261bb4 commit 088fba1

File tree

55 files changed

+1107
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1107
-331
lines changed

charts/artifactmanager/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#
66
apiVersion: v2
77
name: artifactmanager
8-
version: 1.12.0
9-
appVersion: "1.12.0"
8+
version: 1.13.0
9+
appVersion: "1.13.0"
1010
description: A Helm chart for Artifact Manager

charts/dp-configure-namespace/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ apiVersion: v2
55
name: dp-configure-namespace
66
description: A Helm chart for creating service account, cluster-role, cluster-role-binding, role-binding & network-policies
77
type: application
8-
version: 1.11.3
9-
appVersion: "1.11.0"
8+
version: 1.13.1
9+
appVersion: "1.13.0"
1010
dependencies:
1111
- condition: config.enabled
1212
name: config
@@ -15,4 +15,4 @@ dependencies:
1515
- condition: haproxy.enabled
1616
name: haproxy
1717
repository: ""
18-
version: 1.44.5
18+
version: 1.46.0

charts/dp-configure-namespace/charts/haproxy/Chart.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#
2-
# Copyright © 2023 - 2024. Cloud Software Group, Inc.
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
33
# This file is subject to the license terms contained
44
# in the license file that is distributed with this file.
55
#
66

77

88
annotations:
9-
artifacthub.io/changes: |
10-
- Use Ingress Controller 3.0.1 version for base image
11-
- Limit template spec name to 15 characters (#247)
9+
artifacthub.io/changes: |-
10+
- Use Ingress Controller 3.1.14 version for base image
11+
- Fix crdjob helm hook annotation (#313)
12+
- Add helm hook annotations to crdjob (#312)
13+
- Make initContainers templateable (#311)
1214
apiVersion: v2
13-
appVersion: 3.1.11
15+
appVersion: 3.1.14
1416
description: A Helm chart for HAProxy Kubernetes Ingress Controller
1517
home: https://github.com/haproxytech/helm-charts/tree/main/kubernetes-ingress
1618
icon: https://raw.githubusercontent.com/haproxytech/helm-charts/main/kubernetes-ingress/chart-icon.png
@@ -25,4 +27,4 @@ name: haproxy
2527
sources:
2628
- https://github.com/haproxytech/kubernetes-ingress
2729
type: application
28-
version: 1.44.5
30+
version: 1.46.0

charts/dp-configure-namespace/charts/haproxy/README.md

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ Get the latest [Helm release](https://github.com/helm/helm#install).
3131

3232
### Adding Helm chart repo
3333

34-
Once you have Helm installed, add the repo as follows:
34+
Once you have Helm installed, add the haproxytech Chart Repository as follows:
3535

3636
```console
3737
helm repo add haproxytech https://haproxytech.github.io/helm-charts
3838

3939
helm repo update
4040
```
4141

42+
Alternatively if you want to proceed with just OCI-based repository, skip this step and follow the installation with OCI.
43+
4244
## Installing the chart
4345

44-
To install the chart with Helm v3 as _my-release_ deployment:
46+
To install the chart with Helm v3 as _my-release_ deployment from Chat Repository:
4547

4648
```console
4749
helm install my-release haproxytech/kubernetes-ingress
@@ -54,7 +56,11 @@ helm install haproxytech/kubernetes-ingress \
5456
--name my-release
5557
```
5658

57-
By default Helm chart will install several [custom resource definitions](https://github.com/haproxytech/helm-charts/tree/main/kubernetes-ingress/crds) in the cluster if they are missing.
59+
Alternatively also have OCI-based repository available for simplified access:
60+
61+
```console
62+
helm install oci://ghcr.io/haproxytech/helm-charts/kubernetes-ingress --version 1.44.1
63+
```
5864

5965
### Installing with unique name
6066

@@ -196,6 +202,22 @@ helm install my-ingress haproxytech/kubernetes-ingress \
196202
--set controller.serviceMonitor.enabled=true
197203
```
198204

205+
### Installing the PodMonitor
206+
207+
As an alternative to a `ServiceMonitor` you can use a `PodMonitor`, which targets the pods directly instead of using a service.
208+
If you're using the [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator), you can automatically install the `PodMonitor` definition in order to automate the scraping options according to your needs.
209+
210+
```console
211+
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
212+
213+
helm install prometheus prometheus-community/kube-prometheus-stack \
214+
--set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false \
215+
--set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false
216+
217+
helm install my-ingress haproxytech/kubernetes-ingress \
218+
--set controller.podMonitor.enabled=true
219+
```
220+
199221
### Installing with Kubernetes Event-driven Autoscaling (KEDA)
200222

201223
[KEDA](https://keda.sh/docs/2.3/concepts/scaling-deployments/) is an improved scaling solution built on top of HPA which allows autoscaling criteria based on information from any event source including Prometheus metrics collected from HAProxy native Prometheus Exporter.
@@ -246,7 +268,23 @@ helm install keda kedacore/keda --namespace keda
246268
helm install mytest haproxytech/kubernetes-ingress -f mykeda.yaml
247269
```
248270

249-
## Installing on Azure Managed Kubernetes Service (AKS)
271+
### Installing on Amazon Elastic Kubernetes Service (EKS)
272+
273+
By default AWS LB does not support mixed protocols (TCP and UDP) on the same port yet, resulting in the following error on deploy:
274+
275+
```
276+
Error syncing load balancer: failed to ensure load balancer: mixed protocol is not supported for LoadBalancer
277+
```
278+
279+
This issue can be easily fixed by disabling QUIC support (requires `udp/443` listener) with the following:
280+
281+
```console
282+
helm install my-ingress haproxytech/kubernetes-ingress \
283+
--set controller.service.type=LoadBalancer \
284+
--set controller.service.enablePorts.quic=false
285+
```
286+
287+
### Installing on Azure Managed Kubernetes Service (AKS)
250288

251289
By default Azure LB sends probe to `/` and expects HTTP status codes of 200-399 to consider Pod healthy, which means probes end up on default HTTP backend returning HTTP 404 status code. Since v1.20 AKS service annotation `service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path` can be used to override health probe behaviour and we recommend using the following annotation on AKS to target `/healthz` endpoint for health probes:
252290

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
3+
# This file is subject to the license terms contained
4+
# in the license file that is distributed with this file.
5+
#
6+
7+
controller:
8+
kind: DaemonSet
9+
config: |
10+
rate-limit: "{{ .Values.controller.configVars.rateLimit | required "controller.configVars.rateLimit is required" }}"
11+
configVars:
12+
rateLimit: "ON"

charts/dp-configure-namespace/charts/haproxy/ci/daemonset-customconfig-values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#
2-
# Copyright © 2023 - 2024. Cloud Software Group, Inc.
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
33
# This file is subject to the license terms contained
44
# in the license file that is distributed with this file.
55
#
66

7-
87
controller:
98
kind: DaemonSet
109
config:

charts/dp-configure-namespace/charts/haproxy/ci/daemonset-enableports-values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
21
#
3-
# Copyright © 2023 - 2024. Cloud Software Group, Inc.
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
43
# This file is subject to the license terms contained
54
# in the license file that is distributed with this file.
65
#
76

7+
88
controller:
99
kind: DaemonSet
1010
service:

charts/dp-configure-namespace/charts/haproxy/ci/daemonset-unprivileged-values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
3+
# This file is subject to the license terms contained
4+
# in the license file that is distributed with this file.
5+
#
6+
17
controller:
28
kind: DaemonSet
39
unprivileged: true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
3+
# This file is subject to the license terms contained
4+
# in the license file that is distributed with this file.
5+
#
6+
7+
controller:
8+
config: |
9+
rate-limit: "{{ .Values.controller.configVars.rateLimit | required "controller.configVars.rateLimit is required" }}"
10+
configVars:
11+
rateLimit: "ON"

charts/dp-configure-namespace/charts/haproxy/ci/deployment-customconfig-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright © 2023 - 2024. Cloud Software Group, Inc.
2+
# Copyright © 2023 - 2025. Cloud Software Group, Inc.
33
# This file is subject to the license terms contained
44
# in the license file that is distributed with this file.
55
#

0 commit comments

Comments
 (0)