Skip to content

Commit

Permalink
add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Nov 22, 2024
1 parent 5bde61e commit 4dd0708
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 31 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
echo "E2E test pod completed successfully."
kubectl logs $TEST_POD
kubectl get pods
kubectl get svc
exit 0
elif [ "$STATUS" = "Error" ]; then
echo "E2E test pod failed."
Expand Down
2 changes: 1 addition & 1 deletion deploy/kind/e2e/e2e-batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ spec:
- name: INV_HTTP_URL
value: "kessel-inventory-service:8081"
- name: KAFKA_BOOTSTRAP_SERVERS
value: "localhost:9092"
value: "my-cluster-kafka-bootstrap.default.svc.cluster.local:9092"
command: ["/usr/local/bin/e2e-inventory-tests", "-test.v"]
restartPolicy: Never
23 changes: 8 additions & 15 deletions deploy/kind/inventory/strimzi.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Taken from: https://github.com/strimzi/strimzi-kafka-operator/blob/main/examples/kafka/kafka-ephemeral.yaml
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: my-cluster
namespace: default
spec:
kafka:
version: 3.8.0
Expand All @@ -12,24 +12,17 @@ spec:
port: 9092
type: internal
tls: false
- name: tls
port: 9093
type: internal
tls: true
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
default.replication.factor: 3
min.insync.replicas: 2
inter.broker.protocol.version: "3.8"
zookeeper.connect: my-cluster-zookeeper-client:2181
offsets.topic.replication.factor: 1
transaction.state.log.replication.factor: 1
transaction.state.log.min.isr: 1
default.replication.factor: 1
min.insync.replicas: 1
advertised.listeners: PLAINTEXT://my-cluster-kafka-bootstrap.default.svc.cluster.local:9092
storage:
type: ephemeral
zookeeper:
replicas: 1
storage:
type: ephemeral
entityOperator:
topicOperator: {}
userOperator: {}

Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ spec:
volumes:
- name: postgres-storage
persistentVolumeClaim:
claimName: postgres-pvc
claimName: postgres-pvc

Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storage: 1Gi

Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ spec:
port:
number: 9000
path: /
pathType: Prefix
pathType: Prefix

10 changes: 0 additions & 10 deletions deploy/kind/relations/spicedb-kind-setup/sm-spicedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,3 @@ spec:
- port: metrics
path: /metrics
interval: 15s










3 changes: 2 additions & 1 deletion deploy/kind/relations/spicedb-kind-setup/spicedb-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ stringData:
# -----BEGIN CERTIFICATE-----
# --- example aws rds ca cert
# -----END CERTIFICATE-----
# ---
# ---

2 changes: 1 addition & 1 deletion scripts/start-inventory-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ while true; do
done

kubectl apply -f deploy/kind/e2e/e2e-batch.yaml

sleep 30 ##wait for kafka pod to run
echo "Setup complete."

0 comments on commit 4dd0708

Please sign in to comment.