package
0.0.0-20230402125505-cb64f0529807
Repository: https://github.com/yanhan/sysadmin-library.git
Documentation: pkg.go.dev

# README

About

Golang code that connects to RDS MySQL. No TLS.

In main.go, the handler for the / endpoint will make a connection to a table in a MySQL database to extract a value.

Build

./build

Then push the image to Docker Hub.

Deploying

Create a k8s Secret object named vault-mysql-no-tls, with the following data fields:

  • DB_HOST
  • DB_USER
  • DB_PASSWORD

Then run:

kubectl apply -f ./manifest.yml

References

# Structs

No description provided by the author