Skip to content

Commit

Permalink
Merge pull request #8 from drasi-project/fix-trivia
Browse files Browse the repository at this point in the history
Update trivia demo yamls
  • Loading branch information
danielgerlag authored Oct 8, 2024
2 parents f62c3fd + 8663150 commit c90ff5c
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 32 deletions.
2 changes: 1 addition & 1 deletion apps/trivia/devops/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Reaction
apiVersion: v1
name: test-debug
spec:
image: reaction-debug
kind: Debug
queries:
player-scores:
team-scores:
Expand Down
2 changes: 1 addition & 1 deletion apps/trivia/devops/reaction-gremlin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Reaction
apiVersion: v1
name: evict-players
spec:
image: reaction-gremlin
kind: Gremlin
queries:
players-to-evict:
properties:
Expand Down
2 changes: 1 addition & 1 deletion apps/trivia/devops/reaction-signalr-az.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Reaction
apiVersion: v1
name: signalr-trivia
spec:
image: reaction-signalr
kind: SignalR
queries:
player-scores:
team-scores:
Expand Down
2 changes: 1 addition & 1 deletion apps/trivia/devops/reaction-signalr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Reaction
apiVersion: v1
name: signalr-trivia
spec:
image: reaction-signalr
kind: SignalR
queries:
player-scores:
team-scores:
Expand Down
19 changes: 12 additions & 7 deletions apps/trivia/devops/source-games.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ apiVersion: v1
name: games
spec:
kind: CosmosGremlin
accountEndpoint:
kind: Secret
name: trivia-creds
key: accountEndpoint
database: Contoso
container: Trivia
partitionKey: partition
services:
reactivator:
properties:
partitionKey: partition
properties:
accountEndpoint:
kind: Secret
name: trivia-creds
key: accountEndpoint
database: Contoso
container: Trivia

43 changes: 22 additions & 21 deletions apps/trivia/devops/source-questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ apiVersion: v1
name: questions
spec:
kind: PostgreSQL
host:
kind: Secret
name: trivia-creds
key: pg_host
port: 5432
user:
kind: Secret
name: trivia-creds
key: pg_user
password:
kind: Secret
name: trivia-creds
key: pg_password
database:
kind: Secret
name: trivia-creds
key: pg_database
ssl: true
tables:
- public.Category
- public.Question
properties:
host:
kind: Secret
name: trivia-creds
key: pg_host
port: 5432
user:
kind: Secret
name: trivia-creds
key: pg_user
password:
kind: Secret
name: trivia-creds
key: pg_password
database:
kind: Secret
name: trivia-creds
key: pg_database
ssl: true
tables:
- public.Category
- public.Question

0 comments on commit c90ff5c

Please sign in to comment.