Skip to content

A basic Docker alpine image enhanced with the envsubst command

Notifications You must be signed in to change notification settings

tind/alpine-envsubst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

alpine-envsubst

An alpine docker image that also contains the envsubst command.

Example use case

It can be used within initContainers section of a kubernetes in order to insert a password into a configuration file

initContainers:
- name: envsubst
  image: "tindtechnologies/alpine-envsubst:3.12.0"
  imagePullPolicy: IfNotPresent
  args:
    - "sh"
    - "-c"
    - "envsubst '$PASSWORD' < /tmp/config.tmpl > /tmp/config.ini"
  env:
    - name: PASSWORD
      valueFrom:
        secretKeyRef:
          key: "password"
          name: "my-secret"

About

A basic Docker alpine image enhanced with the envsubst command

Resources

Stars

Watchers

Forks

Packages

No packages published