Fix malformed YAML in the manifest (#1602)
The ports section should be a list. Without this fix you'll trigger the following error: ``` Warning Create 2m38s postgres-operator json: cannot unmarshal object into Go struct field Sidecar.spec.sidecars.ports of type []v1.ContainerPort ```
This commit is contained in:
parent
9e291d0857
commit
458d7a1144
|
|
@ -157,7 +157,7 @@ spec:
|
|||
# - name: "telegraf-sidecar"
|
||||
# image: "telegraf:latest"
|
||||
# ports:
|
||||
# name: metrics
|
||||
# - name: metrics
|
||||
# containerPort: 8094
|
||||
# protocol: TCP
|
||||
# resources:
|
||||
|
|
|
|||
Loading…
Reference in New Issue