diff --git a/docs/developer.md b/docs/developer.md index 6f4e08935c5d7dd8f3f400d7439d54f04cfdf15e..67a05145756e419fe37b54863d43009fc5efee21 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -314,13 +314,12 @@ 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 CRD's [validation](../manifests/operatorconfiguration.crd.yaml) +* the CRD's validation in the [helm chart](../charts/postgres-operator/crds/operatorconfigurations.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) +Add new options also to the Helm chart's [values file](../charts/postgres-operator/values.yaml) file. +It follows the OperatorConfiguration CRD layout. Nested values will be flattened for the ConfigMap. +Last but no least, update the [ConfigMap](../manifests/configmap.yaml) manifest example as well. ### Updating documentation diff --git a/docs/quickstart.md b/docs/quickstart.md index fe083a61dcf4bc261258ce1312bbd6a72067f935..a90c90f4204d1d821e2661eb40685cc7d2b61a92 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -81,12 +81,6 @@ 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). - -```bash -helm install postgres-operator ./charts/postgres-operator -f ./charts/postgres-operator/values-crd.yaml -``` - The chart works with both Helm 2 and Helm 3. The `crd-install` hook from v2 will be skipped with warning when using v3. Documentation for installing applications with Helm 2 can be found in the [v2 docs](https://v2.helm.sh/docs/).