Skip to content

Commit

Permalink
chore: remove namespaces from fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Feb 12, 2025
1 parent 7d72182 commit b3eabb1
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion fixtures/k8s/cronjob_monitor_fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: batch/v1
kind: CronJob
metadata:
name: always-failing
namespace: canaries
spec:
schedule: "0 * * * *"
concurrencyPolicy: Forbid
Expand Down
5 changes: 2 additions & 3 deletions fixtures/k8s/kubernetes_resource_ingress_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: ingress-test
namespace: default
labels:
"Expected-Fail": "false"
spec:
Expand All @@ -12,8 +11,8 @@ spec:
- name: ingress-accessibility-check
namespace: default
description: "deploy httpbin & check that it's accessible via ingress"
waitFor:
expr: 'dyn(resources).all(r, k8s.isReady(r))'
waitFor:
expr: "dyn(resources).all(r, k8s.isReady(r))"
interval: 2s
timeout: 5m
staticResources:
Expand Down
5 changes: 2 additions & 3 deletions fixtures/k8s/kubernetes_resource_namespace_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: namespace-creation
namespace: default
name: namespace-creation
labels:
"Expected-Fail": "false"
spec:
Expand All @@ -12,7 +11,7 @@ spec:
- name: "namespace creation"
namespace: "default"
description: "create a namespace and pod in it"
waitFor:
waitFor:
timeout: 3m
delete: true
staticResources:
Expand Down
1 change: 0 additions & 1 deletion fixtures/k8s/kubernetes_resource_pod_exit_code_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: pod-exit-code-check
namespace: default
labels:
"Expected-Fail": "false"
spec:
Expand Down
1 change: 0 additions & 1 deletion fixtures/k8s/kubernetes_resource_service_fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: invalid-service-spec-test
namespace: default
labels:
"Expected-Fail": "true"
spec:
Expand Down
1 change: 0 additions & 1 deletion fixtures/minimal/http_auth_url_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: http-basic-auth-url
namespace: canaries
spec:
http:
- name: test-url-via-env
Expand Down
1 change: 0 additions & 1 deletion fixtures/minimal/namespaced_check_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: namespaced-http-check
namespace: default
spec:
schedule: "@every 5m"
http:
Expand Down

0 comments on commit b3eabb1

Please sign in to comment.