Skip to content

Commit 5404ee6

Browse files
committed
RELEASE/MAJOR: kubernetes-ingress: Tag release 1.34.0
Changes in kubernetes-ingress: - Use Ingress Controller 1.10.9 version for base image - Set allowPrivilegeEscalation to false by default Signed-off-by: Dinko Korunic <dkorunic@haproxy.com>
1 parent b64f912 commit 5404ee6

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

kubernetes-ingress/Chart.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ apiVersion: v2
1616
name: kubernetes-ingress
1717
description: A Helm chart for HAProxy Kubernetes Ingress Controller
1818
type: application
19-
version: 1.33.1
20-
appVersion: 1.10.8
19+
version: 1.34.0
20+
appVersion: 1.10.9
2121
kubeVersion: ">=1.22.0-0"
2222
keywords:
2323
- ingress
@@ -32,4 +32,5 @@ maintainers:
3232
engine: gotpl
3333
annotations:
3434
artifacthub.io/changes: |
35-
- Use Ingress Controller 1.10.8 version for base image
35+
- Use Ingress Controller 1.10.9 version for base image
36+
- Set allowPrivilegeEscalation to false by default

kubernetes-ingress/templates/controller-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ spec:
123123
runAsNonRoot: true
124124
runAsUser: 1000
125125
runAsGroup: 1000
126-
allowPrivilegeEscalation: true
126+
allowPrivilegeEscalation: {{ .Values.controller.allowPrivilegeEscalation }}
127127
capabilities:
128128
drop:
129129
- ALL

kubernetes-ingress/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ spec:
124124
runAsNonRoot: true
125125
runAsUser: 1000
126126
runAsGroup: 1000
127-
allowPrivilegeEscalation: true
127+
allowPrivilegeEscalation: {{ .Values.controller.allowPrivilegeEscalation }}
128128
capabilities:
129129
drop:
130130
- ALL

kubernetes-ingress/templates/controller-podsecuritypolicy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ metadata:
4343
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default'
4444
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
4545
spec:
46-
allowPrivilegeEscalation: true
46+
allowPrivilegeEscalation: {{ .Values.controller.allowPrivilegeEscalation }}
4747
allowedCapabilities:
4848
- NET_BIND_SERVICE
4949
defaultAllowPrivilegeEscalation: false

kubernetes-ingress/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ controller:
8181
## ref: https://kubernetes.io/docs/tutorials/security/seccomp/
8282
enableRuntimeDefaultSeccompProfile: true
8383

84+
## Privilege escalation
85+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
86+
allowPrivilegeEscalation: false
87+
8488
## Init Containers
8589
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
8690
initContainers: []
@@ -107,6 +111,7 @@ controller:
107111

108112
## Controller Container listener port configuration
109113
## ref: https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/
114+
## Note: If binding to privileged ports, allowPrivilegeEscalation will be required for NET_BIND_SERVICE to apply
110115
containerPort:
111116
http: 8080
112117
https: 8443

0 commit comments

Comments
 (0)