-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow loadbalancer service external IP (#275)
Co-authored-by: d3adb5 <[email protected]>
- Loading branch information
1 parent
cea7904
commit 7e7b0a8
Showing
3 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{- if .Values.service.loadBalancerIP }} | ||
service.loadBalancerIP: | ||
You have defined the value of service.loadBalancerIP for this release. Please | ||
be mindful that this field has been deprecated as of Kubernetes v1.24 and may | ||
be removed from the API in a later release. | ||
|
||
Please refer to the Kubernetes documentation for more information. | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
suite: NOTES.txt | ||
|
||
templates: | ||
- NOTES.txt | ||
|
||
tests: | ||
- it: warns the user of the deprecation of loadBalancerIP | ||
set: | ||
service.loadBalancerIP: 1.1.1.1 | ||
asserts: | ||
- matchRegexRaw: | ||
pattern: 'service.loadBalancerIP:' | ||
|
||
- it: does not emit a warning for loadBalancerIP when not set | ||
set: | ||
service.loadBalancerIP: null | ||
asserts: | ||
- notMatchRegexRaw: | ||
pattern: 'service.loadBalancerIP:' |