[
https://issues.apache.org/jira/browse/FLINK-27759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541929#comment-17541929
]
Yang Wang commented on FLINK-27759:
-----------------------------------
Thanks [~chesnay] for the very nice suggestion. Maybe we could directly bundle
the generated {{.flink-kubernetes-operator.version.properties}}.
{code:java}
project.version=1.0.0
git.commit.id.abbrev=2417603
git.commit.time=2022-05-23T13:42:07+0800
{code}
> Rethink how to get the git commit id for docker image in Flink Kubernetes
> operator
> ----------------------------------------------------------------------------------
>
> Key: FLINK-27759
> URL: https://issues.apache.org/jira/browse/FLINK-27759
> Project: Flink
> Issue Type: Improvement
> Components: Kubernetes Operator
> Reporter: Yang Wang
> Assignee: Nicholas Jiang
> Priority: Major
>
> Follow the discussion in the PR[1][2], we need to rethink how the get the git
> commit id properly. Currently, we rely on the .git directory. And it is a
> problem when building image from source release.
>
> [1]. [https://github.com/apache/flink-kubernetes-operator/pull/243]
> [2]. https://github.com/apache/flink-kubernetes-operator/pull/241
--
This message was sent by Atlassian Jira
(v8.20.7#820007)