yaml lint: add one more space before incline comments
This commit is contained in:
		
							parent
							
								
									883327c201
								
							
						
					
					
						commit
						ed4e3723f0
					
				|  | @ -43,7 +43,7 @@ rules: | ||||||
|   - get |   - get | ||||||
|   - list |   - list | ||||||
|   - patch |   - patch | ||||||
|   - watch # needed if zalando-postgres-operator account is used for pods as well |   - watch  # needed if zalando-postgres-operator account is used for pods as well | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|   resources: |   resources: | ||||||
|  | @ -76,7 +76,7 @@ rules: | ||||||
|   verbs: |   verbs: | ||||||
|   - get |   - get | ||||||
|   - list |   - list | ||||||
|   - update # only for resizing AWS volumes |   - update  # only for resizing AWS volumes | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|   resources: |   resources: | ||||||
|  | @ -145,7 +145,7 @@ rules: | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - batch |   - batch | ||||||
|   resources: |   resources: | ||||||
|   - cronjobs # enables logical backups |   - cronjobs  # enables logical backups | ||||||
|   verbs: |   verbs: | ||||||
|   - create |   - create | ||||||
|   - delete |   - delete | ||||||
|  |  | ||||||
|  | @ -98,7 +98,7 @@ configKubernetes: | ||||||
|   # whether the Spilo container should run in privileged mode |   # whether the Spilo container should run in privileged mode | ||||||
|   spilo_privileged: false |   spilo_privileged: false | ||||||
|   # operator watches for postgres objects in the given namespace |   # operator watches for postgres objects in the given namespace | ||||||
|   watched_namespace: "*" # listen to all namespaces |   watched_namespace: "*"  # listen to all namespaces | ||||||
| 
 | 
 | ||||||
| # configure resource requests for the Postgres pods | # configure resource requests for the Postgres pods | ||||||
| configPostgresPodResources: | configPostgresPodResources: | ||||||
|  |  | ||||||
|  | @ -94,7 +94,7 @@ configKubernetes: | ||||||
|   # whether the Spilo container should run in privileged mode |   # whether the Spilo container should run in privileged mode | ||||||
|   spilo_privileged: "false" |   spilo_privileged: "false" | ||||||
|   # operator watches for postgres objects in the given namespace |   # operator watches for postgres objects in the given namespace | ||||||
|   watched_namespace: "*" # listen to all namespaces |   watched_namespace: "*"  # listen to all namespaces | ||||||
| 
 | 
 | ||||||
| # configure resource requests for the Postgres pods | # configure resource requests for the Postgres pods | ||||||
| configPostgresPodResources: | configPostgresPodResources: | ||||||
|  |  | ||||||
|  | @ -13,13 +13,13 @@ spec: | ||||||
|     size: 1Gi |     size: 1Gi | ||||||
| #   storageClass: my-sc | #   storageClass: my-sc | ||||||
|   numberOfInstances: 2 |   numberOfInstances: 2 | ||||||
|   users: # Application/Robot users |   users:  # Application/Robot users | ||||||
|     zalando: |     zalando: | ||||||
|     - superuser |     - superuser | ||||||
|     - createdb |     - createdb | ||||||
|   enableMasterLoadBalancer: true |   enableMasterLoadBalancer: true | ||||||
|   enableReplicaLoadBalancer: true |   enableReplicaLoadBalancer: true | ||||||
|   allowedSourceRanges: # load balancers' source ranges for both master and replica services |   allowedSourceRanges:  # load balancers' source ranges for both master and replica services | ||||||
|   - 127.0.0.1/32 |   - 127.0.0.1/32 | ||||||
|   databases: |   databases: | ||||||
|     foo: zalando |     foo: zalando | ||||||
|  | @ -66,14 +66,14 @@ spec: | ||||||
| # clone: | # clone: | ||||||
| #   uid: "efd12e58-5786-11e8-b5a7-06148230260c" | #   uid: "efd12e58-5786-11e8-b5a7-06148230260c" | ||||||
| #   cluster: "acid-batman" | #   cluster: "acid-batman" | ||||||
| #   timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6) | #   timestamp: "2017-12-19T12:40:33+01:00"  # timezone required (offset relative to UTC, see RFC 3339 section 5.6) | ||||||
| #   s3_wal_path: "s3://custom/path/to/bucket" | #   s3_wal_path: "s3://custom/path/to/bucket" | ||||||
| 
 | 
 | ||||||
