Changelog
- added
-logLevel=debug|info|warn|error|fatal
flag - added fscache pkg that keeps an in-memory cache in sync with changes in secret/configmap volume mount
- set fscache watch dir via
configPath
env var - added
GET /configs
prints the configmaps and/or secrets mounted in the config volume
fscache example:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:0.5.0
env:
- name: configPath
value: "/var/secrets"
volumeMounts:
- name: auth
readOnly: true
mountPath: "/var/secrets"
volumes:
- name: auth
secret:
secretName: basic-auth