Last active
          May 29, 2020 06:18 
        
      - 
      
 - 
        
Save hsinhoyeh/eb90f6bc2c2c9f2e0ac20fd13a3edf90 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // previously, please refer to: https://gist.github.com/hsinhoyeh/c5f60b4cbe41a1e6478ae5ea10f47497 | |
| // ref: https://www.kubeflow.org/docs/started/k8s/kfctl-istio-dex/ | |
| // modification: | |
| // 1. remove istio related as we already have one during the previous step | |
| // 2. change clusteradmin to [email protected] instead of using anonymous | |
| cat kfctl_istio_dex.v1.0.2.yaml | |
| ``` | |
| apiVersion: kfdef.apps.kubeflow.org/v1 | |
| kind: KfDef | |
| metadata: | |
| annotations: | |
| kfctl.kubeflow.io/force-delete: "false" | |
| clusterName: minikube | |
| creationTimestamp: null | |
| name: my-kubeflow | |
| namespace: kubeflow | |
| spec: | |
| applications: | |
| - kustomizeConfig: | |
| repoRef: | |
| name: manifests | |
| path: application/application-crds | |
| name: application-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: application/application | |
| name: application | |
| - kustomizeConfig: | |
| parameters: | |
| - name: clusterRbacConfig | |
| value: "ON" | |
| repoRef: | |
| name: manifests | |
| path: istio/istio | |
| name: istio | |
| - kustomizeConfig: | |
| parameters: | |
| - name: namespace | |
| value: cert-manager | |
| repoRef: | |
| name: manifests | |
| path: cert-manager/cert-manager-crds | |
| name: cert-manager-crds | |
| - kustomizeConfig: | |
| parameters: | |
| - name: namespace | |
| value: kube-system | |
| repoRef: | |
| name: manifests | |
| path: cert-manager/cert-manager-kube-system-resources | |
| name: cert-manager-kube-system-resources | |
| - kustomizeConfig: | |
| overlays: | |
| - self-signed | |
| - application | |
| parameters: | |
| - name: namespace | |
| value: cert-manager | |
| repoRef: | |
| name: manifests | |
| path: cert-manager/cert-manager | |
| name: cert-manager | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: namespace | |
| value: istio-system | |
| - name: userid-header | |
| value: kubeflow-userid | |
| - name: oidc_provider | |
| value: http://dex.auth.svc.cluster.local:5556/dex | |
| - name: oidc_redirect_uri | |
| value: /login/oidc | |
| - name: oidc_auth_url | |
| value: /dex/auth | |
| - name: skip_auth_uri | |
| value: /dex | |
| - name: client_id | |
| value: kubeflow-oidc-authservice | |
| repoRef: | |
| name: manifests | |
| path: istio/oidc-authservice | |
| name: oidc-authservice | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| parameters: | |
| - name: namespace | |
| value: auth | |
| - name: issuer | |
| value: http://dex.auth.svc.cluster.local:5556/dex | |
| - name: client_id | |
| value: kubeflow-oidc-authservice | |
| - name: oidc_redirect_uris | |
| value: '["/login/oidc"]' | |
| - name: static_email | |
| value: [email protected] | |
| - name: static_password_hash | |
| value: $2y$12$ruoM7FqXrpVgaol44eRZW.4HWS8SAvg6KYVVSCIwKQPBmTpCm.EeO | |
| repoRef: | |
| name: manifests | |
| path: dex-auth/dex-crds | |
| name: dex | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: argo | |
| name: argo | |
| - kustomizeConfig: | |
| repoRef: | |
| name: manifests | |
| path: kubeflow-roles | |
| name: kubeflow-roles | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| parameters: | |
| - name: userid-header | |
| value: kubeflow-userid | |
| repoRef: | |
| name: manifests | |
| path: common/centraldashboard | |
| name: centraldashboard | |
| - kustomizeConfig: | |
| overlays: | |
| - cert-manager | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: admission-webhook/webhook | |
| name: webhook | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| parameters: | |
| - name: userid-header | |
| value: kubeflow-userid | |
| repoRef: | |
| name: manifests | |
| path: jupyter/jupyter-web-app | |
| name: jupyter-web-app | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: spark/spark-operator | |
| name: spark-operator | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| - db | |
| repoRef: | |
| name: manifests | |
| path: metadata | |
| name: metadata | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: jupyter/notebook-controller | |
| name: notebook-controller | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pytorch-job/pytorch-job-crds | |
| name: pytorch-job-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pytorch-job/pytorch-operator | |
| name: pytorch-operator | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: namespace | |
| value: knative-serving | |
| repoRef: | |
| name: manifests | |
| path: knative/knative-serving-crds | |
| name: knative-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: namespace | |
| value: knative-serving | |
| repoRef: | |
| name: manifests | |
| path: knative/knative-serving-install | |
| name: knative-install | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: kfserving/kfserving-crds | |
| name: kfserving-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: kfserving/kfserving-install | |
| name: kfserving-install | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: usageId | |
| value: <randomly-generated-id> | |
| - name: reportUsage | |
| value: "true" | |
| repoRef: | |
| name: manifests | |
| path: common/spartakus | |
| name: spartakus | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| repoRef: | |
| name: manifests | |
| path: tensorboard | |
| name: tensorboard | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: tf-training/tf-job-crds | |
| name: tf-job-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: tf-training/tf-job-operator | |
| name: tf-job-operator | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: katib/katib-crds | |
| name: katib-crds | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| - istio | |
| repoRef: | |
| name: manifests | |
| path: katib/katib-controller | |
| name: katib-controller | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/api-service | |
| name: api-service | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: minioPvcName | |
| value: minio-pv-claim | |
| repoRef: | |
| name: manifests | |
| path: pipeline/minio | |
| name: minio | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| parameters: | |
| - name: mysqlPvcName | |
| value: mysql-pv-claim | |
| repoRef: | |
| name: manifests | |
| path: pipeline/mysql | |
| name: mysql | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/persistent-agent | |
| name: persistent-agent | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/pipelines-runner | |
| name: pipelines-runner | |
| - kustomizeConfig: | |
| overlays: | |
| - istio | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/pipelines-ui | |
| name: pipelines-ui | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/pipelines-viewer | |
| name: pipelines-viewer | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/scheduledworkflow | |
| name: scheduledworkflow | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: pipeline/pipeline-visualization-service | |
| name: pipeline-visualization-service | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| - istio | |
| parameters: | |
| - name: userid-header | |
| value: kubeflow-userid | |
| - name: admin | |
| value: [email protected] // use admin@ instead of anonymous | |
| repoRef: | |
| name: manifests | |
| path: profiles | |
| name: profiles | |
| - kustomizeConfig: | |
| overlays: | |
| - application | |
| repoRef: | |
| name: manifests | |
| path: seldon/seldon-core-operator | |
| name: seldon-core-operator | |
| repos: | |
| - name: manifests | |
| uri: https://github.com/kubeflow/manifests/archive/v1.0.2.tar.gz | |
| version: v1.0.2 | |
| status: | |
| reposCache: | |
| - localPath: '".cache/manifests/manifests-1.0.2"' | |
| name: manifests | |
| ``` | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment