Skip to content

Commit

Permalink
add conditional for cni-install.sh that's no longer included in ciliu…
Browse files Browse the repository at this point in the history
…m 1.14

Ryan Lonergan [email protected]
  • Loading branch information
rl0nergan committed Dec 1, 2023
1 parent 333b588 commit 67b405b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/network_plugin/cilium/templates/cilium/ds.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ spec:
- {{ env_var | to_nice_yaml(indent=2) | indent(10) }}
{% endfor %}
lifecycle:
{% if cilium_version | regex_replace('v') is version('1.14', '<=') %}
postStart:
exec:
command:
Expand All @@ -114,6 +115,7 @@ spec:
{% if cilium_version | regex_replace('v') is version('1.12', '>=') %}
- "--enable-debug={{ cilium_debug | string | lower }}"
- "--log-file={{ cilium_cni_log_file }}"
{% endif %}
{% endif %}
preStop:
exec:
Expand Down

0 comments on commit 67b405b

Please sign in to comment.