Skip to content

Commit f0e3c11

Browse files
author
borg-z
authored
Merge pull request #63 from deckhouse/ds_eviction_annotation_renaming
cluster-autoscaler annotation renaming
2 parents 0b77374 + 3ec2a61 commit f0e3c11

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

charts/helm_lib/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
22
type: library
33
name: deckhouse_lib_helm
4-
version: 1.26.0
4+
version: 1.27.0
55
description: "Helm utils template definitions for Deckhouse modules."

charts/helm_lib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Table of contents |
66
|---|
77
| **Enable Ds Eviction** |
8-
| [helm_lib_ds_eviction_annotation](#helm_lib_ds_eviction_annotation) |
8+
| [helm_lib_prevent_ds_eviction_annotation](#helm_lib_prevent_ds_eviction_annotation) |
99
| **Envs For Proxy** |
1010
| [helm_lib_envs_for_proxy](#helm_lib_envs_for_proxy) |
1111
| **High Availability** |
@@ -106,14 +106,14 @@
106106

107107
## Enable Ds Eviction
108108

109-
### helm_lib_ds_eviction_annotation
109+
### helm_lib_prevent_ds_eviction_annotation
110110

111111
Adds `cluster-autoscaler.kubernetes.io/enable-ds-eviction` annotation to manage DaemonSet eviction by the Cluster Autoscaler.
112112
This is important to prevent the eviction of DaemonSet pods during cluster scaling.
113113

114114
#### Usage
115115

116-
`{{ include "helm_lib_ds_eviction_annotation" . }} `
116+
`{{ include "helm_lib_prevent_ds_eviction_annotation" . }} `
117117

118118

119119
## Envs For Proxy
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{{- /* Usage: {{ include "helm_lib_ds_eviction_annotation" . }} */ -}}
1+
{{- /* Usage: {{ include "helm_lib_prevent_ds_eviction_annotation" . }} */ -}}
22
{{- /* Adds `cluster-autoscaler.kubernetes.io/enable-ds-eviction` annotation to manage DaemonSet eviction by the Cluster Autoscaler. */ -}}
33
{{- /* This is important to prevent the eviction of DaemonSet pods during cluster scaling. */ -}}
4-
{{- define "helm_lib_ds_eviction_annotation" -}}
4+
{{- define "helm_lib_prevent_ds_eviction_annotation" -}}
55
cluster-autoscaler.kubernetes.io/enable-ds-eviction: "false"
6-
{{- end }}
6+
{{- end }}

tests/templates/helm_lib_enable_ds_eviction_value.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
template:
1212
metadata:
1313
annotation:
14-
{{ include "helm_lib_ds_eviction_annotation" . | nindent 8 }}
14+
{{ include "helm_lib_prevent_ds_eviction_annotation" . | nindent 8 }}

tests/tests/helm_lib_enable_ds_eviction_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
suite: helm_lib_ds_eviction_annotation tests
1+
suite: helm_lib_prevent_ds_eviction_annotation tests
22
templates:
33
- helm_lib_enable_ds_eviction_value.yaml
44
tests:

0 commit comments

Comments
 (0)