Skip to content

Commit

Permalink
Update networking config for kubeflow v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
supertetelman committed Jul 11, 2023
1 parent 7a5abb7 commit ed46256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.example/files/kubeflow/dex-config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ data:
staticClients:
# https://github.com/dexidp/dex/pull/1664
- idEnv: OIDC_CLIENT_ID
redirectURIs: ["/login/oidc"]
redirectURIs: ["/login/oidc", "/authservice/oidc/callback"]
name: 'Dex Login Application'
secretEnv: OIDC_CLIENT_SECRET
4 changes: 3 additions & 1 deletion scripts/k8s/deploy_kubeflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ function clone_repo() {
cp -v "${KUBEFLOW_DEEPOPS_DEX_CONFIG}" "${KUBEFLOW_MANIFESTS_DEST}/common/dex/base/config-map.yaml"
cp -v "${KUBEFLOW_DEEPOPS_USERNS_PARAMS}" "${KUBEFLOW_MANIFESTS_DEST}/common/user-namespace/base/params.env"


# BUG: https://stackoverflow.com/questions/76502195/horizontalpodautoscaler-not-found-on-minikube-when-installing-kubeflow
sed -i 's:autoscaling/v2beta2:autoscaling/v2:' "${KUBEFLOW_MANIFESTS_DEST}/common/knative/knative-serving/base/upstream/serving-core.yaml"

# XXX: Change the default Istio Ingress Gateway configuration to support NodePort for ease-of-use in on-prem
sed -i 's:ClusterIP:NodePort:g' "${KUBEFLOW_MANIFESTS_DEST}/common/istio-1-16/istio-install/base/patches/service.yaml"

popd
echo "Kubeflow manifests repo:"
echo "- Cloned from: ${KUBEFLOW_MANIFESTS_URL}"
Expand Down

0 comments on commit ed46256

Please sign in to comment.