Skip to content

Commit 458d7a1

Browse files
Fix malformed YAML in the manifest (zalando#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 ```
1 parent 9e291d0 commit 458d7a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/complete-postgres-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
# - name: "telegraf-sidecar"
158158
# image: "telegraf:latest"
159159
# ports:
160-
# name: metrics
160+
# - name: metrics
161161
# containerPort: 8094
162162
# protocol: TCP
163163
# resources:

0 commit comments

Comments
 (0)