Skip to content

Commit c0be582

Browse files
authored
Merge pull request kubernetes#89269 from Jefftree/network-proxy-beta
Use v1beta1 for egress selector config
2 parents 695cd49 + 936f766 commit c0be582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster/gce/gci/configure-helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ EOF
805805
if [[ "${ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE:-false}" == "true" ]]; then
806806
if [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'grpc' ]]; then
807807
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
808-
apiVersion: apiserver.k8s.io/v1alpha1
808+
apiVersion: apiserver.k8s.io/v1beta1
809809
kind: EgressSelectorConfiguration
810810
egressSelections:
811811
- name: cluster
@@ -823,7 +823,7 @@ egressSelections:
823823
EOF
824824
elif [[ "${KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE:-grpc}" == 'http-connect' ]]; then
825825
cat <<EOF >/etc/srv/kubernetes/egress_selector_configuration.yaml
826-
apiVersion: apiserver.k8s.io/v1alpha1
826+
apiVersion: apiserver.k8s.io/v1beta1
827827
kind: EgressSelectorConfiguration
828828
egressSelections:
829829
- name: cluster

0 commit comments

Comments
 (0)