Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] move externalTrafficPolicy to local to gain access to source-ips #634

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base-helm-configs/memcached/memcached-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ service:
## @param service.externalTrafficPolicy Memcached service external traffic policy
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local
## @param service.annotations Additional custom annotations for Memcached service
##
annotations: {}
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/nginx-gateway-fabric/helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ service:
## The type of service to create for the NGINX Gateway Fabric.
type: LoadBalancer
## The externalTrafficPolicy of the service. The value Local preserves the client source IP.
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local
## The annotations of the NGINX Gateway Fabric service.
annotations:
"metallb.universe.tf/address-pool": "openstack-external"
Expand Down
18 changes: 9 additions & 9 deletions base-helm-configs/prometheus/prometheus-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ alertmanager:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## If you want to make sure that connections from a particular client are passed to the same Pod each time
## Accepts 'ClientIP' or 'None'
Expand Down Expand Up @@ -551,7 +551,7 @@ alertmanager:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down Expand Up @@ -2194,7 +2194,7 @@ prometheusOperator:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
## NodePort, ClusterIP, LoadBalancer
Expand Down Expand Up @@ -2479,7 +2479,7 @@ prometheusOperator:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
## NodePort, ClusterIP, LoadBalancer
Expand Down Expand Up @@ -2813,7 +2813,7 @@ prometheus:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down Expand Up @@ -2884,7 +2884,7 @@ prometheus:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down Expand Up @@ -2926,7 +2926,7 @@ prometheus:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down Expand Up @@ -2983,7 +2983,7 @@ prometheus:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down Expand Up @@ -4161,7 +4161,7 @@ thanosRuler:

## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
##
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

## Service type
##
Expand Down
4 changes: 2 additions & 2 deletions base-kustomize/vault/base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ server:
# and is only valid for LoadBalancer and NodePort service types.
# The default value is Cluster.
# ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-traffic-policy
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

# If type is set to "NodePort", a specific nodePort value can be configured,
# will be random if left blank.
Expand Down Expand Up @@ -1074,7 +1074,7 @@ ui:
# and is only valid for LoadBalancer and NodePort service types.
# The default value is Cluster.
# ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-traffic-policy
externalTrafficPolicy: Cluster
externalTrafficPolicy: Local

#loadBalancerSourceRanges:
# - 10.0.0.0/16
Expand Down
Loading