Skip to content

Commit

Permalink
Clusterrolebinding is using namespace which not parametrized (kubeflo…
Browse files Browse the repository at this point in the history
…w#3573)

submit quick to make sure others won't got confused
  • Loading branch information
Renmin authored and Jeffwan committed Dec 9, 2020
1 parent 7067dcf commit 38ad8aa
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: kubeflow-pipelines-cache-deployer-sa
# Here it should be changed or overwrite to well match with customized namespace
namespace: kubeflow
3 changes: 2 additions & 1 deletion manifests/kustomize/env/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ bases:
commonLabels:
application-crd-id: kubeflow-pipelines

# Replace with your namespace
# !!! If you want to customize the namespace,
# please also update base/cache-deployer/cluster-scoped/cache-deployer-clusterrolebinding.yaml
namespace: kubeflow
3 changes: 2 additions & 1 deletion manifests/kustomize/env/gcp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ bases:
commonLabels:
application-crd-id: kubeflow-pipelines

# Replace with your namespace
# !!! If you want to customize the namespace,
# please also update base/cache-deployer/cluster-scoped/cache-deployer-clusterrolebinding.yaml
namespace: kubeflow

patchesStrategicMerge:
Expand Down
3 changes: 2 additions & 1 deletion manifests/kustomize/env/platform-agnostic/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ bases:
commonLabels:
application-crd-id: kubeflow-pipelines

# Replace with your namespace
# !!! If you want to customize the namespace,
# please also update base/cache-deployer/cluster-scoped/cache-deployer-clusterrolebinding.yaml
namespace: kubeflow

images:
Expand Down
2 changes: 1 addition & 1 deletion manifests/kustomize/sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ kubectl apply -k sample/
# If upper one action got failed, e.x. you used wrong value, try delete, fix and apply again
# kubectl delete -k sample/
kubectl wait applications/mypipeline -n mykubeflow --for condition=Ready --timeout=1800s
kubectl wait applications/mypipeline -n kubeflow --for condition=Ready --timeout=1800s
```

Now you can find the installation in [Console](http://console.cloud.google.com/ai-platform/pipelines)
Expand Down
12 changes: 7 additions & 5 deletions manifests/kustomize/sample/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ secretGenerator:
env: params-db-secret.env
behavior: merge

# !!! If you want to customize the namespace,
# please also update base/cache-deployer/cluster-scoped/cache-deployer-clusterrolebinding.yaml
namespace: kubeflow

#### Customization ###
# 1. Replace with your namespace
namespace: mykubeflow
# 2. Change values in params.env file
# 3. Change values in params-db-secret.env file for CloudSQL username and password
# 4. kubectl apply -k ./
# 1. Change values in params.env file
# 2. Change values in params-db-secret.env file for CloudSQL username and password
# 3. kubectl apply -k ./
####

0 comments on commit 38ad8aa

Please sign in to comment.