| # run periodic backups with k8s cron jobs | # run periodic backups with k8s cron jobs | ||||||
| # enableLogicalBackup: true | # enableLogicalBackup: true | ||||||
| # logicalBackupSchedule: "30 00 * * *" | # logicalBackupSchedule: "30 00 * * *" | ||||||
|   maintenanceWindows: |   maintenanceWindows: | ||||||
|   - 01:00-06:00 #UTC |   - 01:00-06:00  #UTC | ||||||
|   - Sat:00:00-04:00 |   - Sat:00:00-04:00 | ||||||
| # sidecars: | # sidecars: | ||||||
| #   - name: "telegraf-sidecar" | #   - name: "telegraf-sidecar" | ||||||
|  |  | ||||||
|  | @ -76,5 +76,5 @@ data: | ||||||
|   # teams_api_url: http://fake-teams-api.default.svc.cluster.local |   # teams_api_url: http://fake-teams-api.default.svc.cluster.local | ||||||
|   # toleration: "" |   # toleration: "" | ||||||
|   # wal_s3_bucket: "" |   # wal_s3_bucket: "" | ||||||
|   watched_namespace: "*" # listen to all namespaces |   watched_namespace: "*"  # listen to all namespaces | ||||||
|   workers: "4" |   workers: "4" | ||||||
|  |  | ||||||
|  | @ -9,11 +9,11 @@ spec: | ||||||
|     size: 1Gi |     size: 1Gi | ||||||
|   numberOfInstances: 2 |   numberOfInstances: 2 | ||||||
|   users: |   users: | ||||||
|     zalando: # database owner |     zalando:  # database owner | ||||||
|     - superuser |     - superuser | ||||||
|     - createdb |     - createdb | ||||||
|     foo_user: [] # role for application foo |     foo_user: []  # role for application foo | ||||||
|   databases: |   databases: | ||||||
|     foo: zalando # dbname: owner |     foo: zalando  # dbname: owner | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "10" |     version: "10" | ||||||
|  |  | ||||||
|  | @ -44,7 +44,7 @@ rules: | ||||||
|   - get |   - get | ||||||
|   - list |   - list | ||||||
|   - patch |   - patch | ||||||
|   - watch # needed if zalando-postgres-operator account is used for pods as well |   - watch  # needed if zalando-postgres-operator account is used for pods as well | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|   resources: |   resources: | ||||||
|  | @ -77,7 +77,7 @@ rules: | ||||||
|   verbs: |   verbs: | ||||||
|   - get |   - get | ||||||
|   - list |   - list | ||||||
|   - update # only for resizing AWS volumes |   - update  # only for resizing AWS volumes | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|   resources: |   resources: | ||||||
|  | @ -146,7 +146,7 @@ rules: | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - batch |   - batch | ||||||
|   resources: |   resources: | ||||||
|   - cronjobs # enables logical backups |   - cronjobs  # enables logical backups | ||||||
|   verbs: |   verbs: | ||||||
|   - create |   - create | ||||||
|   - delete |   - delete | ||||||
|  |  | ||||||
|  | @ -1,4 +1,3 @@ | ||||||
| 
 |  | ||||||
| apiVersion: "acid.zalan.do/v1" | apiVersion: "acid.zalan.do/v1" | ||||||
| kind: postgresql | kind: postgresql | ||||||
| metadata: | metadata: | ||||||
|  | @ -16,5 +15,5 @@ spec: | ||||||
|     s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" |     s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" | ||||||
| 
 | 
 | ||||||
|   maintenanceWindows: |   maintenanceWindows: | ||||||
|   - 01:00-06:00 #UTC |   - 01:00-06:00  #UTC | ||||||
|   - Sat:00:00-04:00 |   - Sat:00:00-04:00 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue