Skip to content
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
1 change: 1 addition & 0 deletions events-kube/events-kube-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
curl
-f
-s
-S
--cacert /run/secrets/kubernetes.io/serviceaccount/ca.crt
--header "Authorization: Bearer $(cat /run/secrets/kubernetes.io/serviceaccount/token)"
https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT/api/v1/watch/events
Expand Down
10 changes: 3 additions & 7 deletions events-kube/test/events-topic.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Note that this test is scaled to zero
# because it will only stay healthy when there are cluster events, at least 1 per periodSeconds
---
kind: ConfigMap
metadata:
Expand Down Expand Up @@ -35,7 +37,7 @@ metadata:
name: events-topic
namespace: test-kafka
spec:
replicas: 1
replicas: 0
strategy:
type: Recreate
selector:
Expand All @@ -47,12 +49,6 @@ spec:
labels:
test-target: events-topic
test-type: readiness
# for example:
# readonly - can be used in production
# isolated - read/write but in a manner that does not affect other services
# load - unsuitable for production because it uses significant resources
# chaos - unsuitable for production because it injects failure modes
#test-use:
spec:
containers:
- name: testcase
Expand Down