Merge pull request #89269 from Jefftree/network-proxy-beta
Use v1beta1 for egress selector config
This commit is contained in:
@@ -805,7 +805,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
|
||||||
@@ -823,7 +823,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
|
||||||
|
Reference in New Issue
Block a user