Add support for the updated (startup|liveness|readiness)Probe.Port numbers in Cilium (#9031)

This commit is contained in:
Tom Stian Berget 2022-06-27 20:00:59 +02:00 committed by GitHub
parent 6f82cf12f5
commit e1f06dd406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,11 @@ spec:
httpGet: httpGet:
host: '127.0.0.1' host: '127.0.0.1'
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"
@ -108,7 +112,11 @@ spec:
httpGet: httpGet:
host: '127.0.0.1' host: '127.0.0.1'
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"
@ -121,7 +129,11 @@ spec:
httpGet: httpGet:
host: 127.0.0.1 host: 127.0.0.1
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"