Skip to content

Commit

Permalink
Merge pull request #1936 from wenwenxiong/master
Browse files Browse the repository at this point in the history
calico use node ip for felix route rule source ip
  • Loading branch information
ks-ci-bot authored Aug 15, 2023
2 parents 82429ce + d48e3fa commit 8cd8961
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/kk/pkg/plugins/network/templates/calico_v1.16+.go
Original file line number Diff line number Diff line change
Expand Up @@ -4639,6 +4639,11 @@ spec:
value: "false"
- name: FELIX_HEALTHENABLED
value: "true"
- name: FELIX_DEVICEROUTESOURCEADDRESS
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
securityContext:
privileged: true
resources:
Expand Down
5 changes: 5 additions & 0 deletions cmd/kk/pkg/plugins/network/templates/calico_v1.16-.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,11 @@ spec:
value: "info"
- name: FELIX_HEALTHENABLED
value: "true"
- name: FELIX_DEVICEROUTESOURCEADDRESS
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
securityContext:
privileged: true
resources:
Expand Down

0 comments on commit 8cd8961

Please sign in to comment.