--- apiVersion: v1 kind: ConfigMap metadata: name: akhq-config data: 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" security: default-group: no-roles basic-auth: - username: admin password: "$2a$10$zBr9YyaCto68TJ.aYsP8/eQXHm5MqJUULRm0OpzEOowhmG2Pjv2ry" passwordHash: BCRYPT groups: - admin micronaut: security: enabled: true token: jwt: signatures: secret: generator: secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJ0b29sdHQiOiJodHRwczovL3Rvb2x0dC5jb20ifV0sImlhdCI6MTY4NTY4OTU1MiwiZXhwIjoyNTM3NjI1NTk5LCJhdWQiOiIiLCJpc3MiOiJzbWFsbGtvdWRhaSIsInN1YiI6IiJ9.mKw9nKRhQimdaNtMWLHT9TqIn2-iIcZR4txgy8z07xQ --- apiVersion: apps/v1 kind: Deployment metadata: name: akhq spec: replicas: 1 selector: matchLabels: app: akhq template: metadata: labels: app: akhq spec: containers: - name: akhq image: tchiotludo/akhq env: - name: MICRONAUT_CONFIG_FILES value: /app/application.yml ports: - name: http containerPort: 8080 protocol: TCP - name: management containerPort: 28081 protocol: TCP volumeMounts: - name: config mountPath: /app/application.yml subPath: application.yml livenessProbe: httpGet: path: /health port: management initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /health port: management initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 resources: {} volumes: - name: config configMap: name: akhq-config --- apiVersion: v1 kind: Service metadata: name: akhq spec: type: NodePort ports: - name: http protocol: TCP port: 8080 targetPort: http # nodePort: 30024 selector: app: akhq