Skip to content

Feature: Support PEM via environment variable #102

@elgohr

Description

@elgohr

Is your feature request related to a problem? Please describe.
At the moment the PEM must be added within a volume (see PEM_FILE).

Describe the solution you'd like
It would be great if this could also be provided via environment variable.

Describe alternatives you've considered

Dockerfile

FROM ghcr.io/leanix/leanix-github-agent:v0.1.0
COPY entrypoint.sh /custom_entrypoint.sh
ENTRYPOINT ["/custom_entrypoint.sh"]

custom_entrypoint.sh

#!/usr/bin/env sh
set -e

echo "${PEM_CONTENT}" > "${PEM_FILE}"

java ${JAVA_OPTS} -jar /app.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions