forked from GoogleCloudPlatform/kubeflow-distribution
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various bugs as part of setting up autodeployments
* Fix some bugs in the blueprints that cropped up while working on setting up continuous auto-deployments using the blueprints (GoogleCloudPlatform#5) Fix some bugs in the documentation. * Fix bugs in the management config for the per namespace components of CNRM. The namespaces of the role bindings wasn't correct so the cnrm manager pod ended up not having appropriate permissions. * Also the scoped namespace of the cnrm manager statefulset needs to be set the managed project not the host project. * Update Makefile to point at kubeflow/manifests master to pull in cert-manager changes. * Add check_domain_length to validate the length of the hostname KF deployment name so that we don't end up exceeding the certificate limits.
- Loading branch information
Jeremy Lewi
committed
May 5, 2020
1 parent
b0efb43
commit 80d066b
Showing
6 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# | ||
# A simple bash script to check that when using CloudEnpoints | ||
# to create an endpoint we don't endup with a domain | ||
# that exceeds the maximum allowed length of 62 characters. | ||
# The domain will be ${NAME}.endpoints.${PROJECT}.cloud.goog\ | ||
# | ||
# Run this as PROJECT=${PROJECT} NAME=${NAME} ./check_domain_length | ||
domain=${NAME}.endpoints.${PROJECT}.cloud.goog | ||
|
||
if [ ${#domain} -gt 62 ]; then | ||
echo The ${domain} exceeds is ${#domain} characters long which exceeds the maximum length of 62 characters | ||
echo choose a shorter name for your deployment | ||
exit 1 | ||
fi |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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