Skip to content

Commit

Permalink
feat: exposing loadBalancer.externalTrafficPolicy value (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
clems71 committed Nov 5, 2023
1 parent aaf3e54 commit 63df82a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ metadata:
spec:
type: "LoadBalancer"
loadBalancerIP: {{ .Values.loadBalancer.loadBalancerIP }} #Deprecated in Kubernetes v1.24
externalTrafficPolicy: {{ .Values.loadBalancer.externalTrafficPolicy }}
ports:
- name: http
port: 80
Expand Down
2 changes: 2 additions & 0 deletions charts/caddy-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ ingressController:
loadBalancer:
# Deprecated in Kubernetes v1.24
loadBalancerIP:
# Set to 'Local' to maintain the client's IP on inbound connections
externalTrafficPolicy:
annotations:
# service.beta.kubernetes.io/aws-load-balancer-type:
# service.beta.kubernetes.io/aws-load-balancer-nlb-target-type:
Expand Down

0 comments on commit 63df82a

Please sign in to comment.