Skip to content

cilium: enforce device detection and enable image building - #151

Merged
Andrei Kvapil (kvaps) merged 1 commit into
mainfrom
fix-external-traffc-policy
May 27, 2024
Merged

cilium: enforce device detection and enable image building#151
Andrei Kvapil (kvaps) merged 1 commit into
mainfrom
fix-external-traffc-policy

Conversation

@kvaps

@kvaps Andrei Kvapil (kvaps) commented May 26, 2024

Copy link
Copy Markdown
Member

This PR enables support forexternalTrafficPolicy: Cluster

Since cilium has no native method for dynamicaly configure the devices, we use bash script instead. For two reasons:

  1. to dynamicly find the device contains nodeIP
  2. to wait until ovn0 device start up

This PR includes the upstream fix:

https://github.com/aenix-io/cozystack/blob/750fe3a34afc5203dfec432684fa510210d5fd51/packages/system/cilium/patches/startup-script.patch

for more details see:

@kvaps Andrei Kvapil (kvaps) changed the title fix external traffc policy fix externalTrafficPolicy: Cluster May 26, 2024
@kvaps
Andrei Kvapil (kvaps) force-pushed the fix-external-traffc-policy branch from 5038a2c to 9f955df Compare May 26, 2024 13:24
@kvaps
Andrei Kvapil (kvaps) marked this pull request as draft May 26, 2024 13:27
@kvaps
Andrei Kvapil (kvaps) force-pushed the fix-external-traffc-policy branch from 9f955df to 750fe3a Compare May 26, 2024 13:56
@kvaps

Copy link
Copy Markdown
Member Author

TODO: should also handle cases when user specified devices explicitly

Comment thread packages/system/cilium/values.yaml Outdated
@kvaps
Andrei Kvapil (kvaps) force-pushed the fix-external-traffc-policy branch from 750fe3a to 1058abe Compare May 27, 2024 15:58
@kvaps Andrei Kvapil (kvaps) changed the title fix externalTrafficPolicy: Cluster cilium: enforce device detection and enable image building May 27, 2024
@kvaps
Andrei Kvapil (kvaps) marked this pull request as ready for review May 27, 2024 17:11
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps
Andrei Kvapil (kvaps) force-pushed the fix-external-traffc-policy branch from 1058abe to 43f9540 Compare May 27, 2024 17:13
@themoriarti

Copy link
Copy Markdown
Collaborator

Awesome patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants