Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] post merge: change apiversion to keda.sh #843

Merged
merged 1 commit into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/crds/keda.sh_v1alpha1_scaledobject_cr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: example-scaledobject
Expand Down
2 changes: 1 addition & 1 deletion deploy/crds/keda.sh_v1alpha1_triggerauthentication_cr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
name: example-triggerauthentication
Expand Down
6 changes: 3 additions & 3 deletions tests/scalers/prometheus.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ test.after.always.cb('clean up prometheus deployment', t => {
'deployment.apps/test-app',
'deployment.apps/keda-test-app',
'service/test-app',
'scaledobject.keda.k8s.io/prometheus-scaledobject',
'scaledobject.keda.sh/prometheus-scaledobject',
'job/generate-requests',
]

Expand Down Expand Up @@ -176,13 +176,13 @@ spec:
selector:
type: keda-testing
---
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: prometheus-scaledobject
spec:
scaleTargetRef:
deploymentName: keda-test-app
name: keda-test-app
minReplicaCount: 0
maxReplicaCount: 5
pollingInterval: 5
Expand Down
8 changes: 3 additions & 5 deletions tests/scalers/rabbitmq-queue-amqp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test.after.always.cb('clean up rabbitmq-queue deployment', t => {
const resources = [
'secret/test-secrets',
'deployment.apps/test-deployment',
'scaledobject.keda.k8s.io/test-scaledobject',
'scaledobject.keda.sh/test-scaledobject',
]

for (const resource of resources) {
Expand Down Expand Up @@ -109,15 +109,13 @@ spec:
- secretRef:
name: test-secrets
---
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: test-scaledobject
labels:
deploymentName: test-deployment
spec:
scaleTargetRef:
deploymentName: test-deployment
name: test-deployment
pollingInterval: 5
cooldownPeriod: 10
minReplicaCount: 0
Expand Down
8 changes: 3 additions & 5 deletions tests/scalers/rabbitmq-queue-http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test.after.always.cb('clean up rabbitmq-queue deployment', t => {
const resources = [
'secret/test-secrets-api',
'deployment.apps/test-deployment',
'scaledobject.keda.k8s.io/test-scaledobject',
'scaledobject.keda.sh/test-scaledobject',
]

for (const resource of resources) {
Expand Down Expand Up @@ -111,15 +111,13 @@ spec:
- secretRef:
name: test-secrets-api
---
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: test-scaledobject
labels:
deploymentName: test-deployment
spec:
scaleTargetRef:
deploymentName: test-deployment
name: test-deployment
pollingInterval: 5
cooldownPeriod: 10
minReplicaCount: 0
Expand Down
12 changes: 5 additions & 7 deletions tests/scalers/rabbitmq-queue-trigger-auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ test.after.always.cb('clean up rabbitmq-queue deployment', t => {
const resources = [
'secret/test-secrets',
'deployment.apps/test-deployment',
'scaledobject.keda.k8s.io/test-scaledobject',
'triggerauthentications.keda.k8s.io/rabbitmq-trigger-auth',
'scaledobject.keda.sh/test-scaledobject',
'triggerauthentications.keda.sh/rabbitmq-trigger-auth',
]

for (const resource of resources) {
Expand Down Expand Up @@ -109,7 +109,7 @@ spec:
args:
- '{{CONNECTION_STRING}}'
---
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
name: rabbitmq-trigger-auth
Expand All @@ -119,15 +119,13 @@ spec:
name: rabbitmq-test-secret
key: RabbitMqHost
---
apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: test-scaledobject
labels:
deploymentName: test-deployment
spec:
scaleTargetRef:
deploymentName: test-deployment
name: test-deployment
pollingInterval: 5
cooldownPeriod: 10
minReplicaCount: 0
Expand Down