forked from elastic/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[elasticsearch] fix network policies http additional rules (elastic#1111
) * [elasticsearch] fix network policies http additional rules This commit fix http additional rules to use with `NetworkPolicies`. Fix elastic#1106 * [elasticsearch] improve netpol tests This commit adds some small improvements in network policies tests: * update example Makefile to fix commands and use similar structure to other examples Makefiles * fix example values file extension * use different values for http and transport network policies in python test and example values to catch regressions where same values would be used for both
- Loading branch information
Showing
4 changed files
with
30 additions
and
29 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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
default: test | ||
|
||
include ../../../helpers/examples.mk | ||
|
||
RELEASE := helm-es-networkpolicy | ||
TIMEOUT := 1200s | ||
|
||
install: | ||
helm upgrade --wait --timeout=600s --install $(RELEASE) --values ./values.yaml ../../ ; \ | ||
helm upgrade --wait --timeout=$(TIMEOUT) --install --values values.yaml $(RELEASE) ../../ | ||
|
||
restart: | ||
helm upgrade --set terminationGracePeriod=121 --wait --timeout=600s --install $(RELEASE) --values ./values.yaml ../../ ; \ | ||
test: install goss | ||
|
||
purge: | ||
helm del --purge $(RELEASE) | ||
helm del $(RELEASE) |
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
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