diff --git a/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/README.md b/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/README.md index 01c0404..7295594 100644 --- a/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/README.md +++ b/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/README.md @@ -84,6 +84,8 @@ module "confluent_platform" { - "sasl.mechanism=AWS_MSK_IAM" - "sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required;" - "sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler" + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -104,6 +106,8 @@ module "confluent_platform" { configOverrides: server: - "security.protocol=SSL" + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -139,6 +143,8 @@ module "confluent_platform" { - "kafkastore.bootstrap.servers=${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam}" tls: autoGeneratedCerts: true + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -155,6 +161,8 @@ module "confluent_platform" { - "security.protocol=SSL" tls: autoGeneratedCerts: true + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} diff --git a/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/main.tf b/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/main.tf index 23b8a4c..6f51eff 100644 --- a/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/main.tf +++ b/examples/hybrid_aws_msk/confluent_platform_sasl_iam_secure/main.tf @@ -71,6 +71,8 @@ module "confluent_platform" { - "sasl.mechanism=AWS_MSK_IAM" - "sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required;" - "sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler" + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -91,6 +93,8 @@ module "confluent_platform" { configOverrides: server: - "security.protocol=SSL" + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -126,6 +130,8 @@ module "confluent_platform" { - "kafkastore.bootstrap.servers=${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam}" tls: autoGeneratedCerts: true + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam} @@ -142,6 +148,8 @@ module "confluent_platform" { - "security.protocol=SSL" tls: autoGeneratedCerts: true + podTemplate: + serviceAccountName: ${kubernetes_service_account_v1.confluent_platform.metadata[0].name} dependencies: kafka: bootstrapEndpoint: ${data.aws_msk_cluster.msk.bootstrap_brokers_sasl_iam}