From 866315084ffa1657a912cb8fce8458420735b57c Mon Sep 17 00:00:00 2001 From: Daniel Gerlag Date: Fri, 4 Oct 2024 16:20:43 -0700 Subject: [PATCH] update trivia demo yamls --- apps/trivia/devops/debug.yaml | 2 +- apps/trivia/devops/reaction-gremlin.yaml | 2 +- apps/trivia/devops/reaction-signalr-az.yaml | 2 +- apps/trivia/devops/reaction-signalr.yaml | 2 +- apps/trivia/devops/source-games.yaml | 19 +++++---- apps/trivia/devops/source-questions.yaml | 43 +++++++++++---------- 6 files changed, 38 insertions(+), 32 deletions(-) diff --git a/apps/trivia/devops/debug.yaml b/apps/trivia/devops/debug.yaml index a7a27f3..89eccb8 100644 --- a/apps/trivia/devops/debug.yaml +++ b/apps/trivia/devops/debug.yaml @@ -2,7 +2,7 @@ kind: Reaction apiVersion: v1 name: test-debug spec: - image: reaction-debug + kind: Debug queries: player-scores: team-scores: diff --git a/apps/trivia/devops/reaction-gremlin.yaml b/apps/trivia/devops/reaction-gremlin.yaml index 4a60338..3b5c9e0 100644 --- a/apps/trivia/devops/reaction-gremlin.yaml +++ b/apps/trivia/devops/reaction-gremlin.yaml @@ -2,7 +2,7 @@ kind: Reaction apiVersion: v1 name: evict-players spec: - image: reaction-gremlin + kind: Gremlin queries: players-to-evict: properties: diff --git a/apps/trivia/devops/reaction-signalr-az.yaml b/apps/trivia/devops/reaction-signalr-az.yaml index dba7dc5..eba8aa2 100644 --- a/apps/trivia/devops/reaction-signalr-az.yaml +++ b/apps/trivia/devops/reaction-signalr-az.yaml @@ -2,7 +2,7 @@ kind: Reaction apiVersion: v1 name: signalr-trivia spec: - image: reaction-signalr + kind: SignalR queries: player-scores: team-scores: diff --git a/apps/trivia/devops/reaction-signalr.yaml b/apps/trivia/devops/reaction-signalr.yaml index 55d50e9..8276b8c 100644 --- a/apps/trivia/devops/reaction-signalr.yaml +++ b/apps/trivia/devops/reaction-signalr.yaml @@ -2,7 +2,7 @@ kind: Reaction apiVersion: v1 name: signalr-trivia spec: - image: reaction-signalr + kind: SignalR queries: player-scores: team-scores: diff --git a/apps/trivia/devops/source-games.yaml b/apps/trivia/devops/source-games.yaml index 94a8eab..2d2108a 100644 --- a/apps/trivia/devops/source-games.yaml +++ b/apps/trivia/devops/source-games.yaml @@ -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 + diff --git a/apps/trivia/devops/source-questions.yaml b/apps/trivia/devops/source-questions.yaml index 91de251..eeb8b3e 100644 --- a/apps/trivia/devops/source-questions.yaml +++ b/apps/trivia/devops/source-questions.yaml @@ -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