mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
network proxy alpha -> beta
This commit is contained in:
parent
2c8ef3b19d
commit
936f7665cf
@ -808,7 +808,7 @@ EOF
|
|||||||
if [[ "${ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE:-false}" == "true" ]]; then
|
if [[ "${ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE:-false}" == "true" ]]; then
|
||||||
if [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'grpc' ]]; then
|
if [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'grpc' ]]; then
|
||||||
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
|
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
|
||||||
apiVersion: apiserver.k8s.io/v1alpha1
|
apiVersion: apiserver.k8s.io/v1beta1
|
||||||
kind: EgressSelectorConfiguration
|
kind: EgressSelectorConfiguration
|
||||||
egressSelections:
|
egressSelections:
|
||||||
- name: cluster
|
- name: cluster
|
||||||
@ -826,7 +826,7 @@ egressSelections:
|
|||||||
EOF
|
EOF
|
||||||
elif [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'http-connect' ]]; then
|
elif [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'http-connect' ]]; then
|
||||||
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
|
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
|
||||||
apiVersion: apiserver.k8s.io/v1alpha1
|
apiVersion: apiserver.k8s.io/v1beta1
|
||||||
kind: EgressSelectorConfiguration
|
kind: EgressSelectorConfiguration
|
||||||
egressSelections:
|
egressSelections:
|
||||||
- name: cluster
|
- name: cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user