Hi Team, Hope you all are doin fine. We are using ...
# general
e
Hi Team, Hope you all are doin fine. We are using Pulumi to create an EKS Cluster. As part of that we created a postgreSQL cluster, which has the password as a secret. We want to set up Druid in the cluster, which has to use this password. Wondering how I can pass with value to druid. We have gone through few docs, but not clear exactly how to achieve this.
b
I would use pulumi to put the password in AWS Parameter Store first and then I would have my app refer to that in the container definition
sorry I use ECS with Parameter Store but it looks like with EKS you can do something very similar with Secrets Manager: https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-configuration-provider-with-kubernetes-secrets-store-csi-driver/
t
Can you mount a volume/secret during Druid deployment? You could get EKS pulumi stack secret using the Stack Reference from a secondary project or within the same stack/project. Then create a k8s secret https://www.pulumi.com/docs/reference/pkg/kubernetes/core/v1/secret/