Merge pull request #6957 from joshuastern/automountServiceAccountToken
Add ability to specify automountServiceAccountToken
This commit is contained in:
commit
b1c8e3047b
5 changed files with 10 additions and 2 deletions
|
@ -4,6 +4,10 @@ This file documents all notable changes to [ingress-nginx](https://github.com/ku
|
||||||
|
|
||||||
### Unreleased
|
### Unreleased
|
||||||
|
|
||||||
|
### 3.25.0
|
||||||
|
|
||||||
|
- [X] [#6957](https://github.com/kubernetes/ingress-nginx/pull/6957) Add ability to specify automountServiceAccountToken
|
||||||
|
|
||||||
### 3.24.0
|
### 3.24.0
|
||||||
|
|
||||||
- [X] [#6908](https://github.com/kubernetes/ingress-nginx/pull/6908) Add volumes to default-backend deployment
|
- [X] [#6908](https://github.com/kubernetes/ingress-nginx/pull/6908) Add volumes to default-backend deployment
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: ingress-nginx
|
name: ingress-nginx
|
||||||
# When the version is modified, make sure the artifacthub.io/changes list is updated
|
# When the version is modified, make sure the artifacthub.io/changes list is updated
|
||||||
# Also update CHANGELOG.md
|
# Also update CHANGELOG.md
|
||||||
version: 3.24.0
|
version: 3.25.0
|
||||||
appVersion: 0.44.0
|
appVersion: 0.44.0
|
||||||
home: https://github.com/kubernetes/ingress-nginx
|
home: https://github.com/kubernetes/ingress-nginx
|
||||||
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
|
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
|
||||||
|
@ -21,4 +21,4 @@ annotations:
|
||||||
# List of changes for the release in artifacthub.io
|
# List of changes for the release in artifacthub.io
|
||||||
# https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx?modal=changelog
|
# https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx?modal=changelog
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- Add volumes to default-backend deployment
|
- Add ability to specify automountServiceAccountToken
|
||||||
|
|
|
@ -6,4 +6,5 @@ metadata:
|
||||||
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
||||||
app.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
name: {{ template "ingress-nginx.serviceAccountName" . }}
|
name: {{ template "ingress-nginx.serviceAccountName" . }}
|
||||||
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,4 +6,5 @@ metadata:
|
||||||
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
||||||
app.kubernetes.io/component: default-backend
|
app.kubernetes.io/component: default-backend
|
||||||
name: {{ template "ingress-nginx.defaultBackend.serviceAccountName" . }}
|
name: {{ template "ingress-nginx.defaultBackend.serviceAccountName" . }}
|
||||||
|
automountServiceAccountToken: {{ .Values.defaultBackend.serviceAccount.automountServiceAccountToken }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -614,6 +614,7 @@ defaultBackend:
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: ""
|
name: ""
|
||||||
|
automountServiceAccountToken: true
|
||||||
## Additional environment variables to set for defaultBackend pods
|
## Additional environment variables to set for defaultBackend pods
|
||||||
extraEnvs: []
|
extraEnvs: []
|
||||||
|
|
||||||
|
@ -724,6 +725,7 @@ podSecurityPolicy:
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: ""
|
name: ""
|
||||||
|
automountServiceAccountToken: true
|
||||||
|
|
||||||
## Optional array of imagePullSecrets containing private registry credentials
|
## Optional array of imagePullSecrets containing private registry credentials
|
||||||
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||||
|
|
Loading…
Reference in a new issue