Skip to content

Commit

Permalink
Merge pull request #11 from aidanmelen/sasl-iam-continued
Browse files Browse the repository at this point in the history
added serviceAccountName to sasl/iam example
  • Loading branch information
aidanmelen authored Aug 22, 2022
2 parents cfa3392 + 25ab984 commit 51a148a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit 51a148a

Please sign in to comment.