Skip to content

Commit

Permalink
facilitates backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-esp committed Jul 15, 2024
1 parent f2586bc commit dad0a67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ configMapName: py-kube-downscaler
# DEFAULT_UPTIME: "Mon-Fri 07:30-20:30 CET"
excludedNamespaces:
- py-kube-downscaler
- kube-downscaler
- kube-system

# Additional config in the configmap.
Expand Down
4 changes: 2 additions & 2 deletions kube_downscaler/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def get_parser():
)
parser.add_argument(
"--exclude-deployments",
help="Exclude specific deployments from downscaling. Despite its name, this option will match the name of any included resource type (Deployment, StatefulSet, CronJob, ..). (default: py-kube-downscaler,downscaler)",
default=os.getenv("EXCLUDE_DEPLOYMENTS", "py-kube-downscaler,downscaler"),
help="Exclude specific deployments from downscaling. Despite its name, this option will match the name of any included resource type (Deployment, StatefulSet, CronJob, ..). (default: py-kube-downscaler,kube-downscaler,downscaler)",
default=os.getenv("EXCLUDE_DEPLOYMENTS", "py-kube-downscaler,kube-downscaler,downscaler"),
)
parser.add_argument(
"--downtime-replicas",
Expand Down

0 comments on commit dad0a67

Please sign in to comment.