Skip to content

Allow "Pesys" to receive info from Kafka. #44

Allow "Pesys" to receive info from Kafka.

Allow "Pesys" to receive info from Kafka. #44

name: Deploy kafka topics
on:
push:
branches:
- main
paths:
- kafka-aiven/**
- '!kafka-aiven/README.md'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
matrix:
cluster: [dev, prod]
topic: [behandling-endret.v2, behandling-events.v1, kabal-statistikk.v1, internal-behandling-events.v1, internal-identity-events.v1]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: deploy kafka-topic ${{ matrix.topic }} to ${{ matrix.cluster }}
uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: ${{ matrix.cluster }}-gcp
RESOURCE: kafka-aiven/${{ matrix.topic }}/topic.yaml
VARS: kafka-aiven/${{ matrix.topic }}/${{ matrix.cluster }}-vars.yaml
PRINT_PAYLOAD: true