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:
Michael McMillan
2021-09-13 18:42:08 +02:00
committed by GitHub
parent 9e291d0857
commit 458d7a1144
+1 -1
View File
@@ -157,7 +157,7 @@ spec:
# - name: "telegraf-sidecar"
# image: "telegraf:latest"
# ports:
# name: metrics
# - name: metrics
# containerPort: 8094
# protocol: TCP
# resources: