This is an automated email from the ASF dual-hosted git repository. eamonford pushed a commit to branch new-webapp-yml in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit 949fd278c96077110dffe605b979b45a7918f367 Author: Eamon Ford <[email protected]> AuthorDate: Wed Sep 23 10:24:23 2020 -0700 new webapp yaml --- helm/templates/webapp.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/helm/templates/webapp.yaml b/helm/templates/webapp.yaml index 2c08bf3..3eb5715 100644 --- a/helm/templates/webapp.yaml +++ b/helm/templates/webapp.yaml @@ -1,3 +1,4 @@ +{{ if .Values.webapp.enabled }} apiVersion: "sparkoperator.k8s.io/v1beta2" kind: SparkApplication metadata: @@ -9,6 +10,9 @@ spec: image: {{ .Values.webapp.distributed.image }} imagePullPolicy: Always mainApplicationFile: local:///incubator-sdap-nexus/analysis/webservice/webapp.py + arguments: + - --cassandra-host=sdap-cassandra + - --solr-host=http://sdap-solr:8983 sparkVersion: "2.4.4" restartPolicy: type: OnFailure @@ -41,4 +45,5 @@ spec: - name: webapp protocol: TCP port: 8083 - targetPort: 8083 \ No newline at end of file + targetPort: 8083 +{{ end }} \ No newline at end of file
