switch values files

This commit is contained in:
Felix Kunde
2019-11-28 18:13:45 +01:00
parent 734a334736
commit 87677c62a5
5 changed files with 122 additions and 121 deletions
+2 -2
View File
@@ -295,13 +295,13 @@ Please, reflect your changes in tests, for example in:
For the CRD-based configuration, please update the following files:
* the default [OperatorConfiguration](../manifests/postgresql-operator-default-configuration.yaml)
* the Helm chart's [values-crd file](../charts/postgres-operator/values.yaml)
* the Helm chart's [values file](../charts/postgres-operator/values.yaml)
* the CRD's [validation](../manifests/operatorconfiguration.crd.yaml)
Reflect the changes in the ConfigMap configuration as well (note that numeric
and boolean parameters have to use double quotes here):
* [ConfigMap](../manifests/configmap.yaml) manifest
* the Helm chart's default [values file](../charts/postgres-operator/values.yaml)
* the Helm chart's default [values-configmap file](../charts/postgres-operator/values-configmap.yaml)
### Updating documentation
+3 -2
View File
@@ -81,10 +81,11 @@ the repo root. With Helm v3 installed you should be able to run:
helm install postgres-operator ./charts/postgres-operator
```
To use CRD-based configuration you need to specify the [values-crd yaml file](../charts/postgres-operator/values-crd.yaml).
To use ConfigMap-based configuration you need to specify the
[values-configmap yaml file](../charts/postgres-operator/values-configmap.yaml).
```bash
helm install postgres-operator ./charts/postgres-operator -f ./charts/postgres-operator/values-crd.yaml
helm install postgres-operator ./charts/postgres-operator -f ./charts/postgres-operator/values-configmap.yaml
```
The chart works with both Helm 2 and Helm 3. The `crd-install` hook from v2 will