-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Kubernetes Namespace Handling
Before this commit it wasn't possible to create applications with names like MY-APP on a Kubernetes cluster because the application name has been used as namespace identifier but the name could contains characters that weren't allowed in RFC1123. Futher, this commit adds an additional configuration option to add optional annotations to namespaces. For example, with "field.cattle.io/projectId" it is possible to link dynamically created namespaces to Rancher projects. Also, the number of API calls to the Kubernetes backend has been reduced by just deleting the namespace of the application rather then deleting all objects in the namespace first. Additionally, this commit updates a set of library dependencies.
- Loading branch information
1 parent
ff3fffa
commit 5e7a24f
Showing
17 changed files
with
1,660 additions
and
1,104 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
Oops, something went wrong.