From f14d6258b3981f0110a1074a7907cb6febe66b8f Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 10 Nov 2023 11:58:48 +0800 Subject: [PATCH] akhq --- tcs-upgrade/kafka/akhq.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tcs-upgrade/kafka/akhq.yaml b/tcs-upgrade/kafka/akhq.yaml index efdc616..ced40ea 100644 --- a/tcs-upgrade/kafka/akhq.yaml +++ b/tcs-upgrade/kafka/akhq.yaml @@ -6,6 +6,14 @@ metadata: data: application.yml: | akhq: + security: + default-group: no-roles + basic-auth: + - username: admin + password: "$2a$10$zBr9YyaCto68TJ.aYsP8/eQXHm5MqJUULRm0OpzEOowhmG2Pjv2ry" + passwordHash: BCRYPT + groups: + - admin connections: kafka-cluster: properties: @@ -13,6 +21,7 @@ data: schema-registry: url: "http://schemaregistry.tcs.svc.cluster.local:8081" type: "confluent" + micronaut: security: enabled: true @@ -24,12 +33,7 @@ data: secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ akhq.security: - basic-auth: - - username: admin - password: "$2a$10$zBr9YyaCto68TJ.aYsP8/eQXHm5MqJUULRm0OpzEOowhmG2Pjv2ry" - passwordHash: BCRYPT - groups: - - admin + --- apiVersion: apps/v1