From 1d53f650e2b440c719d86b881681b7fefa53eb0e Mon Sep 17 00:00:00 2001 From: Shubham <50987400+Shubham82@users.noreply.github.com> Date: Tue, 2 Feb 2021 13:34:44 +0530 Subject: [PATCH] Removed MIN field for scaledjob. (#1553) --- CHANGELOG.md | 1 + api/v1alpha1/scaledjob_types.go | 1 - config/crd/bases/keda.sh_scaledjobs.yaml | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79f9a6160c6..076f0035835 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ ### Improvements - Add `KEDA_HTTP_DEFAULT_TIMEOUT` support in operator ([#1548](https://github.com/kedacore/keda/issues/1548)) +- Removed `MIN field` for scaledjob.([#1553](https://github.com/kedacore/keda/pull/1553)) ### Breaking Changes diff --git a/api/v1alpha1/scaledjob_types.go b/api/v1alpha1/scaledjob_types.go index a92041ebb1d..3f3de8640b5 100644 --- a/api/v1alpha1/scaledjob_types.go +++ b/api/v1alpha1/scaledjob_types.go @@ -9,7 +9,6 @@ import ( // +kubebuilder:object:root=true // +kubebuilder:subresource:status // +kubebuilder:resource:path=scaledjobs,scope=Namespaced,shortName=sj -// +kubebuilder:printcolumn:name="Min",type="integer",JSONPath=".spec.minReplicaCount" // +kubebuilder:printcolumn:name="Max",type="integer",JSONPath=".spec.maxReplicaCount" // +kubebuilder:printcolumn:name="Triggers",type="string",JSONPath=".spec.triggers[*].type" // +kubebuilder:printcolumn:name="Authentication",type="string",JSONPath=".spec.triggers[*].authenticationRef.name" diff --git a/config/crd/bases/keda.sh_scaledjobs.yaml b/config/crd/bases/keda.sh_scaledjobs.yaml index 77a0ac27948..105eb4742c6 100644 --- a/config/crd/bases/keda.sh_scaledjobs.yaml +++ b/config/crd/bases/keda.sh_scaledjobs.yaml @@ -19,9 +19,6 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .spec.minReplicaCount - name: Min - type: integer - jsonPath: .spec.maxReplicaCount name: Max type: integer