Re: key 'kind' does not exist

2019-09-09 Thread 蒋鹏程
ok, I created a PR[1] which use "unknown" as the fallback "kind" ​ Best regards Jiang PengCheng [1] https://github.com/apache/openwhisk/pull/4617 -Original Message- From: "Chetan Mehrotra" To: ; Cc: Sent: 2019-09-09 (星期一) 19:48:08 (GMT+08:00) Subject: Re: key 'kind' does not exist Makes

Re: Using private registry with KubernetesContainerFactory

2019-09-09 Thread Chetan Mehrotra
Thanks Dave for confirming. May be we can change the current approach of building the whole Pod spec prgramatically to more of a template based. Use a base yaml/json template [1] (exposed as config) to the podSpec and then update it for the dynamic part before sending it to Kube API Server. Then

Re: Using private registry with KubernetesContainerFactory

2019-09-09 Thread David P Grove
Chetan Mehrotra wrote on 09/09/2019 07:25:18 AM: > > Is it possible to configure KubernetesContainerFactory to use runtime > images from private registry. > > From the pod spec it creates [1] I do not see any support for > configuring ImagePullSecrets > This is a gap. The Helm chart will take

Re: Openwhisk-user-events

2019-09-09 Thread Chetan Mehrotra
Gentle reminder here - Would be helpful if someone can review this PR so that it can be merged. Most of the changes are in a complete new module - However some changes are done in Message.scala in common module. Chetan Mehrotra On Tue, Aug 27, 2019 at 4:42 PM Cosmin Stanciu wrote: > > Hi Whiske

Re: key 'kind' does not exist

2019-09-09 Thread Chetan Mehrotra
Makes sense to send event in such error case. Ideally kind could have been an option but changing it now would be a schema change. So we can probably use some token value like "unknown". This has a very slight chance of breaking any downstream code processing user event if they try to map kind to

Using private registry with KubernetesContainerFactory

2019-09-09 Thread Chetan Mehrotra
Is it possible to configure KubernetesContainerFactory to use runtime images from private registry. >From the pod spec it creates [1] I do not see any support for configuring ImagePullSecrets Chetan Mehrotra [1] https://github.com/apache/openwhisk/blob/master/core/invoker/src/main/scala/org/apac

[slack-digest] [2019-09-08] #general

2019-09-09 Thread OpenWhisk Team Slack
2019-09-08 08:45:26 UTC - Pepi Paraskevoulakou: hello guys im trying to show my json result from an action as a web action ? any tutorial or web article? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1567932326107300 2019-09-08 08:55:06 UTC - Pepi Paraskevoulakou: in python https://op