While deploying argo-cd from helm chart you can create credential template(git uri, ssh key) in values.yaml under
-----BEGIN OPENSSH PRIVATE KEY-----
-----END OPENSSH PRIVATE KEY-----
Then helm chart creates secret for this credentials in k8s. It is good, but we have…
Some terraform resources support
suffix argument for
name, bucket etc.
name - (Optional, Forces new resource) The name of the policy. If omitted, Terraform will assign a random, unique name.name_prefix - (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. …
As described here Google Kubernetes Engine (GKE) offers integrated support for two types of Cloud Load Balancing for a publicly accessible application:
For Ingress type, when you specify
kind: Ingress in a Kubernetes manifest, you instruct GKE to create an Ingress resource. A GLB load…
I am sending EKS logs to ELK stack. It is working great, but AWS ELB health check creates lots of logs and does not let me track other events properly on Kibana dashboard.
My images are based on nginx. Here is nginx configuration to disable nginx logging for
I am working on terraform modules in private git repos. I use my default ssh key(
~/.ssh/id_rsa) on macOS for my own personal git repos.
GitHub does not allow using same key for other git account. I created another ssh key pair and uploaded to GitHub. But
git clone or
terraform init still uses default key pair. Running ssh-agent and adding my new key to ssh agent with ssh-add did not help.
GIT_SSH_COMMAND env variable.
Create new ssh key, Add new public key to Github and set
$ ssh-keygen -t rsa -f ~/.ssh/mynewssh
$ export GIT_SSH_COMMAND="ssh -i ~/.ssh/mynewssh"
$ ssh-add ~/.ssh/mynewssh
$ terraform initon Fish shellset -gx GIT_SSH_COMMAND "ssh -i ~/.ssh/mynewssh"
By default, Argo CD has only one built-in user admin. If you want to create new users, you must configure k8s configmaps.
In this example, I will explain how to create local users, custom permissions for the users and setting password. I installed argocd with helm at https://github.com/argoproj/argo-helm/tree/master/charts/argo-cd
MongoDB Atlas documentation recommends using the following mongodump command with URI syntax to dump a database. But it does not work well with as reported at https://github.com/golang/go/issues/37362
$ mongodump --uri="mongodb+srv://dbUser:email@example.com/mymongodb"2021-03-03T19:15:19.165+0000 error parsing command line options: error parsing uri: lookup mycluster.jnszz.mongodb.net on 127.0.0.53:53: cannot unmarshal DNS message2021-03-03T19:15:19.165+0000 try 'mongodump…
In this article, I will explain what needs to be done to implement multi aws accounts with AWS CLI step by step. I am planning to create story series for AWS Multi-Account deployment.
We will create the following child accounts under an AWS Organization.
But unfortunately, AWS EKS is a managed Kubernetes service, and it only can send audit logs to CloudWatch. …
If you are running Jenkins on AWS EC2 instance, you can push build docker image on Jenkins and push to ECR registry without creating credentials on Jenkins
You can get a sample Jenkinsfile from my gist.
This pipeline login to ECR and build docker image from Dockerfile in my git…