ISSUE-4244 e2e test

This commit is contained in:
Andrea Spacca 2019-09-29 21:11:07 +02:00
parent 203a3ed455
commit e84c8cd705
3 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,18 @@
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /not-healthz
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/port
value: 9090
- op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
value: /not-healthz
- op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/port
value: 9090
- op: add
path: /spec/template/spec/containers/0/args/-
value: --health-check-path=/not-healthz
- op: add
path: /spec/template/spec/containers/0/args/-
value: --healthz-port=9090

View file

@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: nginx-ingress-controller
path: deployment-patch.yaml
bases:
- ../../overlay