Fix helm shows "Not a table" issue when install Fission (#1387)

Helm treats the single line "extraCoreComponentPodConfig" in
values.yaml as a key value pair config.

```
extraCoreComponentPodConfig:
```

And when a user tries to install helm with providing config
like following, it failed.

```
extraCoreComponentPodConfig:
  nodeSelector:
    serverless: fission
```

The root cause is that helm treats config in default values.yaml
and providing config as two different types of config, which is
key-value vs. value table. And so it's unable for helm to merge these
two configs even with the same key name.

This PR comments out the single line config in default values.yaml
to prevent the issue.
This commit is contained in:
Ta-Ching Chen
2019-11-08 23:15:15 +08:00
committed by GitHub
parent 1888cd2ac7
commit 19753e07e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ persistence:
## operator: In
## values:
## - app
extraCoreComponentPodConfig:
#extraCoreComponentPodConfig:
# affinity:
# tolerations:
# nodeSelector:
+1 -1
View File
@@ -125,7 +125,7 @@ persistence:
## operator: In
## values:
## - app
extraCoreComponentPodConfig:
#extraCoreComponentPodConfig:
# affinity:
# tolerations:
# nodeSelector: