kezhenxu94 edited a comment on issue #6919:
URL: https://github.com/apache/skywalking/issues/6919#issuecomment-835781185
@AmjadHussainSyed if you want to add namespace for the ElasticSearch indices
created by SkyWalking, you don't need to edit the template by hand, please use
environment variable `oap.env.SW_NAMESPACE` to do so. For example:
```
helm install skywalking skywalking \
# ..... other options
--set oap.env.SW_NAMESPACE=<your-namespace>
```
I personally don't think it a good idea to default `SW_NAMESPACE` to "{{
.Release.Namespace }}" in the upstream so I don't think we want to set the
following in the upstream repo, @wu-sheng WDYT?
```
- name: SW_NAMESPACE
value: "{{ .Release.Namespace }}"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]