fix minor issues in docs and manifests
This commit is contained in:
		
							parent
							
								
									b66734a0a9
								
							
						
					
					
						commit
						54899734a1
					
				|  | @ -111,12 +111,12 @@ These parameters are grouped directly under  the `spec` key in the manifest. | ||||||
|   value overrides the `pod_toleration` setting from the operator. Optional. |   value overrides the `pod_toleration` setting from the operator. Optional. | ||||||
| 
 | 
 | ||||||
| * **podPriorityClassName** | * **podPriorityClassName** | ||||||
|    a name of the [priority |   a name of the [priority | ||||||
|    class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) |   class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass) | ||||||
|    that should be assigned to the cluster pods. When not specified, the value |   that should be assigned to the cluster pods. When not specified, the value | ||||||
|    is taken from the `pod_priority_class_name` operator parameter, if not set |   is taken from the `pod_priority_class_name` operator parameter, if not set | ||||||
|    then the default priority class is taken. The priority class itself must be |   then the default priority class is taken. The priority class itself must be | ||||||
|    defined in advance. Optional. |   defined in advance. Optional. | ||||||
| 
 | 
 | ||||||
| * **podAnnotations** | * **podAnnotations** | ||||||
|   A map of key value pairs that gets attached as [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |   A map of key value pairs that gets attached as [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) | ||||||
|  | @ -184,9 +184,9 @@ explanation of `ttl` and `loop_wait` parameters. | ||||||
|   ``` |   ``` | ||||||
|   hostssl all +pamrole all pam |   hostssl all +pamrole all pam | ||||||
|   ``` |   ``` | ||||||
|   , where pamrole is the name of the role for the pam authentication; any |   where pamrole is the name of the role for the pam authentication; any | ||||||
|     custom `pg_hba` should include the pam line to avoid breaking pam |   custom `pg_hba` should include the pam line to avoid breaking pam | ||||||
|     authentication. Optional. |   authentication. Optional. | ||||||
| 
 | 
 | ||||||
| * **ttl** | * **ttl** | ||||||
|   Patroni `ttl` parameter value, optional. The default is set by the Spilo |   Patroni `ttl` parameter value, optional. The default is set by the Spilo | ||||||
|  | @ -379,4 +379,4 @@ Those parameters are grouped under the `tls` top-level key. | ||||||
| 
 | 
 | ||||||
| * **caFile** | * **caFile** | ||||||
|   Optional filename to the CA certificate. Useful when the client connects |   Optional filename to the CA certificate. Useful when the client connects | ||||||
|   with `sslmode=verify-ca` or `sslmode=verify-full`. |   with `sslmode=verify-ca` or `sslmode=verify-full`. Default is empty. | ||||||
|  |  | ||||||
|  | @ -285,11 +285,11 @@ configuration they are grouped under the `kubernetes` key. | ||||||
|   capability. The default is `false`. |   capability. The default is `false`. | ||||||
| 
 | 
 | ||||||
| * **master_pod_move_timeout** | * **master_pod_move_timeout** | ||||||
|    The period of time to wait for the success of migration of master pods from |   The period of time to wait for the success of migration of master pods from | ||||||
|    an unschedulable node. The migration includes Patroni switchovers to |   an unschedulable node. The migration includes Patroni switchovers to | ||||||
|    respective replicas on healthy nodes. The situation where master pods still |   respective replicas on healthy nodes. The situation where master pods still | ||||||
|    exist on the old node after this timeout expires has to be fixed manually. |   exist on the old node after this timeout expires has to be fixed manually. | ||||||
|    The default is 20 minutes. |   The default is 20 minutes. | ||||||
| 
 | 
 | ||||||
| * **enable_pod_antiaffinity** | * **enable_pod_antiaffinity** | ||||||
|   toggles [pod anti affinity](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) |   toggles [pod anti affinity](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | ||||||
|  |  | ||||||
|  | @ -30,7 +30,7 @@ spec: | ||||||
|   databases: |   databases: | ||||||
|     foo: zalando |     foo: zalando | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "11" |     version: "12" | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Once you cloned the Postgres Operator [repository](https://github.com/zalando/postgres-operator) | Once you cloned the Postgres Operator [repository](https://github.com/zalando/postgres-operator) | ||||||
|  | @ -515,9 +515,9 @@ executed. | ||||||
| ## Custom TLS certificates | ## Custom TLS certificates | ||||||
| 
 | 
 | ||||||
| By default, the spilo image generates its own TLS certificate during startup. | By default, the spilo image generates its own TLS certificate during startup. | ||||||
| This certificate is not secure since it cannot be verified and thus doesn't | However, this certificate cannot be verified and thus doesn't protect from | ||||||
| protect from active MITM attacks. In this section we show how a Kubernete | active MITM attacks. In this section we show how to specify a custom TLS | ||||||
| Secret resources can be loaded with a custom TLS certificate. | certificate which is mounted in the database pods via a K8s Secret. | ||||||
| 
 | 
 | ||||||
| Before applying these changes, the operator must also be configured with the | Before applying these changes, the operator must also be configured with the | ||||||
| `spilo_fsgroup` set to the GID matching the postgres user group. If the value | `spilo_fsgroup` set to the GID matching the postgres user group. If the value | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ spec: | ||||||
|   databases: |   databases: | ||||||
|     foo: zalando |     foo: zalando | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "11" |     version: "12" | ||||||
|     parameters: # Expert section |     parameters: # Expert section | ||||||
|       shared_buffers: "32MB" |       shared_buffers: "32MB" | ||||||
|       max_connections: "10" |       max_connections: "10" | ||||||
|  |  | ||||||
|  | @ -16,4 +16,4 @@ spec: | ||||||
|   databases: |   databases: | ||||||
|     foo: zalando  # dbname: owner |     foo: zalando  # dbname: owner | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "11" |     version: "12" | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ spec: | ||||||
|     size: 1Gi |     size: 1Gi | ||||||
|   numberOfInstances: 1 |   numberOfInstances: 1 | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "11" |     version: "12" | ||||||
| # Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming. | # Make this a standby cluster and provide the s3 bucket path of source cluster for continuous streaming. | ||||||
|   standby: |   standby: | ||||||
|     s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" |     s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ spec: | ||||||
|       serviceAccountName: postgres-operator-ui |       serviceAccountName: postgres-operator-ui | ||||||
|       containers: |       containers: | ||||||
|         - name: "service" |         - name: "service" | ||||||
|           image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.3.0 |           image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.4.0 | ||||||
|           ports: |           ports: | ||||||
|             - containerPort: 8081 |             - containerPort: 8081 | ||||||
|               protocol: "TCP" |               protocol: "TCP" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue