From 458d7a11441fac68fd9d112e0e2ffeb9c795f9bc Mon Sep 17 00:00:00 2001 From: Michael McMillan Date: Mon, 13 Sep 2021 18:42:08 +0200 Subject: [PATCH] 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 ``` --- manifests/complete-postgres-manifest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/complete-postgres-manifest.yaml b/manifests/complete-postgres-manifest.yaml index f7f8bd2e0..1d938ca63 100644 --- a/manifests/complete-postgres-manifest.yaml +++ b/manifests/complete-postgres-manifest.yaml @@ -157,7 +157,7 @@ spec: # - name: "telegraf-sidecar" # image: "telegraf:latest" # ports: -# name: metrics +# - name: metrics # containerPort: 8094 # protocol: TCP # resources: