Skip to content

Commit 45e304c

Browse files
committed
RELEASE/MINOR: kubernetes-ingress: Tag release 1.36.1
Changes in kubernetes-ingress: - Move automountServiceAccountToken flag from pods to ServiceAccount configuration (fixes for #217) RELEASE/MAJOR: haproxy: Tag release 1.20.0 Changes in haproxy: - Update base image to HAProxy 2.9.2 - Add automountServiceAccountToken feature for ServiceAccount (#192) Signed-off-by: Dinko Korunic <dkorunic@haproxy.com>
1 parent f67966e commit 45e304c

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

haproxy/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ apiVersion: v2
1616
name: haproxy
1717
description: A Helm chart for HAProxy on Kubernetes
1818
type: application
19-
version: 1.19.3
20-
appVersion: 2.8.2
19+
version: 1.20.0
20+
appVersion: 2.9.2
2121
kubeVersion: ">=1.17.0-0"
2222
keywords:
2323
- haproxy
@@ -31,5 +31,5 @@ maintainers:
3131
engine: gotpl
3232
annotations:
3333
artifacthub.io/changes: |
34-
- Update base image to HAProxy 2.8.2
35-
- Fix includes name in haproxy charts (#203)
34+
- Update base image to HAProxy 2.9.2
35+
- Add automountServiceAccountToken feature for ServiceAccount (#192)

haproxy/templates/serviceaccount.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ metadata:
2626
annotations:
2727
{{- toYaml . | nindent 4 }}
2828
{{- end }}
29+
{{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
30+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
31+
{{- end }}
2932
{{- end }}

haproxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ serviceAccount:
2020
annotations: {}
2121
create: true
2222
name:
23+
automountServiceAccountToken: true
2324

2425
## Override namespace for for the whole chart
2526
## If namespaceOverride is set, helm will use it's value instead of .Release.Namespace for all chart components.

kubernetes-ingress/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apiVersion: v2
1616
name: kubernetes-ingress
1717
description: A Helm chart for HAProxy Kubernetes Ingress Controller
1818
type: application
19-
version: 1.36.0
19+
version: 1.36.1
2020
appVersion: 1.10.10
2121
kubeVersion: ">=1.22.0-0"
2222
keywords:
@@ -32,5 +32,4 @@ maintainers:
3232
engine: gotpl
3333
annotations:
3434
artifacthub.io/changes: |
35-
- Enable automountServiceAccountToken use (#217)
36-
- Automatically mount /tmp and /run as tmpfs for S6 overlay v3
35+
- Move automountServiceAccountToken flag from pods to ServiceAccount configuration (fixes for #217)

kubernetes-ingress/templates/controller-deployment.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ spec:
5757
spec:
5858
enableServiceLinks: {{ .Values.controller.enableServiceLinks }}
5959
serviceAccountName: {{ include "kubernetes-ingress.serviceAccountName" . }}
60-
{{- if hasKey .Values.controller "automountServiceAccountToken" }}
61-
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
62-
{{- end }}
6360
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
6461
{{- with .Values.controller.topologySpreadConstraints }}
6562
topologySpreadConstraints:

kubernetes-ingress/templates/controller-serviceaccount.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ metadata:
2626
app.kubernetes.io/managed-by: {{ .Release.Service }}
2727
app.kubernetes.io/instance: {{ .Release.Name }}
2828
app.kubernetes.io/version: {{ .Chart.AppVersion }}
29+
{{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
30+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
31+
{{- end }}
2932
{{- end -}}

kubernetes-ingress/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace:
4343
serviceAccount:
4444
create: true
4545
name:
46+
automountServiceAccountToken: true
4647

4748
## Namespace override
4849
## Allow the release namespace to be overridden for multi-namespace deployments in combined charts
@@ -538,7 +539,3 @@ controller:
538539
## Toggle to add the RBAC permissions needed for the techdump tool.
539540
techdump:
540541
enabled: false
541-
542-
## automountServiceAccountToken
543-
## Automatically mount a ServiceAccount's API credentials
544-
automountServiceAccountToken: true

0 commit comments

Comments
 (0)