k8s-secrets-app

command module
v0.0.0-...-c225eed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: MIT Imports: 6 Imported by: 0

README

k8s-secrets-app

This application starts a web service on port 8080 that displays a username and password.

Build

Use ko to build and push the image to DockerHub:

brew install ko

Once ko is installed, run the following build command and change nfmsjoeg to your DockerHub username. Make sure you're authenticated to DockerHub. You do not need Docker started to complete this action.

KO_DOCKER_REPO=nfmsjoeg ko build .

Usage

Ensure the following environment variables are on the container:

  • DB_HOSTNAME
  • DB_NAME
  • DB_USERNAME
  • DB_PASSWORD

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL