main
ycz008 2023-11-10 12:02:45 +08:00
parent a27a159a6d
commit 6ba8618410
3 changed files with 33 additions and 40 deletions

View File

@ -5,14 +5,6 @@ metadata:
name: akhq-config name: akhq-config
data: data:
application.yml: | application.yml: |
akhq:
connections:
kafka-cluster:
properties:
bootstrap.servers: "kafka-0-internal:9092,kafka-1-internal:9092,kafka-2-internal:9092"
schema-registry:
url: "http://schemaregistry-0-internal:8081,http://schemaregistry-1-internal:8081,http://schemaregistry-2-internal:8081"
type: "confluent"
micronaut: micronaut:
security: security:
enabled: true enabled: true
@ -22,14 +14,21 @@ data:
secret: secret:
generator: generator:
secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ
akhq:
akhq.security: connections:
basic-auth: kafka-cluster:
- username: admin properties:
password: "$2a$10$ARWW4TWyaAywZ0vS4ua62OS8s.qm3cVHGmApWx8vALSMzUVS.q.Se" bootstrap.servers: "kafka-0-internal:9092,kafka-1-internal:9092,kafka-2-internal:9092"
passwordHash: BCRYPT schema-registry:
groups: url: "http://schemaregistry-0-internal:8081,http://schemaregistry-1-internal:8081,http://schemaregistry-2-internal:8081"
- admin type: "confluent"
security:
basic-auth:
- username: admin
password: "$2a$10$ARWW4TWyaAywZ0vS4ua62OS8s.qm3cVHGmApWx8vALSMzUVS.q.Se"
passwordHash: BCRYPT
groups:
- admin
--- ---
apiVersion: apps/v1 apiVersion: apps/v1

View File

@ -5,6 +5,15 @@ metadata:
name: akhq-config name: akhq-config
data: data:
application.yml: | application.yml: |
micronaut:
security:
enabled: true
token:
jwt:
signatures:
secret:
generator:
secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ
akhq: akhq:
connections: connections:
kafka-cluster: kafka-cluster:
@ -22,17 +31,6 @@ data:
groups: groups:
- admin - admin
micronaut:
security:
enabled: true
token:
jwt:
signatures:
secret:
generator:
secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment

View File

@ -5,6 +5,15 @@ metadata:
name: akhq-config name: akhq-config
data: data:
application.yml: | application.yml: |
micronaut:
security:
enabled: true
token:
jwt:
signatures:
secret:
generator:
secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ
akhq: akhq:
security: security:
default-group: no-roles default-group: no-roles
@ -22,19 +31,6 @@ data:
url: "http://schemaregistry.tcs.svc.cluster.local:8081" url: "http://schemaregistry.tcs.svc.cluster.local:8081"
type: "confluent" type: "confluent"
micronaut:
security:
enabled: true
token:
jwt:
signatures:
secret:
generator:
secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ
akhq.security:
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment