apiVersion: v1
kind: ConfigMap
metadata:
  name: comms-kafka-config
  labels:
    app: comms
    role: business
    tier: event
data:
  application.properties: |-
    ping.bucket=kubesure.test
    ping.key=ping.txt
    ## Confluent Cloud Configs
    spring.kafka.bootstrap-servers={{.Values.comms.kafka.host}}:{{.Values.comms.kafka.port}}
    spring.kafka.properties.sasl.mechanism=PLAIN
    spring.kafka.properties.security.protocol=SASL_SSL
    spring.kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="${CC_USERNAME}" password="${CC_PASSWORD}";
    spring.kafka.properties.ssl.endpoint.identification.algorithm=https
    spring.kafka.properties.retry.backoff.ms=500
    spring.kafka.properties.request.timeout.ms=20000
