This image is designed to be used as an initContainer in a kubernetes deployment
initContainers:
- command:
- ./tag-fetcher.sh
image: gremlin/tag-populator:latest
imagePullPolicy: Always
name: tag-populator
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/gremlin
name: gremlin-state
This assumes that there is already a volume definition somewhere consumed by the gremlin agent that looks something like:
volumes:
- hostPath:
path: /var/lib/gremlin
type: ""
name: gremlin-state
Additionally, in order to consume these tags you'll also need to edit the existing gremlin agent container like:
containers:
- command:
- /bin/sh
- -c
- source /var/lib/gremlin/tags.sh && /entrypoint.sh daemon
image: gremlin/gremlin:latest
imagePullPolicy: Always
name: gremlin
... etc ...
Typically this replaces an args: field in the yaml
docker build . -t gremlin/tag-populator:latest
Content type
Image
Digest
sha256:c43c8fc96…
Size
239.4 MB
Last updated
about 4 years ago
docker pull gremlin/tag-populator