This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch nicknezis/heron-ui-arg-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 129091ba761f31a7950f50a626ccb4af23c43e34
Author: Nicholas Nezis <[email protected]>
AuthorDate: Mon Nov 23 19:27:22 2020 +0000

    Fixes to heron-ui arg name changes
---
 deploy/kubernetes/general/tools.yaml                                | 2 +-
 deploy/kubernetes/helm/templates/tools.yaml                         | 2 +-
 deploy/kubernetes/helm/values.yaml.template                         | 2 +-
 deploy/kubernetes/minikube/tools.yaml                               | 2 +-
 website2/docs/user-manuals-heron-ui.md                              | 6 +++---
 .../version-0.20.0-incubating/user-manuals-heron-ui.md              | 6 +++---
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/deploy/kubernetes/general/tools.yaml 
b/deploy/kubernetes/general/tools.yaml
index b662557..029b5a8 100644
--- a/deploy/kubernetes/general/tools.yaml
+++ b/deploy/kubernetes/general/tools.yaml
@@ -77,7 +77,7 @@ spec:
             - >-
               heron-ui
               --port=8889
-              
--base_url=/api/v1/namespaces/default/services/heron-ui:8889/proxy
+              
--base-url=/api/v1/namespaces/default/services/heron-ui:8889/proxy
           resources:
             requests:
               cpu: "100m"
diff --git a/deploy/kubernetes/helm/templates/tools.yaml 
b/deploy/kubernetes/helm/templates/tools.yaml
index d63beed..92c1a10 100644
--- a/deploy/kubernetes/helm/templates/tools.yaml
+++ b/deploy/kubernetes/helm/templates/tools.yaml
@@ -117,7 +117,7 @@ spec:
               heron-ui
               --port=8889
               {{- if not (kindIs "invalid" .Values.heron.url) }}
-              --base_url={{ eq .Values.heron.url "-" | ternary $defaultUrl 
.Values.heron.url }}
+              --base-url={{ eq .Values.heron.url "-" | ternary $defaultUrl 
.Values.heron.url }}
               {{- end }}
         - name: heron-apiserver
           image: {{ .Values.image }}
diff --git a/deploy/kubernetes/helm/values.yaml.template 
b/deploy/kubernetes/helm/values.yaml.template
index 5e4dce7..6ba169b 100644
--- a/deploy/kubernetes/helm/values.yaml.template
+++ b/deploy/kubernetes/helm/values.yaml.template
@@ -39,7 +39,7 @@ jobReplicas: 1
 # amount of memory to provide for API server
 apiServerMemory: 512M
 heron:
-  # set to `-` to set base_url to the default k8s proxy URL
+  # set to `-` to set base-url to the default k8s proxy URL
   # set to `null` to remove the use of base_url
   url: "-"
 # Topologies uploader
diff --git a/deploy/kubernetes/minikube/tools.yaml 
b/deploy/kubernetes/minikube/tools.yaml
index 1854407..ce584ca 100644
--- a/deploy/kubernetes/minikube/tools.yaml
+++ b/deploy/kubernetes/minikube/tools.yaml
@@ -63,7 +63,7 @@ spec:
             - >-
               heron-ui
               --port=8889
-              
--base_url=/api/v1/namespaces/default/services/heron-ui:8889/proxy
+              
--base-url=/api/v1/namespaces/default/services/heron-ui:8889/proxy
           resources:
             requests:
               cpu: "100m"
diff --git a/website2/docs/user-manuals-heron-ui.md 
b/website2/docs/user-manuals-heron-ui.md
index a6cb68d..d1047ae 100644
--- a/website2/docs/user-manuals-heron-ui.md
+++ b/website2/docs/user-manuals-heron-ui.md
@@ -49,13 +49,13 @@ $ ./bazel-bin/heron/tools/ui/src/python/heron-ui
 ### Heron UI Args
 
 * `--port` - Port to run the heron-ui on. Default port is `8889`.
-* `--tracker_url` - The base url for tracker. All the information about the
+* `--tracker-url` - The base url for tracker. All the information about the
   topologies is fetched from tracker. Default url is `http://localhost:8888`.
 * `--address` - Address to listen; Default address is `0.0.0.0`
-* `--base_url` - The base url path if operating behind proxy; Default is 
[`None`](https://github.com/apache/incubator-heron/blob/master/heron/tools/ui/src/python/main.py#L145)
+* `--base-url` - The base url path if operating behind proxy; Default is 
[`None`](https://github.com/apache/incubator-heron/blob/master/heron/tools/ui/src/python/main.py#L145)
 
 ```bash
 $ heron-ui
 # is equivalent to
-$ heron-ui --port=8889 --tracker_url=http://localhost:8888
+$ heron-ui --port=8889 --tracker-url=http://localhost:8888
 ```
diff --git 
a/website2/website/versioned_docs/version-0.20.0-incubating/user-manuals-heron-ui.md
 
b/website2/website/versioned_docs/version-0.20.0-incubating/user-manuals-heron-ui.md
index d379772..8ddfa23 100644
--- 
a/website2/website/versioned_docs/version-0.20.0-incubating/user-manuals-heron-ui.md
+++ 
b/website2/website/versioned_docs/version-0.20.0-incubating/user-manuals-heron-ui.md
@@ -50,13 +50,13 @@ $ ./bazel-bin/heron/tools/ui/src/python/heron-ui
 ### Heron UI Args
 
 * `--port` - Port to run the heron-ui on. Default port is `8889`.
-* `--tracker_url` - The base url for tracker. All the information about the
+* `--tracker-url` - The base url for tracker. All the information about the
   topologies is fetched from tracker. Default url is `http://localhost:8888`.
 * `--address` - Address to listen; Default address is `0.0.0.0`
-* `--base_url` - The base url path if operating behind proxy; Default is 
[`None`](https://github.com/apache/incubator-heron/blob/master/heron/tools/ui/src/python/main.py#L145)
+* `--base-url` - The base url path if operating behind proxy; Default is 
[`None`](https://github.com/apache/incubator-heron/blob/master/heron/tools/ui/src/python/main.py#L145)
 
 ```bash
 $ heron-ui
 # is equivalent to
-$ heron-ui --port=8889 --tracker_url=http://localhost:8888
+$ heron-ui --port=8889 --tracker-url=http://localhost:8888
 ```

Reply via email to