-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Feature: Use KubeDownscaler Without Cluster Wide Access (Namespac…
…ed Access) (#73) * facilitates backward compatibility * docs refactoring * refactored chart to include constrainted-namespace installation * refactored chart to include constrainted-namespace installation * added constrainted downscaler arg inside code * refactor --namespace argument to be able to handle a list of strings * refactore autoscale_jobs function * --namespace object could be only be used with constrainted_downscaler api calls. rbac refactored to only include namespaced resources * fixed constraintedNamesapce test namespaces inside values.yaml * added try-except to better log RBAC errors * helm chart will automaticall add --constrainted-downscaler arg if constraintedDownscaler value is set to true * added tests * added log to inform user that using --namespace argument will deactivate --exclude-namespaces * added error handling inside scaler.py * refactored namespace argument to namespaces to clarify the variable could contain more than 1 element, refactored helm chart * refactored docs * refactored migrate from codeberg docs section * removed --constrainted-downscaler argument to better help user configurations * refactored docs * refactored docs * refactored docs and constrained variable name * refactored docs * added release namespace inside helm chart (deplyoment, configmap and serviceaccount) * refactored variable names inside helm chart * refactored variable names inside docs * improved 403 error handling, changed log.error to log.warning
- Loading branch information
1 parent
9aa2078
commit c217f31
Showing
9 changed files
with
534 additions
and
64 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
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.