Skip to content

Commit

Permalink
Remove outdate profiles component
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishnaviHire committed Sep 1, 2022
1 parent 7f0392e commit a905b63
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 71 deletions.
1 change: 1 addition & 0 deletions openshift/example/istio/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resources:
- ../../openshiftstack/application/openshift/openshift-scc/overlays/istio
- ../../openshiftstack/application/istio-1-1-1-Openshift
- ../../openshiftstack/application/cert-manager-1.5
- ../../openshiftstack/application/profiles-resources/base
- ../../openshiftstack/application/kfp-tekton/base
- ../../openshiftstack/application/knative/overlays/istio
- ../../openshiftstack/application/jupyter-web-app/base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ users:
- system:serviceaccount:$(NAMESPACE):pipeline-runner
# Allowing all serviceaccounts in kubeflow to run any uid per istio 1.9 documentation for openshift https://istio.io/latest/docs/setup/platform-setup/openshift/
- system:serviceaccounts:$(NAMESPACE)
- system:serviceaccount:kubeflow-user-example-com:default-editor
- system:serviceaccount:kubeflow-user-example-com:default-editor
volumes:
- configMap
- downwardAPI
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: allow-all
namespace: kubeflow-user-example-com
spec:
rules:
- {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## profiles component is deployed in openshift/openstack/kustomizaton.yaml
## This component deploys resources required by profile controller KF 1.6 onwards
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- network_attachment.yaml
- authorization_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: istio-cni
namespace: kubeflow-user-example-com
namespace: kubeflow-user-example-com

This file was deleted.

This file was deleted.

4 changes: 1 addition & 3 deletions openshift/openshiftstack/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- ../../common/kubeflow-roles/base

# This is here because it needs to install in namespace kubeflow
# - application/istio-1-14-OpenShift/network-attachment.yaml
- application/istio-1-14-OpenShift/network-attachment.yaml

#Added custom centraldashboard to remove tensorboard
- application/centraldashboard/base
Expand All @@ -27,8 +27,6 @@ resources:
#Create defualt user
- ../../common/user-namespace/base

# Create network-attachment for default user namespace
- application/notebook-controller/base/configs/network_attachment.yaml

configMapGenerator:
- name: kubeflow-config
Expand Down

0 comments on commit a905b63

Please sign in to comment.