diff --git a/clusters/yc-k8s-test/infrastructure/patches/kafka.yaml b/clusters/yc-k8s-test/infrastructure/patches/kafka.yaml index 9922129..ba0a409 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/kafka.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/kafka.yaml @@ -7,33 +7,31 @@ spec: interval: 5m timeout: 10m values: - imagePullSecrets: - - regcred - kafkaUsers: - - name: admin-user - authentication: - type: scram-sha-512 - - name: sarex - authentication: - type: scram-sha-512 - kafka: - replicas: 1 - listeners: - - name: plain - port: 9092 - type: internal - tls: false - - name: tls - port: 9093 - type: internal - tls: true - authentication: - type: scram-sha-512 - storage: - type: jbod - volumes: - - id: 0 - type: persistent-claim - size: 8Gi - deleteClaim: false - class: local-path + global: + imagePullSecrets: + - regcred + defaultStorageClass: local-path + image: + pullSecrets: + - regcred + controller: + replicaCount: 1 + persistence: + size: 8Gi + storageClass: local-path + broker: + replicaCount: 0 + listeners: + client: + protocol: SASL_SSL + sasl: + existingSecret: kafka-kafka-contour-user-passwords + enabledMechanisms: PLAIN,SCRAM-SHA-512 + interBrokerMechanism: PLAIN + controllerMechanism: PLAIN + client: + users: + - sarex + passwords: "" + tls: + passwordsSecret: kafka-kafka-contour-tls-passwords diff --git a/infrastructure/kafka/base/helmrelease.yaml b/infrastructure/kafka/base/helmrelease.yaml index 16eee7c..412283e 100644 --- a/infrastructure/kafka/base/helmrelease.yaml +++ b/infrastructure/kafka/base/helmrelease.yaml @@ -8,7 +8,7 @@ spec: chart: spec: chart: kafka-contour - version: "0.1.1" + version: "0.1.2" sourceRef: kind: HelmRepository name: yc-oci-charts