sidecars not sideCars
This commit is contained in:
		
							parent
							
								
									beec6e20e1
								
							
						
					
					
						commit
						6b2a02bf40
					
				|  | @ -21,14 +21,3 @@ spec: | ||||||
|     foo: zalando |     foo: zalando | ||||||
|   postgresql: |   postgresql: | ||||||
|     version: "10" |     version: "10" | ||||||
| 
 |  | ||||||
|   sideCars: |  | ||||||
|     - name: "pghero" |  | ||||||
|       dockerImage: "ankane/pghero" |  | ||||||
|       resources: |  | ||||||
|         requests: |  | ||||||
|           cpu: 10m |  | ||||||
|           memory: 100Mi |  | ||||||
|         limits: |  | ||||||
|           cpu: 300m |  | ||||||
|           memory: 3000Mi |  | ||||||
|  |  | ||||||
|  | @ -133,7 +133,7 @@ type PostgresSpec struct { | ||||||
| 	ClusterName        string               `json:"-"` | 	ClusterName        string               `json:"-"` | ||||||
| 	Databases          map[string]string    `json:"databases,omitempty"` | 	Databases          map[string]string    `json:"databases,omitempty"` | ||||||
| 	Tolerations        []v1.Toleration      `json:"tolerations,omitempty"` | 	Tolerations        []v1.Toleration      `json:"tolerations,omitempty"` | ||||||
| 	Sidecars           []Sidecar            `json:"sideCars,omitempty"` | 	Sidecars           []Sidecar            `json:"sidecars,omitempty"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // PostgresqlList defines a list of PostgreSQL clusters.
 | // PostgresqlList defines a list of PostgreSQL clusters.
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue