[ 
https://issues.apache.org/jira/browse/KNOX-3297?focusedWorklogId=1014428&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1014428
 ]

ASF GitHub Bot logged work on KNOX-3297:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Apr/26 03:57
            Start Date: 10/Apr/26 03:57
    Worklog Time Spent: 10m 
      Work Description: sneethiraj opened a new pull request, #1197:
URL: https://github.com/apache/knox/pull/1197

   (It is very **important** that you created an Apache Knox JIRA for this 
change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   KNOX-3297: Docker entrypoint script has issues that prevents this image 
being run as docker container and as a pod in k8s
   
   ## What changes were proposed in this pull request?
   
   1. Modified to use keytool from the PATH instead of hardcoding it.
   2. Fixed a scripting error related to default init of MASTER_S... 
environment variable.
   3. Added additional validation for file existance before additing it to 
truststore. Also, introduced a custom env variable TRUSTSTORE_IMPORTS to allow 
customers to add more number of certificates into truststore.
   
   ## How was this patch tested?
   
   1. Validated the changes as standalone docker [run]
   2. Validated by running the docker image as k8s pod
   
   (Please explain how this patch was tested. For instance: running automated 
unit/integration tests, manual tests. Please write down your test steps as 
detailed as possible)
   
   ## Integration Tests
   no new integration tests.
   
   ## UI changes
   None.
   
   Please review [Knox Contributing 
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
 before opening a pull request.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1014428)
    Remaining Estimate: 0h
            Time Spent: 10m

> Docker - entrypoint fails
> -------------------------
>
>                 Key: KNOX-3297
>                 URL: https://issues.apache.org/jira/browse/KNOX-3297
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: docker
>            Reporter: Selvamohan Neethiraj
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Issues:
>  # keystore path was hardcoded to /usr/bin/keytool - JDK is installed in a 
> different path.
>  # The keystore passphrase was incorrect in the initialization process.
>  # There are few truststore certs are being added in the entrypoint script. 
> But, the certs are not found in the docker image.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to