Skip to content

Commit

Permalink
Add support for the updated (startup|liveness|readiness)Probe.Port nu…
Browse files Browse the repository at this point in the history
…mbers in Cilium (kubernetes-sigs#9031)
  • Loading branch information
tomberget authored and fungusakafungus committed Jul 13, 2022
1 parent f8f3587 commit db7fbf9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/network_plugin/cilium/templates/cilium/ds.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ spec:
httpGet:
host: '127.0.0.1'
path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876
{% endif %}
scheme: HTTP
httpHeaders:
- name: "brief"
Expand All @@ -108,7 +112,11 @@ spec:
httpGet:
host: '127.0.0.1'
path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876
{% endif %}
scheme: HTTP
httpHeaders:
- name: "brief"
Expand All @@ -121,7 +129,11 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876
{% endif %}
scheme: HTTP
httpHeaders:
- name: "brief"
Expand Down

0 comments on commit db7fbf9

Please sign in to comment.