mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
Allow to configure revisionHistoryLimit on the K8s Deployment resource (#4008)
* Allow to configure revisionHistoryLimit on the K8s Deployment resource Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com> * Extend Helm chart CHANGELOG with new revisionHistoryLimit feature Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com> --------- Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
parent
4941d0cf3e
commit
8b290b543d
@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added the option to explicitly enable or disable service account token automounting. ([#3983](https://github.com/kubernetes-sigs/external-dns/pull/3983)) [@gilles-gosuin](https://github.com/gilles-gosuin)
|
- Added the option to explicitly enable or disable service account token automounting. ([#3983](https://github.com/kubernetes-sigs/external-dns/pull/3983)) [@gilles-gosuin](https://github.com/gilles-gosuin)
|
||||||
|
- Added the option to configure revisionHistoryLimit on the K8s Deployment resource. ([#4008](https://github.com/kubernetes-sigs/external-dns/pull/4008)) [@arnisoph](https://github.com/arnisoph)
|
||||||
|
|
||||||
## [v1.13.1] - 2023-09-07
|
## [v1.13.1] - 2023-09-07
|
||||||
|
|
||||||
|
@ -86,6 +86,7 @@ The following table lists the configurable parameters of the _ExternalDNS_ chart
|
|||||||
| `secretConfiguration.data` | Secret configuration secret data. Could be used to store DNS provider credentials. | `{}` |
|
| `secretConfiguration.data` | Secret configuration secret data. Could be used to store DNS provider credentials. | `{}` |
|
||||||
| `secretConfiguration.subPath` | Sub-path of secret configuration secret (this can be templated). | `""` |
|
| `secretConfiguration.subPath` | Sub-path of secret configuration secret (this can be templated). | `""` |
|
||||||
| `automountServiceAccountToken` | Opt out of the [service account token automounting feature](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#opt-out-of-api-credential-automounting) for the pod | `null` |
|
| `automountServiceAccountToken` | Opt out of the [service account token automounting feature](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#opt-out-of-api-credential-automounting) for the pod | `null` |
|
||||||
|
| `revisionHistoryLimit` | Optional field that specifies the number of old ReplicaSets to retain to allow rollback with the Deployment. | `null` |
|
||||||
|
|
||||||
## Namespaced scoped installation
|
## Namespaced scoped installation
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@ spec:
|
|||||||
{{- include "external-dns.selectorLabels" . | nindent 6 }}
|
{{- include "external-dns.selectorLabels" . | nindent 6 }}
|
||||||
strategy:
|
strategy:
|
||||||
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
|
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
|
||||||
|
{{- with .Values.revisionHistoryLimit }}
|
||||||
|
revisionHistoryLimit: {{ . }}
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -197,5 +197,8 @@ secretConfiguration:
|
|||||||
deploymentStrategy:
|
deploymentStrategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
|
# Optional field that specifies the number of old ReplicaSets to retain to allow rollback with the Deployment.
|
||||||
|
revisionHistoryLimit:
|
||||||
|
|
||||||
# opt out of the service account token automounting (at the pod level)
|
# opt out of the service account token automounting (at the pod level)
|
||||||
automountServiceAccountToken:
|
automountServiceAccountToken:
|
||||||
|
Loading…
Reference in New Issue
Block a user