dgrove-oss commented on a change in pull request #145: WIP: Use YAML files
deploy kafka package to OpenWhisk on K8s
URL:
https://github.com/apache/incubator-openwhisk-deploy-kube/pull/145#discussion_r161043845
##########
File path: kubernetes/package-kafka/kafkapkginstaller.yml
##########
@@ -0,0 +1,48 @@
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: kafkapkginstaller
+ namespace: openwhisk
+ labels:
+ name: kafkapkginstaller
+spec:
+ template:
+ metadata:
+ labels:
+ name: kafkapkginstaller
+ spec:
+ restartPolicy: Never
+ containers:
+ - name: kafkapkginstaller
+ imagePullPolicy: IfNotPresent
+ image: openwhisk/kafkapkginstaller
+ env:
+ - name: "APIHOST"
+ valueFrom:
+ configMapKeyRef:
+ name: packages.kafkaprovider
+ key: whisk_api_host
Review comment:
You might be able to get whisk_api_host from the existing whisk.ingress
configmap?
```
valueFrom:
configMapKeyRef:
name: whisk.ingress
key: api_host
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services