Closed cpitstick-latai closed 3 months ago
This seems right to me. The CNCF mandates you sign-off your commit though, so we implement some checks for that.
You can do git commit --amend --signoff
and force push.
I did a sign off. However, it looks like the actions workflow experienced a transient failure!
This should be ready to go now!
Tested locally, looks good. I'll give 24h for others to review, but I think this is small enough to merge with 1 approval.
This PR
Add
hostNetwork
anddnsPolicy
settings to enable compatibility with EKS clusters that have a custom CNI. Without these, the MutatingWebhook that adds the flagd sidecar to pods will not function.Related Issues
Notes
This relies on
.github/scripts/strip-kustomize-helm.sh
because boolean values have to be true/false without quotes, so to sethostNetwork
to true in the helm chart, we have to strip out the quotes that are used to allow kustomize to ignore helm chart directives.Follow-up Tasks
How to test
Test the operator with a test workload that uses the flagd sidecar on an EKS cluster with a custom CNI (Calico is most common).