On Tue, Aug 18, 2020 at 5:22 PM Yaroslav <[email protected]> wrote:
> Hi there, > > We are using guacamole for connecting to kubernetes pods from inside a > cluster. > It is attaching to a running application, if it is not a shell, and you > cannot see a command prompt. Correct me if I am wrong. > > When guacd initiate a session it send a request using "attach" call, like > "/api/v1/namespaces/test/pods/test-pod/attach?stdin=true&stdout=true&tty=true". > > > There is another way to initiate a session, using call "exec" with > parameter > "command", > > "/api/v1/namespaces/test/pods/test-pod/exec?command=/bin/sh&stdin=true&stdout=true&tty=true". > > This is important for us and I think it could be a useful feature and would > be great to add this to a codebase. > > I have played with guacamole-server and added a simple implementation for > both calls, attach/exec. > I can share the implementation, how can I do that? > > Cool! The correct process to contribute this is: 1) Create a JIRA issue for this feature that you want to add. 2) Submit a pull request, with the JIRA issue as a tag at the beginning of both the pull request title and any commit messages. We'll review the pull request, possibly ask for changes to it, and then merge it when it looks good. Please make sure that the style of your contributions is consistent with existing style of code and the guidelines for the project: http://guacamole.apache.org/open-source/ -Nick
